Reputation: 6371
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?
Upvotes: 0
Views: 298
Reputation: 52565
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).
Upvotes: 3