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?

Your iOS beta (not an update) requires the latest Xcode beta.


Downloads

I don't think it's quite as simple as that. For example, my iPad Pro is running iOS 13.6 and just installed the XCode Beta 11.6, which according to the release notes supports iPadOS 13.6. Yet, I'm still getting this pop-up and can't push code to my iPad Pro because of it. An actual error message would be nice if someone knows how to dig a bit deeper.
I don't know for sure if it will help your case.

But I was getting the same error because I still had Xcode 11.6 selected.

So I went to Xcode>Preferences and under Locations I selected Xcode 12 at the Command Line Tools option.
After that I could launch the app without any issue.

Hope this helps somebody.
I'm getting the same error . I was initailly getting that I exceeded number of free devices. I updated my iPhone to latest update 13.6. That eliminated that error. How ever I'm now running into this other issue "Iphone 8 is not available, please reconnect the device"
I'm having the same problem iPhone X, iOS 13.6, Xcode 11.5. Does anyone have a solution yet?
Same error, an iPhone 7, iOS 13.6, Xcode 11.5
Same here iOS 13.6 and Xcode 11.6 ,
I was having this error as well. Xcode 11.6, iOS 13.6. iPhone 11.

I was about to do some dramatic reinstalls and if that didn't work maybe throw my computer out the window.

But then for some reason I thought to change the iOS Deployment Target from 13.0 to 13.6, and the error was fixed. Even after changing the iOS Deployment Target back to 13.0 it still worked.
Same error, iOS 14.0, Xcode 12.0-beta.
I changed iOS Deployment Target to 14.0, and I selected Xcode 12 at the Command Line Tools option, but none of them help!!!
Finally, I solved this issue by unpairing my iPhone and then restarting my iPhone and Mac.
Make sure to change Deployment Target and selected your Xcode version at the Command Line Tools option before restarting your iPhone and Mac.
I hope this can help you!
In Settings.app/Developer click clear trusted computers. when you plug in again click trust and enter your passcode.
@Sanam, could you elaborate "Make sure to change Deployment Target and selected your Xcode version at the Command Line Tools option" please. Thanks!
[SOLVED] After trying everything, updated Xcode to latest Version 11.6 (11E708) and that did NOT solve the problem however, following that, updating the iPhone to latest iOS 13.6.1 did solve the issue. I am aware this might not be the right solution but it worked at least.
If you go to Window > Devices, it'll tell you a more detailed error message under your device. For me it was:

"To run on this device, please update to a version of Xcode that supports iOS 13.6.1. You can download Xcode from the Mac App Store or the Apple Developer website."

I started getting this problem once my iPhone updated to 13.6.1 overnight, and apparently my Xcode version (11.4) is too old to run with 13.6.1.
12
Same issue here. iOS development comes with a lot more hurdles than Android from my experience...
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.
Can't deploy to iPhone (not available, please reconnect the device)
 
 
Q