My iPhone 15 Pro annoyed me by always connecting to Xcode automatically. This worked for me in getting of this device from the automatic perspective of Xcode:
Be sure the device is not connected with a USB cable. In the Devices and Simulators window, you should have some kind of a round "network" icon to the right of the device's name.
Right-click on the device and choose Unpair Device from the menu.
At least in my case, the iPhone 15 Pro disappeared from the Xcode sidebar and didn't appear again upon restarting Xcode.
When I actually wanted to connect this device to work with it, I connected it with a USB-C cable and Xcode worked perfectly with it.
Your mileage may vary.
Post
Replies
Boosts
Views
Activity
The issue is:
I don't want to allow Xcode to connect automatically to a nearby iPhone via the network, unless I have explicitly authorized Xcode to do so.
If I have not checked Connect via Network then Xcode should not grab the iPhone via the network
If I have checked Connect via Network then Xcode is welcome to grab the iPhone via the network
I want to be able to decide.
Why should Xcode decide for me?
Why is that Connect via Network checkbox always enabled and why is it impossible for the user to disable it?
With all due respect: "the new device stack" may be relevant from Apple's perspective but (again, with all due respect) "the new device stack" is totally irrelevant from the user's perspective.
I would like to be able to say "yes" or "no" to Connect via Network.
Obviously, there's tremendous annoyance and frustration from the user's perspective.
What part of this simple request (from the user's perspective) is not clear?
Thanks for your consideration of the user's perspective.