Search code examples
iphonexcodeios4iphone-sdk-3.0xcode3.2

Building against 3.x SDK in Xcode 3.2.3 for iPhone only app?


Is it possible? Because if I build against SDK 4.0, my app goes wacko, doing silly things and generally not working properly. If I build against 3.2 however, it works splendidly, but I get a warning saying:

[BWARN]warning: building with 'Targeted Device Family' set to iPhone only ('1') not supported with SDK 'Device - iPhone OS 3.2'.

My app was originally (and still is) a 2.2.1 app, but as I'm updating it, I need to compile it with the new Xcode for it to get approved.

Is there really no way to build an iPhone-only app against 3.x sdk? Not too happy investigating behavior like this, if it works so well with sdk 3.2. :(


Solution

  • All new and updated iPhone apps need to be built against the 4.0 SDK. iOS 3.2 is iPad-only.

    From here:

    Make sure that your applications are compatible with iOS 4. All new applications and updates to existing applications must be built with iPhone SDK 4. In addition, the App Store will no longer support applications that target iOS 2.x.

    Not what you wanted to hear, I know. I wanted to submit a small patch to my app but had to update for iOS4 first too.