在 Xcode 6 中的 iOS 6 模拟器中运行应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24631551/
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
Run app in iOS 6 Simulator in Xcode 6
提问by Fabio
My application supports iOS 6.1. How do I find and install that simulator in Xcode 6?
我的应用程序支持 iOS 6.1。如何在 Xcode 6 中找到并安装该模拟器?
采纳答案by Eonil
In Xcode 6 beta 3, iOS simulator for iOS version 6.x seems to be deprecated.
在 Xcode 6 beta 3 中,iOS 版本 6.x 的 iOS 模拟器似乎已被弃用。
Apple deprecates old technologies very aggressively. Formaly saying, you should deprecate support for older version of OSes such as 6.x.
Apple 非常积极地弃用旧技术。正式地说,您应该弃用对旧版本操作系统(例如 6.x)的支持。
Anyway in practice, we have situation that we can't do it. If the Xcode doesn't provide older version of simulator, then the only regular way to do this is installing older version of Xcode.
反正在实践中,我们有做不到的情况。如果 Xcode 不提供旧版本的模拟器,那么唯一的常规方法是安装旧版本的 Xcode。
Install Xcode 5 and run its simulator manually. ([Xcode] -> [Open Developer Tools] -> [iOS Simulator])
安装 Xcode 5 并手动运行其模拟器。([Xcode] -> [打开开发者工具] -> [iOS 模拟器])
Each Xcode versions can be installed and run side-by-side. See here to know how to get old Xcode versions.
每个 Xcode 版本都可以并行安装和运行。请参阅此处了解如何获取旧的 Xcode 版本。
Currently you can just use Xcode 5.x.
目前您只能使用 Xcode 5.x。