iPhone is not available. Please reconnect the device. / iOS 14.2 - Xcode 12.1

南笙酒味 提交于 2020-11-24 15:40:57

问题


I just updated my iPhone to iOS 14.2.

When I want to launch an app on the device from Xcode, I now keep seing 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.

Obviously 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.


回答1:


  • Go to this 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 visually solution check out this answer: https://stackoverflow.com/a/64854525/14531220


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





回答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.




回答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/



来源:https://stackoverflow.com/questions/64736953/iphone-is-not-available-please-reconnect-the-device-ios-14-2-xcode-12-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!