Can't deploy to iPhone (not available, please reconnect the device)

Xcode: 11.4.1

Device: iPhone 6s Plus
iOS: 13.5

Error: "<DeviceName> is not available. Please reconnect the device."

I'm trying to deploy a simple HelloWorld app to my iPhone 6s Plus running iOS 13.5 from Xcode 11.4.1 but I keep getting the popup saying "<DeviceName> is not available. Please reconnect the device." Xcode recognizes that the device is connected and the phone shows that its charging so I don't think it's a cable issue. Furthermore, I was able to deploy to this device two days ago when it was still running iOS 13.2. The issue started happening after I updated to 13.5. I'm not sure if the update is causing the issue but it seems that way. What can I do to get past this deployment issue?

My solution was change the project. Build a project ( show error ), close de window, select another project and build.

Then back to my first project and build again.
Update to Xcode 11.7 and iOS 13.7 helps
Same issue exists in my setup
iOS 13.6.1 iPhone 6s Plus
XCode 11.7
macOS 10.15.6 (19G2021)

This issue just started to happen today.

"The current device configuration is unsupported. This iPhone 6s Plus is running iOS 13.6.1 (17G80), which is not supported by Xcode 11.7."

Do we have to upgrade to the beta softwares?


Like mgaosnwl, I am having the same issue with the same setup (except with an iPad instead of an iPhone), and it started today.
Simply upgrade to the last Xcode version and the last iPhone version for each iPhone
Just verified, the same issue, it seems that you need to update your device from 13.6.1 to 13.7, feel like 13.6.1 is just a defective version.

I was trying to deploy the app from Xcode 11.7 to a few devices that are running iOS 11.6.1. Then I got this error

Error: "<DeviceName> is not available. Please reconnect the device."

I tried the method suggested by @JiminyKirket by setting my deployment target to 13.0, 13.6 but there is no luck for me

Then I upgraded all my devices to iOS 11.7 and the problem is resolved.

I have no idea what happened, but it's quite suspicious that Xcode 11.6 and Xcode 11.7 are released only 4 days apart from each other.
Updated to Xcode 11.7 and iOS 13.7... and had to clean build folder and reboot all devices
[SOLVED]. This is what worked for me. I have IOS 14.2 beta and Xcode 12.2 beta, so the versions are supposed to match but I still had the problem. I unpaired the iPhone (from Window - Devices and Simulators), restarted Xcode. This did not resolve the problem. Then I went back to Window - Devices and Simulators, and then checked "Connect via network", disconnected lightning cable and built the app. That worked.

So the solution for me was to build to iPhone via network and not using USB connection.
Had the same error today: "<DeviceName> is not available. Please reconnect the device."'

Running XCode 12.0 (12A7209) with an 11 Pro (iOS 14.0 (18A373)). Tried everything: Cleaned Xcode, unpaired/repaired the device, restarted machine, etc. I even switched out the USB cable.

Finally I restarted my iPhone and that fixed the problem. 😳
I ran into this issue with Xcode 12.0 (12A7209) and iOS 14.0.1. When I tried to unpair my device, XCode would crash. I ended up having to reset my iPhone to factory default. This seemed to force the unpairing and when I paired the device again, I was able to deploy.
Same issue on iOS 14.0-Release, XCode 12.0-Release, upgrading to iOS 14.0.1-Release and XCode 12.0.1-Release fixed it.
I'm having this issue today. iPhone 7 32 GB, iOS 14.0.1, Xcode 12.0.1, macOS Catalina 10.15.7. Simulators work fine, but when I try to run on my device, Xcode invariably tells me it cannot connect to my device, and to reconnect it.

Devices and Simulators tells me to be "certain that Xcode supports development on this device." I am certain, because it worked fine under iOS 14. It wasn't until I updated to iOS 14.0.1 that things started to break.
I seem to have found a solution, but it isn't ideal. Unfortunately, Running Settings > General > Reset All Settings did the trick. I had to go back through all of my settings again, but at least Xcode is happy with my device again.

Maybe this was worth it for the sake of an annual rehash of my phone's settings 😅
I had the exact same problem a few days ago, running on iOS 14.0.1 and Xcode 12.0. Problem was resolved by updating to the current Xcode version 12.0.1, unfortunately only for 2 days until now. Got the same problem again, even after restarting my Mac.

On of the following finally helped: (not sure which, for me it worked in this order)
  • Restarting Iphone

  • Deleting previous install of the app

  • Connect Iphone to Mac after Xcode and your project is loaded

  • Just disconnect after first fail and retry

Ran into this (failed to prepare device for development) today with 14.0.1 and Xcode 12, 12.2, etc. This worked for me (other troubleshooting steps didn't).

1) Disconnect phone from Mac.
(I have the Devices window in Xcode open)
2) Restart the phone
3) After restart, connect to the Mac
4) I saw Xcode's Device window switch to "Preparing device for development"

Now all is good.

Can't deploy to iPhone (not available, please reconnect the device)
 
 
Q