Screen from xcode "Devices And Simulators"
After update XCode from 14.3 to 15.0 i have this mistake that i cannot disable "Connect Via Network" in physical device.
Also device connect via cabel
How can I disable "Connect Via Network" from device if this checkbox has gray color..
XCode 15.0 version, Device iPhone 11 iOS 17.0 version
UPD:
Post on Apple Developer https://developer.apple.com/forums/thread/737875?login=true
UPD:
UPD 26.08.2024:
Apple answered:
The following feedback was submitted against an older version of Xcode. We have made numerous improvements to Xcode since then, and this issue was likely resolved in the latest software release. Please verify this issue with Xcode 16 Beta 2 and update your bug report with your results by logging into https://feedbackassistant.apple.com/ or by using the Feedback Assistant app.
Xcode 16 Beta 2 (16A5171r) https://developer.apple.com/download/ Posted Date: June 25, 2024
-
3Same problem. And it seems the feature is significantly slowing debugging.Alex Sh.– Alex Sh.2023年09月21日 16:21:35 +00:00Commented Sep 21, 2023 at 16:21
-
@AlexSh. Yes, it takes a critical time while the app is launching....Fedy_– Fedy_2023年09月22日 05:39:46 +00:00Commented Sep 22, 2023 at 5:39
-
Maybe the problems are related to an outdated device, @AlexSh. , what kind of device do you have?Fedy_– Fedy_2023年09月22日 05:47:47 +00:00Commented Sep 22, 2023 at 5:47
-
And apple released ios 17.0.1 😁Fedy_– Fedy_2023年09月22日 05:57:41 +00:00Commented Sep 22, 2023 at 5:57
-
1no, I have 12 Pro and M2 macbook so it's definitely not the outdated device problem :-) And on 14.3 xcode version everything was fine. Also I faced the slowed down debugging previously while using 'connect via network' option, so I think this is the reason. I mean it takes too long time to 'jump' from one breakpoint to another.Alex Sh.– Alex Sh.2023年09月22日 08:13:07 +00:00Commented Sep 22, 2023 at 8:13
3 Answers 3
Same problem; it seems to be a bug in iOS or Xcode.
Running Xcode 15.0 (15A240d) from Mac AppStore, and it looks like it only happens to devices running 17.0.0 and 17.0.1. Devices running 16.7 can still use wire to debug, and the "Connect via network" checkbox is functional.
I filed a bug report here https://feedbackassistant.apple.com/form-response/31792610 I hope those who facing the same issue can file a report as well to encourage Apple to fix it ASAP.
Update Oct 17,2023: while it has not been fixed by Apple, the workaround in the developer forum worked for me: https://developer.apple.com/forums/thread/737875?answerId=768846022#768846022
- Plug in your device without Xcode running
- Launch Xcode
Update Dec 19, 2023: this is still an issue with iOS 17.2.1 and Xcode 15.2; a better workaround is posted in the developer forum: https://developer.apple.com/forums/thread/737875?answerId=773300022#773300022
- Disconnect Wi-Fi
- Launch Xcode and run debug
- Re-enable Wi-Fi
- Run debug again
If you can disable the VPN on your macOS, make sure you do so; the VPN connection seems to create a lot of problems
5 Comments
Temporary solution.
Try this:
- Turn on Airplane Mode on device
- Run your app from Xcode.
- Turn off Airplane Mode on device.
Source: Xcode 15, how to uncheck "Connect via network" for physical device? - https://developer.apple.com/forums/thread/737875?answerId=773300022#773300022
Comments
Get an Application Firewall such as LuLu and disable all connections for Xcode.
Edit: this stopped working for me at some point. I hope Apple fixes this.
4 Comments
Explore related questions
See similar questions with these tags.