Chris Muench
Chris Muench

Reputation: 18338

ios 5 xcode 4.2 doesn't have ios 4.3 as a base sdk option

in xcode 4.2 I don't have any option to choose a different base sdk other than ios 5. I want to make sure my app works for ios 4.2 and higher. How can I get these to show up?enter image description here

Upvotes: 3

Views: 926

Answers (2)

zaph
zaph

Reputation: 112865

In Xcode choose the deployment target OS:

enter image description here

From Apple's documentation:


iOS Deployment Target
Code will load on this and later versions of iOS. Framework APIs that are unavailable in earlier versions will be weak-linked; your code should check for null function pointers or specific system versions before calling newer APIs.


Base SDK
The name or path of the base SDK being used during the build. The product will be built against the headers and libraries located inside the indicated SDK. This path will be prepended to all search paths, and will be passed through the environment to the compiler and linker.

Upvotes: 3

xoail
xoail

Reputation: 3064

In Target sdk select a lower version of iOS.

Upvotes: 0

Related Questions