iPhone 5s 运行 ios xcode 不支持 12.1

iPhone 5s running ios 12.1 not supported in xcode

将我的 iPhone 5 更新为 ios 12.1 后,我在 xcode 中收到此错误:

无法找到设备支持文件。 这个iPhone5s(型号A1457、A1518、A1528、A1530)是运行iOS12.1(16B92),Xcode这个版本可能不支持。

我该怎么办?

将Xcode更新到应用商店中的最新版本。也有这个问题。

试试 https://github.com/NikKovIos/XcodeDeviceSupportFiles/tree/master/12.1%20(16B91)

查看存储库的自述文件以了解安装方法。

Quicker/Smaller修复

如果由于 storage/time 有限而不想进行大型 Xcode 更新,那么您可以手动下载所需的支持文件而不是整个更新。

我在 Xcode 9.4 所以我从 here 下载文件并粘贴到 /Applications/Xcode/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

享受