• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Unable to run iPhone applications after installing the new Xcode

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Issue solved by reading Xcode 7 pages document :p (shame on my).
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic