简体   繁体   中英

Xcode iPhone OS multiple versions

有没有办法在xcode 3.1.2中添加早期版本的iphone操作系统,所以我可以通过app为不同的os版本构建?

我不确定是不是因为我有旧版本的Xcode,但我可以在项目上获取信息并将“Base SDK”属性更改为旧版本,然后为此构建,例如2.2.1

If you want one app that supports a range of versions, you should set your Base SDK to the latest version you want to support. Then set your Deployment target to the earliest version you want supported. Then in your code, you test for availability of questionable frameworks, before you use them.

See this other question for more info.

是的,你可以这样做,但是你的Mac应该有不同的分区,当你通过向导将默认位置更改为这个新分区中的特定位置时,你可以根据需要使用两个Xcode用于早期版本和最新版本。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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