iPhone is not available. Please reconnect the device. / iOS 14.2 - Xcode 12.1
I just updated my iPhone to iOS 14.2.
When I want to launch an app on the device from Xcode, I now keep seeing this:
I also just updated Xcode to Version 12.1, hoping it would solve the problem, but it doesn't make any difference, I keep getting the same message.
I tried disconnecting and reconnecting the device, but to no avail.
I also removed all the data under ~/Library/Developer/Xcode/DerivedData/, but again with no effect.
It seems like some other people have had this issue before, but I didn't find any working solution for me.
I hope someone with a recent similar experience can point me in the right direction for a proper way to solve this problem.
Solution 1:
-
Go to my Github repo iOS 14.2 Device Support File and download 14.2.zip file directly and after unzip it
-
And just copy and paste unzipped folder by path:
Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
-
Restart the Xcode
That's all. You can build and go on your project.
If you need a visual solution, check out this answer: https://stackoverflow.com/a/64854525
Why we have done these steps?: Because Xcode 12.1 doesn’t include support for 14.2 so we implemented its device support files for 14.2.
https://developer.apple.com/documentation/xcode-release-notes/xcode-12_1-release-notes
Solution 2:
Update: Xcode 12.2, with support for iOS 14.2, is now available on the AppStore. If you find this problem with a newer version of iOS and Xcode, the answer is still the same, you can (probably) download the beta for the next Xcode version from the Apple Developer website, you can wait for the AppStore version to be updated, or you can (probably) find the symbols for the new iOS version and copy them to your current Xcode installation.
Original answer. Applies to Xcode 12.1 and iOS 14.2
The latest version of Xcode in the AppStore doesn’t include support for 14.2. You can download a beta of the next version from the Apple Developer website that supports 14.2, or wait for the AppStore version to be updated.
Solution 3:
Per the official post from Apple, devices running iOS 14.2 are only supported in Xcode 12.2 RC. (source: https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-14_2-release-notes)
You can download beta versions of Xcode via: https://developer.apple.com/download/