Search code examples
iphonexcodeios16

Xcode does not show my iPhone as a destination


When try to run my app on my iPhone with iOS 16, Xcode does not show the phone as an option even though it is connected by USB. This used to work.

I have tried rebooting Xcode, my phone and my MacBook but nothing changes.


Solution

  • As of iOS 16, you need to manually and explicitly enable Developer mode in Settings on your iPhone before you can use it for debugging with Xcode.

    Go to Settings -> Privacy and Security -> Developer Mode

    For iOS 16 devices you must also have the following on your Mac:

    • Xcode 14+
    • macOS Monterey 12.6+

    enter image description here

    enter image description here

    enter image description here