是否可以在 Xcode 6-beta 上安装 iOS6 SDK?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24038286/
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
Is it possible to install iOS6 SDK on Xcode 6-beta?
提问by Soheil
I noticed that there are no preview or simulator for iOS6 in Xcode 6-beta, so I was wondering is there any way that I could add it manually ?
我注意到 Xcode 6-beta 中没有适用于 iOS6 的预览或模拟器,所以我想知道有什么方法可以手动添加它?
回答by Lee Winder
No.
不。
Apple only support iOS7 and iOS8, and they're strict with that. As a result, only iOS7/8 simulators are available in Xcode 6.
Apple 只支持 iOS7 和 iOS8,而且他们对此很严格。因此,Xcode 6 中只有 iOS7/8 模拟器可用。
If you want to run on an older simulator, you need to develop on an older version of XCode.
如果要在较旧的模拟器上运行,则需要在较旧版本的 XCode 上进行开发。
回答by brainray
Not possible. But: you can still test on a iOS 6 device from Xcode 6. I keep an old iPhone 4 for this (look at eBay).
不可能。但是:您仍然可以使用 Xcode 6 在 iOS 6 设备上进行测试。为此我保留了一台旧的 iPhone 4(查看 eBay)。
EDIT: there is another way - install Xcode 5 on a virtual machine (e.g. VMWare Fusion) running Mavericks.
编辑:还有另一种方法 - 在运行 Mavericks 的虚拟机(例如 VMWare Fusion)上安装 Xcode 5。
回答by OlgaVogue
iOS6 simulator is available in Xcode5
iOS6 模拟器可在 Xcode5 中使用
回答by CloudSync
No, the earliest SDK you can get for Xcode 6 is 7.1. By default, the iOS 7 simulator is not installed but you can install it by going to preferences, then to downloads and installing it from there.
不,您可以为 Xcode 6 获得的最早 SDK 是 7.1。默认情况下,未安装 iOS 7 模拟器,但您可以通过转到首选项进行安装,然后从那里下载并安装它。
To run iOS 6 applications, try googling around for an earlier Xcode version (late versions of 4) and these should have the simulator!
要运行 iOS 6 应用程序,请尝试在谷歌上搜索早期的 Xcode 版本(4 的后期版本),这些应该有模拟器!
Hope that helps!
希望有帮助!