xcode 不支持运行 ios 12.1 的 iPhone 5s
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/53215409/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
iPhone 5s running ios 12.1 not supported in xcode
提问by RJB
After updating my iPhone 5 to ios 12.1, I get this error in xcode:
将我的 iPhone 5 更新到 ios 12.1 后,我在 xcode 中收到此错误:
Could not locate device support files. This iPhone 5s (Model A1457, A1518, A1528, A1530) is running iOS 12.1 (16B92), which may not be supported by this version of Xcode.
找不到设备支持文件。这款 iPhone 5s(型号 A1457、A1518、A1528、A1530)运行的是 iOS 12.1 (16B92),此版本的 Xcode 可能不支持。
What can I do about this?
我该怎么办?
回答by Daniel Espina
Update Xcode to the latest version on the app store. Had this issue as well.
在应用商店将 Xcode 更新到最新版本。也有这个问题。
回答by UsamaAmjad
Quicker/Smaller Fix
更快/更小修复
If you don't want a big Xcode
update due to limited storage/time then you can manually download the required support files instead of the whole update.
如果Xcode
由于存储/时间有限而不想进行大更新,则可以手动下载所需的支持文件而不是整个更新。
I was on Xcode 9.4
so I downloaded the files from hereand pasted in /Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
我在 Xcode 上,9.4
所以我从这里下载了文件并粘贴到/Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
回答by Nik Kov
Give a try with https://github.com/NikKovIos/XcodeDeviceSupportFiles/tree/master/12.1%20(16B91)
试试https://github.com/NikKovIos/XcodeDeviceSupportFiles/tree/master/12.1%20(16B91)
Check the readme of the repo to find how to install it.
检查 repo 的自述文件以了解如何安装它。
回答by Mehul
Download latest supported device support file and add it manually in
下载最新支持的设备支持文件并手动添加
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
https://github.com/xushuduo/Xcode-iOS-Developer-Disk-Image/releases
https://github.com/xushuduo/Xcode-iOS-Developer-Disk-Image/releases
Enjoy
享受