Waiting to reconnect to [DEVICE NAME]

Hi, the 'Waiting to reconnect to [DEVICE NAME]' error is repeatedly occurring.

Previous preparation error: Developer Mode disabled. To use[DEVICE NAME] for development, enable Developer Mode in Settings → Privacy & Security.

Of course, the developer mode is already turned on and I've used the connection between my devices via XCode until yesterday. But it suddenly happened.

I have several devices(iOS/iPadOS) so I've tried them all, but they are all having the same situations.

What I've tried:

  • Re-install XCode
  • Rebooting mac and iPhone
  • Safe boot my mac
  • Disable and enable developer mode

I have the same issue.

My iphone mode is 14 Pro max and version is 18.0 , Xcode version is 16.0 beta

("

" "title=Screenshot 2024-07-22 at 16.45.58.png;width=1792;height=112") linkText](https://www.example.com/)

My iphone mode is 14 Pro max and version is 18.0 , Xcode version is 16.0 beta

Same here. Macbook Air M1, iPhone 11 Pro (iOS 18 beta 3 rerelease), Xcode 16 beta 3

Same error when trying to connect to iPhone 14 on iOS 17.5 under a different AppleID

I'd like you to go through this list of items to check to see if any of them turn something up at a macro-environment level. I've run into all of these as sources of failure at various points in time.

Check the Hardware Connections

Verify every link in the device connection chain. For a device plugged directly into a Mac with a USB cable, that means verifying the Mac, the cable, and the device independently from each other. If there's any other links in the USB chain to the Mac through a hub or dock, it also means removing those. Sometimes cables fail, I've seen it happen many times, so always use a cable that is in good condition. Further, make sure to test using a cable from Apple so that you know you're using a cable that correctly implements the hardware specifications. And on the device end of things, I've seen where just enough pocket lint got into the port and prevented a solid physical connection too.

Verify The Mac Environment

As part of ruling out the Mac component in the connection to the device, it can be helpful to verify with a clean test Mac environment. Ideally, this Mac is only minimally configured compared to your real environment, to rule out things like VPN and security software interfering, or restrictions enabled by a managed enterprise environment on either the Mac or the device.

Verify Your Account Environment

If everything's working well in a clean Mac test environment, then that points to something in the your normal macOS account interfering with the device connection. As I already mentioned, VPN and security software are often the cause here, so make sure to disable those and see if it makes a difference. If it is something like that, make sure to consult with the vendor, or your IT department, to get that software updated according to the advice in our Technote.

Everything Checks Out, Now What?

If you've ruled out all of these things, but you still have trouble connecting your device to Xcode, then its time to open a bug report. A crucial part of reporting this type of bug is to include sysdiagnose logs from both Xcode and from iOS. If it comes to this, make sure to post the FB number here for reference.

— Ed Ford,  DTS Engineer

The bug is still here, verified on iOS 18 beta 5 (iPhone 12 Pro) and Xcode 16.0 beta 5. Cannot even turn on the developer mode via Xcode. Even if I turned on using other third-party software, the Xcode still cannot connect to my iPhone.

Can you please detail the steps you took from my instructions?

— Ed Ford,  DTS Engineer

To solve this issue:

  1. Unplug your iPhone from a cable
  2. Phone Settings > Developer > Clear Trusted Computers
  3. Reload iPhone
  4. Clean Build Folder in Xcode (⬆️ + ⌘ + K)
  5. Reload Xcode

Now connect your phone, accept the "Trust this computer" dialog and restart a build.

Waiting to reconnect to [DEVICE NAME]
 
 
Q