When I last installed Xcode 3.2.3 Beta 2 (OS 4.0 support), it had all the iPhone Device & Simulator 3.x.
Now, updated to Xcode 3.2.3 Beta 4 (OS 4.0 support), it no longer lists 3.x SDKs for either simulator or device in XCode. When I run an app that was written for 3.1.2, the current SDK is listed as “base SDK missing”
I’m aware that 3.2.3 changes the BASE SDK to 4.0, but how come none of the 3.x devices are available either?
When I go to:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
The only two files available are:
iPhoneSimulator3.2.sdk
iPhoneSimulator4.0.sdk
However, when I go to:
/Developer/Platforms/iPhoneOS.platform/DeviceSupport
3.0
3.0.1
3.1
3.1.1
3.1.2
3.1.3
3.2
4.0 (8A274b)
I’ve tried re-installing the most recent XCode DMG to no avail.
It seems like they removed them.
If you are developing for the older OS, you should not be using the 4.0 Beta SDK.
According to the release notes:
I would recommend you install the 3.x sdk in parallel to the 4.0. I keep the two Developer directories on my machine /Developer for maintaining apps written for 3.0 and 3.1, and /Developer4.0Beta for migrating apps to 4.0, and trying out the new features that will be available soon.
The option to install to another folder is a bit hard to notice when installing the sdk, but the trick is to hit the up/down arrows by the default directory on the ‘Installation Type’ step. After hitting them it will allow you to choose a different directory.
Remember, that App;le won’t allow you to submit an App built with a Beta SDK, so I would only use the 4.0 Beta for building 4.0 Apps, keeping in mind that the APIs might still change before the GM is released.