Xcode 16.2 not seeing iOS 18 devices

Ever since I updated to Xcode 16.2, no device running iOS 18 shows up in Xcode. I can see the devices in Finder and Apple Configurator, but not in Xcode. When I run xcrun devicectl list devices, I also do not see the devices, so I assume the issue is in CoreDevice somewhere.

I've tried many things I've seen suggested in similar threads (toggling developer mode, reinstalling Xcode, using a different physical cable, etc) and so far nothing has helped. This same behavior is also happening for my entire development team, which has been as difficult as you might imagine.

Any info on how to resolve this would be much appreciated.

Answered by BeatsByJ in 827464022

This started working last week, for me and my entire team. We did not change:

  • Xcode version
  • MacOS version
  • iOS version on the impacted devices (some of them have taken 18.3.1, but I was able to build to a 18.1.1 device that had stopped working as well)

I see other threads like this where builds arbitrarily started working after a time; hopefully the ticket or some of the other information has given Apple enough to investigate this more. That was a very painful several weeks...

Same here. Happened when I updated from xcode 16 beta to 16.2. Physical devices running 18 fail to appear in the device list no matter what I try.

Thank you for the post. Let us explore the possibility of an issue with CoreDevice. Are you getting an error from Xcode saying Developer Mode is off? Do you see any device when running xcrun devicectl list devices

Could we attempt some troubleshooting steps?

Troubleshooting Steps

  1. Verify Xcode Signing & Capabilities:
  • Go into Signing & Capabilities for your app in Xcode.
  • Remove your Apple ID, then add it back again.
  • Click the Download Manual Profiles button.
  • Remove the app from your iPhone and restart it.
  1. Check Connection (Wi-Fi or Cable):
  • Try using a cable to connect your iPhone to your Mac instead of Wi-Fi.
  • Disable Wi-Fi on your iPhone.
  • Open Terminal and run the following commands to ensure connection:
xcrun devicectl list devices
xcrun devicectl device info details --device <identifier>

Replace <identifier> with the unique identifier of your iPhone.

  • Once connected via wire, you can enable Wi-Fi back on your phone.
  1. Ensure Developer Mode is Enabled:
  • Make sure that your device has Developer Mode enabled. Please refer to the official Apple documentation for guidance: Enabling Developer Mode on a Device
  • If you encounter any issues enabling Developer Mode, please let me know.
  1. Attach and Run the App:
  • Attach the device to your Mac.
  • Select it as the run destination in Xcode.
  • Choose Product > Run to initiate the app installation and debugging process.

Let us know the results.

Albert Pascual
  Worldwide Developer Relations.

Thanks Albert. None of those resolved. When I run xcrun devicectl list devices, I don't see my phone, even when connected by cable and Wi-Fi turned off. I do see it in Finder, and I can also install builds manually using Apple Configurator.

I have 16.2 and initially had this issue. When I installed the new version it installed a default Simulator for me, which turned out to be SE 3rd Generation 18.2. Well I later found out it's SE 2nd Generation 18.2. So I deleted that one and installed the 2nd Generation.

Then I noticed there was no Developer Mode in 18.2. When I started a build in Xcode it then started exporting this shared key(s) between the devices and then it asked me "Do you really want to allow Developer Mode?" I said yes and then I saw it on Settings. I had to enable it.

Then after that I was good to go. So make sure you have the simulator installed for your exact device.

And at this point it will show up in xcrun devicectl list devices.

So the steps were:

  • Install the simulator matching your hardware
  • Run build on simulator
  • Plug in phone
  • Accept prompt

? I tried that, no luck. I am running 18.2.1 at this point, so there is a mismatch, but I also have developer mode visible and enabled in settings already. Still don't see the device in Terminal, or Xcode, but it is still in Finder when plugged in.

@BeatsByJ ,

If you are still having issues, please enable logging on your device, connect your device to your machine, then gather a diagnostic tarball by running the following command in Terminal:

xcrun devicectl diagnose

To enable logging, download the CoreDevice profile appropriate for your device.

Once you have a diagnostic tarball, file a Feedback report with it using Feedback Assistant, then post the Feedback number here.

Accepted Answer

This started working last week, for me and my entire team. We did not change:

  • Xcode version
  • MacOS version
  • iOS version on the impacted devices (some of them have taken 18.3.1, but I was able to build to a 18.1.1 device that had stopped working as well)

I see other threads like this where builds arbitrarily started working after a time; hopefully the ticket or some of the other information has given Apple enough to investigate this more. That was a very painful several weeks...

Xcode 16.2 not seeing iOS 18 devices
 
 
Q