Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

enter image description here

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.

like image 655
Michel Avatar asked Nov 08 '20 10:11

Michel


People also ask

What does it mean when iPhone says iPhone not available?

If you see the message “iPhone Unavailable” it means that you have entered an incorrect passcode too many times and your iPhone is now locked. This is a security measure to protect your data, and if you enter the wrong passcode seven times in a row, you will be locked out for at least five minutes.

How do I reconnect my device?

Make sure Bluetooth is turned on. Touch and hold Bluetooth . In the list of paired devices, tap a paired but unconnected device. When your phone and the Bluetooth device are connected, the device shows as "Connected."

How do I connect my iPhone to my Mac for development?

You may connect a real device to your Mac using a cable, or for iOS or tvOS apps, connect it over Wi-Fi after you pair it with Xcode. For macOS apps, choose a scheme, then click the Run button in the toolbar.


2 Answers

  • 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


like image 153
zeytin Avatar answered Oct 03 '22 06:10

zeytin


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.

like image 28
EmilioPelaez Avatar answered Oct 03 '22 06:10

EmilioPelaez