Reputation: 21
I installed 'xcode_3.2.5_and_ios_sdk_4.2_final.dmg'.
When i build a project, xcode say below
"error: There is no SDK with the name or path 'iphoneos3.2'"
So, I checked this site, and i find out like that you should select 'iphone simulator 4.x' to 'Base SDKs' on Xcode 'edit project settings'.
But, I can not select iphone simulator 4.x.
There are no 'Iphone Simulator x.x' in Base SDKs list as below. also there are no 'Iphone Device x.x' too.
Base SDKs selections
Current Mac OS
Mac OS X SDKs
∟ Mac OS X 10.5
∟ Mac OS X 10.6
∟ Latest Mac OS X (Currently set to Mac OS X 10.6
iOS SDKs
∟ iOS 4.2
∟ Latest iOS (Currently set to iOS 4.2)
other..
※I want to upload image capture, But new user is not allowed.
How Can i select 'Iphone Simulator x.x'?
Please Help!
Upvotes: 2
Views: 2611
Reputation: 512
You need to select "Latest iOS" in the "Base SDK" build setting popup and "iOS 3.2" in the "iOS Deployment Target" build setting popup. Now you can select an older iOS Simulator in the "Overview" popup in the top left corner of the project window.
You should set both of these in the project build settings and clear any selection in the target build settings (select each in the build settings window and press the Delete key), unless there is some specific reason you need custom settings for different targets in your project.
(You can also choose older version in iOS Simulator itself, via the "Hardware" menu.)
Upvotes: 0
Reputation: 6448
Right click your project's root title, select "Get info"
Inside the menu you make sure you select this: Base SDK -> Lastest(iOS 4.2....)
Besides, do the same process to your Target file. See my third screenshot.
Upvotes: 3
Reputation: 1227
Please, do what diwup says, then:
Open your project file (the one that has the .xcodeproj extension) with a text editor and find the line where the old version is written:
Delete the line SDKROOT = iphoneos3.2;
That's what I just did.
Upvotes: 2
Reputation: 1480
You can just select "Latest iOS (Currently set to iOS 4.2)", for most projects it is the best choice.
Upvotes: 0
Reputation: 6565
Right click your project's root title, select "Get info"
Inside build menu Plz set ios deployemnt target to ios 3.2..
Upvotes: 0