Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

nickculbertson

macrumors regular
Original poster
Nov 19, 2010
226
0
Nashville, TN
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
 
Last edited:
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

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.
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.