Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to run iPhone applications after installing the new Xcode

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
I installed the new Xcode in order to test the new iOS 4.
Now I'm unable to run my old iPhone applications because "Base SDK is missing".
What is going wrong?
How to fix this?
Thanks.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Issue solved by reading Xcode 7 pages document :p (shame on my).
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Mark
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the "Base SDK" list (right click on the project -> "Get Info" -> "Build" tab) there are two items:
iPhone OS Device SDKs
and
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic