iOS Building for iOS 4.2+ in Xcode 4.5.1

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:

Duncan C

macrumors 6502a
Jan 21, 2008
853
0
Northern Virginia
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.
 
Comment

firewood

macrumors 604
Jul 29, 2003
7,735
956
Silicon Valley
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.
 
Comment

Similar threads

Register on MacRumors! This sidebar will go away, and you'll see fewer ads.