[英]No iOS 13 simulator in Xcode 11 beta 5
I have installed Xcode 11 beta 5 and create a sample project我已经安装了 Xcode 11 beta 5 并创建了一个示例项目
There is no iOS 13 simulators available:没有可用的 iOS 13 模拟器:
When I go on Add simulator
-> Download more simulator
当我继续
Add simulator
-> Download more simulator
iOS 13 is not available in list: iOS 13 在列表中不可用:
What should I do to install an iOS 13 simulator?我应该怎么做才能安装 iOS 13 模拟器?
I'm not sure why it is happening, but you can create new simulators and it will work我不确定为什么会发生这种情况,但是您可以创建新的模拟器并且它会起作用
I was then able to select the iPhone XR as a run target然后我可以选择 iPhone XR 作为运行目标
Since you already have iOS 12.2 simulator downloaded, go to your project's "General" settings pane -> Under "Deployment Info",由于您已经下载了 iOS 12.2 模拟器,请转到项目的“常规”设置窗格 -> 在“部署信息”下,
make sure your target simulator version is the same as 12.2.确保您的目标模拟器版本与 12.2 相同。
This is a screenshot of the "Deployment Info" settings pane.这是“部署信息”设置窗格的屏幕截图。 Ignore 13.2 in the image and replace it with your version.
忽略图像中的 13.2 并将其替换为您的版本。
I was able to use my downloaded simulators after making this change.进行此更改后,我可以使用我下载的模拟器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.