Resolved Building for iOS 4.2+ in Xcode 4.5.1

Discussion in 'iOS Programming' started by nickculbertson, Oct 23, 2012.

  1. nickculbertson, Oct 23, 2012
    Last edited: Oct 24, 2012

    nickculbertson macrumors regular

    nickculbertson

    Joined:
    Nov 19, 2010
    Location:
    Nashville, TN
    #1
    Hey guys,

    I've been looking for a way to test on the new iPhone 5 screen simulator without updating xcode. I would just update but I'd like to continue building for iOS 4.2 and newer. My understanding is that the newest version of xcode can only build for iOS 6? Is there a way to update xcode and still build for 4.2 target?

    Thanks,
    Nick
     
  2. Duncan C macrumors 6502a

    Duncan C

    Joined:
    Jan 21, 2008
    Location:
    Northern Virginia
    #2
    You can build for 4.2 and later with Xcode 4.5.1. You need to download the older SDKs once you install the app.

    Note that now that Xcode is a normal app in the applications folder, you can have more than one version easily. Just rename the old version before you install the new version and it will remain.
     
  3. nickculbertson thread starter macrumors regular

    nickculbertson

    Joined:
    Nov 19, 2010
    Location:
    Nashville, TN
  4. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #4
    The latest Xcode 4.5.x can't build for any Deployment Target below iOS 4.3. It has no armv6 support.

    You can, however, install more than one version of Xcode+SDK on your Mac. Just rename and keep an older version of Xcode which can compile for armv6 devices.
     

Share This Page