iPhone OS Active SDK Targets Missing

iPhone OS Active SDK Targets Missing

The iPhone SDK 3.0 is great in offering tons of new features to developers to play with. It irresistable not to install it n use it. But we should be ready to make few sacrifices in using it. Firstly as the release notes says, iPhone OS 3.0 beta installed on iPhone can’t be revereted back to a earlier version of OS. While this was a big issue for people who skipped reading the release notes n were excited to install iPhone OS 3.0 Seed 1. However the later versions of iPhone OS 3.0 Seed 3 and 4 seem to be pretty stable and near production quality expect for few problems like low battery backup. The other major issue I am facing with iPhone SDK 3.0 is not being able to set the Active Target to a earlier version of iPhone OS other than 3.0. XCode silently removes all the other available options from the ‘Active SDK’ list and gives only iPhone OS 3.0. This can be annoying, but we cant blame Apple for this as they have warned this in their release notes. The image on the left shows the behaviour I am talking about.

Remove User Specific Files From XCode Project File

Remove User Specific Files From XCode Project File

But as the saying ‘Where there is a will, there is way’, we can overcome this by following these steps:-

  1. Clean All Targets
  2. Close the project
  3. Right click on your XCode project file and select ‘Show Package Contents’
  4. You will be presented with usually 3 files with two of the files carrying the system user name as shown in the figure. Delete those two files. (Don’t worry, Its safe to remove them.) And open your project again and you should be able to see the old SDK options back in your ‘Active SDK’ list
Active SDK Regained

Active SDK Regained

About Me: Anish Kumar:
Mac OS X software development is my bread winner with over 6 years of experience. Expertise in Color Management, TWAIN Scanner drivers on Mac OS X, Photoshop Filter and Import Plugin development on Mac OS X, iPhone. As an hobby I love to work on PHP, Flex, AIR, Photoshop. Check the 'About' page for more.