This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Mac OS and the fly likes Unable to run iPhone applications after installing the new Xcode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Unable to run iPhone applications after installing the new Xcode" Watch "Unable to run iPhone applications after installing the new Xcode" New topic
Author

Unable to run iPhone applications after installing the new Xcode

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

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

Joined: Nov 08, 2003
Posts: 3479

Issue solved by reading Xcode 7 pages document :p (shame on my).
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to run iPhone applications after installing the new Xcode