简体   繁体   English

可以在iOS基本SDK之间进行选择吗?

[英]Possible to choose between iOS base sdk?

i´ve updated Xcode to the latest version and therefore the base SDK is iOS6. 我已经将Xcode更新到最新版本,因此基本的SDK是iOS6。 I just want to know, if it´s still possible to compile an app with the old iOS5 SDK? 我只想知道,是否仍然可以使用旧的iOS5 SDK编译应用程序?

Thanks for your help 谢谢你的帮助

No with xcode 4.5 you can only compile with the iOS 6 SDK, but you can still target the iOS 5 device by setting the deployment target to iOS 5 (or 4.3). 使用xcode 4.5不能,您只能使用iOS 6 SDK进行编译,但是仍然可以通过将部署目标设置为iOS 5(或4.3)来定位iOS 5设备。

This will allow you to run the app on iOS 5, but make sure that you do not call any methods that are iOS 6 only. 这将允许您在iOS 5上运行该应用程序,但请确保您不调用仅适用于iOS 6的任何方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM