A few of my fellow WWDC 2009 attendees and I drank a little too much of the Apple Kool-Aid and installed Snow Leopard and Xcode 3.2 over our existing Leopard installations. Â Unfortunately, iPhone 2.x SDKs were no longer available.
This is a bit of a bummer if you’d like to continue targeting 2.x devices. Â Luckily, the solution turns out to be quite simple.Â It also happens to be part of what you’ll need to do to continue targeting 2.x devices while providing advanced features on iPhone OS 3.0 devices.Â I’ll leave that discussion for a future post.
To target a 2.x device using Snow Leopard and Xcode 3.2 you have to change your project’s “iPhone OS Deployment Target.”
That’s it, you’re done.
Quick note: if you compile and run into issues during device install (e.g., something about not being able to validate), make sure you have no underscores in your app’s name.