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.
You couldn’t wait could you? :) Thanks for posting this tip.
Pingback: Hidden Elephant Software » Targeting iPhone 2.x on Snow Leopard with Xcode 3.2 « Carpé Cocoa!
süper de?il öküzün önde hideni
Very useful piece of information. I just released an app and could only get support for iPhone OS 2.2.1 and above on Xcode 3.1.3. With this i just added backwards compatibility.
Thanks
Pingback: Games from Within | Targeting 2.x With 3.0 Features. Trouble Ahead.