Xcode 4 和 iOS SDK 4.3 是否与 Snow Leopard 兼容?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8196423/
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
Are Xcode 4 and iOS SDK 4.3 compatible with Snow Leopard?
提问by Thein Hla Maw
Currently I am using Xcode 3 and iOS SDK 4.2 on Snow Leopard. I am planning to download and install Xcode 4 and iOS SDK 4.3.
目前我在雪豹上使用 Xcode 3 和 iOS SDK 4.2。我打算下载并安装 Xcode 4 和 iOS SDK 4.3。
I would like to know if Xcode 4 and iOS SDK 4.3 are compatible with Snow Leopard.
我想知道 Xcode 4 和 iOS SDK 4.3 是否与 Snow Leopard 兼容。
回答by rohan-patel
Yes..You will have separate .dmg available for download when you visit iOS developer center X-Code download link.
是的..当您访问 iOS 开发者中心 X-Code 下载链接时,您将有单独的 .dmg 可供下载。
Please do note that the X-Code 4.2 will have iOS 5 simulator and libraryonly. If you want lower version simulator and library with X-Code just goto X.Code->Prefrences-> Downloads Tab.In downloads tab you'll have two tabs:
请注意,X-Code 4.2 将仅具有 iOS 5 模拟器和库。如果您想要带有 X-Code 的低版本模拟器和库,只需转到X.Code->Prefences-> 下载选项卡。在下载选项卡中,您将有两个选项卡:
1) Components- Here you will have option to download iOS 4.3 simulator(~600 Mb), iOS 4.0-4.1(~670 MB) Device debugging support, iOS 3.0-3.2.2(686.3 MB) Device debugging support.
1) 组件- 在这里您可以选择下载 iOS 4.3 模拟器(~600 Mb)、iOS 4.0-4.1(~670 MB) 设备调试支持、iOS 3.0-3.2.2(686.3 MB) 设备调试支持。
2) Documentation-Yoy will have option to download iOS 5.0,XCode 4.2 Developer libaray,Mac OSX 10.7 Core Library.
2) 文档——Yoy 可以选择下载 iOS 5.0、XCode 4.2 Developer libaray、Mac OSX 10.7 Core Library。
Install the components which ever you need and there you go..
安装您需要的组件,然后就可以了。
Hope that helps.
希望有帮助。
回答by poupou
There's a specific version of Xcode 4.2 (and likely earlier versions) that can be used on Snow Leopard. That's the version I use on my iMac. Note that you can use 4.2 w/iOS5 SDK and still deploy on older devices (and even download the 4.3 simulator) in case you cannot find Xcode 4.
有一个特定版本的 Xcode 4.2(可能还有更早的版本)可以在 Snow Leopard 上使用。这是我在 iMac 上使用的版本。请注意,如果您找不到 Xcode 4,您可以使用 4.2 w/iOS5 SDK 并仍然部署在旧设备上(甚至下载 4.3 模拟器)。
However you cannot use (download) the one from the AppStore which is Lion-specific. To find the Snow Leopard specific version log into Apple's developers portal and you'll see separate links for SL and Lion.
但是,您不能使用(下载)Lion 特定的 AppStore 中的那个。要查找 Snow Leopard 特定版本,请登录 Apple 的开发人员门户,您将看到 SL 和 Lion 的单独链接。
回答by hotpaw2
Yes, but only if you have the correct download from Apple.
是的,但前提是您从 Apple 获得了正确的下载。
There are currently 2 separate dmg downloads for the SDK and Xcode installer from the enrolled Developer web site, one for Lion and one for Snow Leopard. The download for Lion is only compatible with Lion. The download for Snow Leopard is only compatible with Snow Leopard. The installer from the App store might be for Lion only, so you may have to sign up for the developer program to get the other installer.
目前有 2 个独立的 dmg 下载用于 SDK 和 Xcode 安装程序从注册的开发者网站下载,一个用于 Lion,另一个用于 Snow Leopard。Lion 的下载仅与 Lion 兼容。Snow Leopard 的下载仅与 Snow Leopard 兼容。App Store 中的安装程序可能仅适用于 Lion,因此您可能必须注册开发人员计划才能获取其他安装程序。
Apple usually removes (or hides) downloads for previous versions of the SDK, so if you didn't download the correct installer dmg (with the SDK for iOS 4.x) for the Mac OS of interest in time, you won't have a compatible installer.
Apple 通常会删除(或隐藏)以前版本的 SDK 的下载,因此如果您没有及时为感兴趣的 Mac OS 下载正确的安装程序 dmg(带有适用于 iOS 4.x 的 SDK),您将不会有兼容的安装程序。
回答by DavidA
Yes, it's compatible. Download the XCode 4.2 .dmg from the iOS dev program portal, which includes the iOS 5.0 SDK.
是的,它是兼容的。从 iOS 开发程序门户下载 XCode 4.2 .dmg,其中包括 iOS 5.0 SDK。