Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4.2 Beta: Can I build for iOS 4.x?

Tags:

xcode

ios

In my iOS project using Xcode 4.2, all targets are showing Latest iOS (iOS 5.0) in the build settings, and I have no other available options. Can I deploy to a device running iOS 4.x using Xcode 4.2 Beta, and if so how?

Note: I'm only interested in ARC at this time, otherwise I'd be using 4.02 (Snow Leopard).

like image 911
Dan Rosenstark Avatar asked Feb 24 '23 06:02

Dan Rosenstark


1 Answers

Are you looking at the "Base SDK" setting or the "iOS Deployment Target". You want to build against the "Latest" SDK, but set the deployment target to the minimum supported iOS version.

like image 137
Nathanial Woolls Avatar answered Mar 08 '23 06:03

Nathanial Woolls