Ker*_*ros 70
iOS 12仅受Xcode 10或更高版本的测试版支持.
如果您想使用带有Xcode 9.4的iOS版本(不推荐)的iPhone 8,您可以尝试下载Xcode 10的最后一个测试版,并在将iPhone连接到Mac后转到此文件夹:
/Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
您可以看到iPhone的iOS版本文件夹,将其复制并传递到Xcode 9.4文件夹中的相同位置.
在此之后,您应该能够部署到iPhone 8.
Yat*_*tko 48
正如@Kerberos所述,您可以将iOS 12设备支持文件复制到:
/Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
https://github.com/Yatko/iOS-device-support-files
小智 11
Yatko提供的链接不支持最新的iOS 12版本(公开发布).
此存储库提供更多iOS版本:https://github.com/iGhibli/iOS-DeviceSupport
将文件复制到Kerberos所描述的相同路径.
Sou*_*dra 11
无需下载Xcode 10即可实现此目的的另一种便捷方式.
https://github.com/sauravexodus/xcode-9-ios-12-support
注意:如果您有多个Xcode版本,请注意install.sh文件中写入的路径.