![](/img/trans.png)
[英]Why iPhone is not available. Please reconnect the device error showing? Xcode 12.2 iOS 14.4
[英]iPhone is not available. Please reconnect the device. / iOS 14.2 - Xcode 12.1
轉到我的 Github repo iOS 14.2 Device Support File並直接下載 14.2.zip 文件,然后解壓
只需按路徑復制並粘貼解壓縮的文件夾:
Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
重新啟動Xcode
就這樣。 您可以構建並繼續您的項目。
如果您需要可視化解決方案,請查看此答案: https : //stackoverflow.com/a/64854525
為什么我們做了這些步驟? :因為 Xcode 12.1 不包括對 14.2 的支持,所以我們為 14.2 實現了它的設備支持文件。
https://developer.apple.com/documentation/xcode-release-notes/xcode-12_1-release-notes
更新:支持 iOS 14.2 的 Xcode 12.2 現已在 AppStore 上架。 如果您在較新版本的 iOS 和 Xcode 上發現此問題,答案仍然相同,您可以(可能)從 Apple Developer 網站下載下一個 Xcode 版本的 beta,您可以等待 AppStore 版本更新,或者您可以(可能)找到新 iOS 版本的符號並將它們復制到您當前的 Xcode 安裝中。
原答案。 適用於 Xcode 12.1 和 iOS 14.2
AppStore 中最新版本的 Xcode 不支持 14.2。 您可以從支持 14.2 的 Apple Developer 網站下載下一版本的測試版,或者等待 AppStore 版本更新。
根據 Apple 的官方帖子,運行 iOS 14.2 的設備僅在 Xcode 12.2 RC 中受支持。 (來源: https : //developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-14_2-release-notes )
您可以通過以下方式下載 Xcode 的測試版: https : //developer.apple.com/download/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.