简体   繁体   中英

How to add a “Base SDK” in XCode 4?

I currently use XCode 4.0 with Base SDK 4.3.

I would like to compile my app with an older SDK, for example 4.2, but I don't have this possibility as I have no other choice than SDK 4.3.

Do you know how to add older SDKs than the default Base SDK 4.3 proposed?

Thanks a lot !

You cannot do that. Xcode versions are released along with iOS SDK's. They are linked together ie particular Xcode version can compile the code on the specific iOS SDK only (which it come with by default). To compile your code in lower version of SDK, you need to download the lower version of Xcode

In build settings, under Architechtures, you have something called as Base SDK.. you can change you base SDK there and set it to the latest ios version you have installed.

by changing the iosdeployment target you can run this.

for this, go to the targets in the xcode and get the info.There you can find the second tab build.in that you have search field.type the ios deployment target.change that to 4.2.So that it can run on 4.2 also

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