Reputation: 973
Is there a way to add earlier versions of iphone os in xcode 3.1.2, so I can build by app for different os versions?
Upvotes: 3
Views: 1510
Reputation: 812
Yes you can do it but you should have different partitions in your Mac and when you go through wizard change the default location to specific location in this new partition ,then you can use the two Xcode for earlier & latest versions as you want.
Upvotes: 1
Reputation: 39376
If you want one app that supports a range of versions, you should set your Base SDK to the latest version you want to support. Then set your Deployment target to the earliest version you want supported. Then in your code, you test for availability of questionable frameworks, before you use them.
See this other question for more info.
Upvotes: 2
Reputation: 2528
I'm not sure if it is because I have had older versions of Xcode, but I can Get Info on a project and change the "Base SDK" property to an older version and then build for that, e.g. 2.2.1
Upvotes: 3