IOS 17+ devices not connecting to Xcode 15.3/Xcode 15.4 Beta

Hi everyone,

I'm encountering an issue with my iOS device not connecting to Xcode after updating to iOS 17.4. Even after trying various troubleshooting steps, including downloading Xcode 15.4 Beta, the problem persists.

Troubleshooting Steps Taken:

  • Restarted my Mac.
  • Untrusted and re-trusted the iOS device.
  • Restarted the iOS device.
  • Ran the command defaults write com.apple.dt.Xcode DVTEnableCoreDevice enabled in Terminal and restarted Xcode.

Additional Information:

  • I've checked for any available updates for both Xcode and my iOS device, but none are available.
  • There haven't been any recent changes or updates to my development environment prior to encountering this issue.
  • My iOS device version is 17.4, and my MacOS version is Sonoma 14.4.1.

Error Messages: There are no specific error messages displayed. The devices simply do not recognize each other when attempting to connect via Xcode.

I would greatly appreciate any assistance or suggestions on how to resolve this issue. Thank you in advance for your help!

Replies

Are you using a company mac that includes a firewall or you are using a vpn?

Starting with iOS 17 Apple switched over to only using a network connection for communicating with the phone. This can be over wifi or a usb cable.