我最近将我的iPhone设备中的iOS升级到12.2,这似乎与Xcode 10.1不兼容。我应该将Xcode更新到10.2吗?
在我使用High Sierra的Mac中,当我点击Xcode的“更新”时,10.2不可用。
我找到了这个链接:https://support.apple.com/en-us/HT209606
评论:“Xcode 10.2发布于2019年3月25日内核适用于:macOS High Sierra 10.13.6或更高版本”
如何在High Sierra中安装Xcode 10.2以测试iOS 12.2?
注意:升级到Mojave不是我旧Mac中的选项。
是的,这是可能的。跟着这些步骤:
您无需为iOS 12.2支持运行Xcode 10.2。您只需要访问DeviceSupport中的相应文件夹即可。
可能的解决方案是
/Applications
。在同一目录中可以有多个Xcode版本。ln -s /Applications/Xcode102.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.2\ \(16E226\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
您可以将Xcode 10.2移动到其他位置,但之后您必须调整路径。
现在Xcode 10.1支持运行iOS 12.2的设备
从下面链接https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_10.2/Xcode_10.2.xip下载xcode 10.2
编辑:Info.plist中以下路径的最低系统版本*到10.13.6
Xcode.app/Contents/Info.plist
Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/Info.plist
替换:来自Xcode 10的Xcode.app/Contents/Developer/usr/bin/xcodebuild
****要么*****
您可以在现有的xcode中安装12.2的磁盘映像以在12.2设备上运行从这里下载磁盘映像https://github.com/xushuduo/Xcode-iOS-Developer-Disk-Image/releases/download/12.2/12.2.16E5191d.zip
并粘贴在Path:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
注意:重新启动Xcode
根据下面的回复和评论,以下是我的问题的解决方案和这个工作:
以上都没有对我有帮助。
我可以在这里使用这个链接安装Mojave:http://dosdude1.com/mojave/这个补丁工作得很漂亮而没有任何障碍