• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Unable to run iPhone applications after installing the new Xcode  RSS feed

 
clojure forum advocate
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
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).
 
ranger
Posts: 17344
11
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
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?
 
This will take every ounce of my mental strength! All for a tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!