简体   繁体   English

Xcode 11 GM中缺少iOS 12.4

[英]iOS 12.4 is missing in Xcode 11 GM

I have installed Xcode 11 GM and can't find iOS 12.4.1 simulator anymore. 我已经安装了Xcode 11 GM,现在找不到iOS 12.4.1模拟器。 iOS 12.4.1 was installed in Xcode 10.3, but it is not available in Xcode 11 for some reason (not only iOS 12.4 - other simulators are also missing). Xcode 10.3中安装了iOS 12.4.1,但是由于某些原因,它在Xcode 11中不可用(不仅是iOS 12.4-其他模拟器也丢失了)。 Moreover, I can't download it via "Add Additional Simulators..." - the latest one available is 12.2. 而且,我无法通过“添加其他模拟器...”下载它-最新的可用版本是12.2。 Any ideas why so and how to fix? 任何想法为什么这样以及如何解决? 🤔 Thanks! 🤔谢谢!

iOS 12.4 simulator files can be found in the Xcode 10.3 app bundle. 可以在Xcode 10.3应用程序包中找到iOS 12.4模拟器文件。 While you can't download it from within Xcode (at the moment), you can simply copy them to the folder where additional simulators are usually installed. 尽管目前无法从Xcode中下载它,但是您可以将它们简单地复制到通常安装了其他模拟器的文件夹中。 Go to the following subfolder, it is located inside Xcode.app (10.3): 转到以下子文件夹,它位于Xcode.app(10.3)中:

Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes

and copy the iOS.simruntime package to here: 并将iOS.simruntime包复制到此处:

/Library/Developer/CoreSimulator/Profiles/Runtimes

Rename iOS.simruntime to iOS 12.4.simruntime . iOS.simruntime重命名为iOS 12.4.simruntime

Restart Xcode 11. 重新启动Xcode 11。

The 12.4 simulator is now available (in Xcode 11.1 at least): 12.4模拟器现在可用(至少在Xcode 11.1中):

屏幕截图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM