如何在 Xcode 7 Beta 5 中安装 iOS 7 及更高版本的模拟器?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/32137582/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 07:21:11  来源:igfitidea点击:

How to install iOS 7 and onwards simulators in Xcode 7 Beta 5?

iosxcodeios-simulatorxcode7

提问by oyalhi

I want to test my app on iOS 7 and onwards. The only way to test my app in these OS' are using Simulator. But after upgrading my Xcode to 7 Beta, I see the iOS 8.1, 8.2, 8.3 but I get an error that they are not found. iOS7 is non existing. Is there any way to install the older OS simulators in Xcode 7 beta 5?

我想在 iOS 7 及更高版本上测试我的应用程序。在这些操作系统中测试我的应用程序的唯一方法是使用模拟器。但是在将我的 Xcode 升级到 7 Beta 后,我看到了 iOS 8.1、8.2、8.3,但我收到一个错误,提示找不到它们。iOS7 不存在。有没有办法在 Xcode 7 beta 5 中安装旧的操作系统模拟器?

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

回答by Jeremy Huddleston Sequoia

Older Simulator runtimes are available for download through Xcode's preferences.

旧版模拟器运行时可通过 Xcode 的首选项下载。

Goto Xcode -> Preferences -> Downloads to see the list of compatible legacy simulator runtimes.

转到 Xcode -> Preferences -> Downloads 以查看兼容的旧模拟器运行时列表。

El Capitan supports iOS 8.1 and newer runtimes.

El Capitan 支持 iOS 8.1 和更新的运行时。

Yosemite supports iOS 7.1 and newer runtimes.

Yosemite 支持 iOS 7.1 和更新的运行时。

There is a known issue mentioned in the Xcode release notes which prevents the iOS 7.1 simulator runtime from working in Xcode 7.

Xcode 发行说明中提到了一个已知问题,该问题阻止 iOS 7.1 模拟器运行时在 Xcode 7 中工作。

Thus, you can't currently use the iOS 7.1 simulator runtime with Xcode 7.

因此,您目前无法在 Xcode 7 中使用 iOS 7.1 模拟器运行时。

回答by Jugal K Balara

Click on device selection tab then click on more Simulator after then you can select and install ios Simulator from new open window.

单击设备选择选项卡,然后单击更多模拟器,然后您可以从新打开的窗口中选择并安装 ios 模拟器。

回答by Mehul

You can Download it. or if you have already in your Older Xcode Version then you have to Manage it from

你可以下载它。或者如果你已经在你的旧 Xcode 版本中,那么你必须从

Window > Device

窗口 > 设备

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明