Targeting iPhone 2.x on Snow Leopard with Xcode 3.2
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.
[...] Serban Porumbescu, whom I met last week at WWDC, posted instructions for targeting iPhone OS 2.x from XCode 3.2. [...]
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
[...] When you install the 3.0 SDK and create a new project, it will be automatically set up to build only for 3.0. To target earlier versions while still having access to 3.0 features, you need to take a few extra step. These steps are described in detail in the readme of the MailComposer sample (iPhone dev account required). My friend Serban also wrote about how to do it when you add Snow Leopard to the mix. [...]
doxycycline hcl or doxycycline cancer or doxycycline allergic skin rash or doxycycline interactions or doxycycline for uti infection
wellbutrin for sleep disorders or ab ultra drive cable pinout or ares ultra keygen or amoxicillin overdose or seasonal movement of sunsets across horizon
key buy ambien online or long lasting results from acai berry or ambien over the counter or cheap tramadol without a prescription or pain meds no rx valium