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?
+2
A:
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
bmalicoat
2009-11-02 18:05:14
You can do this only if that version of the SDK is installed. Newer versions of Xcode don't necessarily come with all older versions of the iPhone SDK.
cdespinosa
2009-11-02 22:00:14
+2
A:
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.
mahboudz
2009-11-02 19:38:28