How to ensure that we are not using latest SDK API?
lets say you have iOs 5.0 SDK installed, but you are developing app for iOS 4.0, how can we ensure that we accidentally dont use any latest API that would break backward compatibility?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to set the right deployment target on Xcode and build against the latest SDK.
Search for iOS Deployement Target setting on Build Settings tab within PROJECTS -> YourName. This will also change that setting on TARGETS -> YourName.
For further reference see Apple doc.
As hotpaw2 wrote in this stackoverflow topic
Hope it helps.