views:

806

answers:

4

Hi I have spent endless hours trying to solve this but with no luck, please help!

I keep getting this error. There is no SDK with the name or path 'iphoneos2.0' I am running some templates at http://appsamuck.com/day1.html

Thanks

Gautam

I'm running the latest sdk, in the pop up menu (simulator) there is an option iPhone Device 2.0 (missing) (Base SDK)

+2  A: 

Then just select another SDK: 3, 3.2 or 4.
Most examples will work, even if they were prepared for SDK 2.

Macmade
A: 

I tried it but I have no choice, it is written : Base SDK missing

dejavu
just go in the project properties and like Macmade said and select another base SDK.
AngeDeLaMort
Try again with my way! It look like disable but you can :)
leduchuy89vn
A: 

Looking at the code here, it's one of the very first iPhone dev tutorials written, and it's evidently not been updated to reflect the current SDK and Xcode versions.

I would suggest starting with a more modern tutorial, then coming back to this once you have the confidence to be able to understand and fix the code.

JulesLt
+1  A: 

Oh, i have just met this problem last night :) I think your project write in xCode 3.2.2 or earlier but you try to run it on xCode 3.2.3. And you need to tell xCode to run your app in iPhone Simulator with iOS 4 (iPhone running iOS 4 can run iPhone's app write for iOS 3). If that's your problem do some step to slove it:

  1. Select "Project" menu on xCode.
  2. Select "Edit Project Settings" submenu.
  3. Look at line "Base SDK for All Configurations", select iPhone Simulator 4.0 (May be it look like disable but you can select).
  4. Run your project to compile your project.

Good luck :)

leduchuy89vn