This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
John Todd wrote:Issue solved by reading Xcode 7 pages document :p (shame on my).
For those that can't get to page 7 because it is too many pages to read before to get up to it.
In the project settings there is a base sdk dropdown for your configurations/build. Just change it to the most current sdk installed on your machine.
It does not mean that your app will only run on the latest SDK. There is another build configuration for target SDK OS version that you can set to an earlier version, which will state that your app can run in that target OS up to the base SDK. So if you set 3.1 for target, and 4 for base sdk, means any OS version between 3.1 to 4 will be able to run your app. Except you do have to make sure if you use new 4.0 code that you have weak binding to that library/framework api, and have an if statement around it checking to see if the method is available. willRespondToSelector method.
In the "Base SDK" list (right click on the project -> "Get Info" -> "Build" tab) there are two items:
iPhone OS Device SDKs
iPhone OS Simulator SDKs
What is the difference between these?
Also, there are two profiles: Debug and Release
Debug is clean in purpose but what is "Release" profile?