在 Xcode iOS 模拟器上获取旧的操作系统版本

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/32675142/
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-09-15 07:52:41  来源:igfitidea点击:

Getting old OS versions on the Xcode iOS simulator

iosxcodeios-simulator

提问by user1282637

Every simulator that I have on Xcode runs on version 8.4 but I want to test on iOS 6 and 7.

我在 Xcode 上的每个模拟器都在 8.4 版上运行,但我想在 iOS 6 和 7 上进行测试。

I've done what this answer recommends: https://stackoverflow.com/a/8477254/1282637

我已经完成了这个答案的建议:https: //stackoverflow.com/a/8477254/1282637

However, when I go to Xcode -> preferences - downloads, the only non-iOS 8 version available is 7.1:

但是,当我转到 Xcode -> 首选项 - 下载时,唯一可用的非 iOS 8 版本是 7.1:

enter image description here

在此处输入图片说明

Is there a way I can download an iOS 6.x.x simulator? Thanks!

有没有办法下载 iOS 6.xx 模拟器?谢谢!

回答by Anbu.Karthik

In Xcode 6, iOS simulatorfor iOS version 6.xseems to be deprecated.

Xcode 6iOS simulator对于iOS version 6.x似乎是deprecated

Apple deprecates old technologies very aggressively. Formaly saying, you should deprecate support for older version of OSes such as 6.x.

Apple 非常积极地弃用旧技术。正式地说,您应该弃用对旧版本操作系统(例如 6.x)的支持。

If the Xcode doesn't provide older version of simulator, the only way to do this is to install older version of Xcode.

如果 Xcode 不提供旧版本的模拟器,唯一的方法是安装旧版本的 Xcode。

download older Versions

下载旧版本

Currently you can just use Xcode 5.x.

目前你可以只使用Xcode 5.x.