简体   繁体   中英

Difference between iOS SDK and simulator

I'm targeting iOS 5.1 with my app. I am running against the iPhone 5.1 Simulator , but I have noticed my project is listed as 1 target, iOS SDK 6.0 .

The deployment target is listed as 5.1.

What is the difference between the SDK and simulator target? Should I be using a 5.1 SDK and if so how would I do this?

The SDK represents the API that you can use. The deployment target is the lowest version number that you're certifying that it will run on.

If the SDK and deployment target differ then you need to be careful that you don't use any APIs that are not available on older versions (or you disable that functionality if it's not there).

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