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.

sdk30_drop_down

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.”

deploymenttarget

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.

This entry was posted in Tools and tagged , . Bookmark the permalink.

5 Responses to Targeting iPhone 2.x on Snow Leopard with Xcode 3.2

  1. You couldn’t wait could you? :) Thanks for posting this tip.

  2. Pingback: Hidden Elephant Software » Targeting iPhone 2.x on Snow Leopard with Xcode 3.2 « Carpé Cocoa!

  3. kemal says:

    süper de?il öküzün önde hideni

  4. John says:

    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

  5. Pingback: Games from Within | Targeting 2.x With 3.0 Features. Trouble Ahead.

Leave a Reply to kemal Cancel reply

Your email address will not be published. Required fields are marked *