I want to build my iPhone app to work on iPhone OS 2.0 up to 3.0. According to this page, you simply need to set the “Base SDK” to 3.0 and the “iPhone OS deployment target” to 2.0.
My question is, when actually building the application, which “Active SDK” should I choose? I get the following choices:
- 2.0
- 2.1
- 2.2
- 2.2.1
- 3.0
My guess is that it simply doesn’t matter, but I would like to make sure.
You should choose the SDK you want to deploy your application to. Compiling to a specific SDK allows you to make sure you’re not using too-new features (from the developer side) and actually links the code to the right shared libraries (from the application side).