Compiling iPhone Apps with the Latest SDK While Preserving Backwards Compatibilty

Sat 16 Oct

2010

Although you will most likely want to use the latest versions of Xcode and the iPhone SDK for your development, you’ll probably want to support devices running older versions of the iPhone OS as well. However, when you create a new project with the latest version of Xcode and the latest SDK, Xcode’s project template will automatically set your application to only support the latest iOS version. Here’s how to fix that:

In your Files and Groups pane, expand the Targets section.

Double-click the target you are compiling. You should see something like this (you may have to click the build section at the top):

In the search bar at the top, start typing “deployment target”. The list should begin to filter and you will eventually see a setting called “iOS Deployment Target”. Set this setting to the minimum iOS version you wish to support.

Share and Enjoy:
  • Twitter
  • Facebook
  • Reddit
  • del.icio.us
  • Google Bookmarks
  • Tumblr
  • Digg
  • StumbleUpon
  • LinkedIn
  • DZone
  • HackerNews
  • Posterous
  • BlinkList
  • NewsVine
  • Technorati
  • blogmarks
  • Fark
  • Live
  • MisterWong
  • MySpace
  • ThisNext
  • Slashdot
  • Yahoo! Buzz
  • Suggest to Techmeme via Twitter
  • PDF
  • email
Filed Under: apple, iOS, iPhone, Programming

Comments

Leave a Reply