is there a chance to use the iOS 6 SDK to develop applications that target iOS 3.1.3? If I open my project with the old deployment target, the compiler warns me:
<
oonoweb's answer is correct regarding iOS SDK 6.0. It's not possible to support below iOS 4.3 while building against iOS 6 SDK, but it is possible to use Xcode 4.5 to continue to build for armv6 and target iOS 4.2.1 and below.
The trick is to build against iOS 5.1 SDK instead of 6.0. Note: you won't be able to use any of the new iOS 6 specific features if you do this:
chpwn's blog lays out the steps, which I've re-written:
Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/
Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
You'll get warnings about talking about no rule to process files for armv6. Nate has recently posted this answer to deal with those.
If you're creating a new project (instead of maintaining old ones) you may also need to view the ***-Info.plist
file, and remove armv7 from the 'Required Device Capabilities' if it's there.
With Xcode 4.5 (ie iOS 6 SDK) the lowest version you can build for is iOS 4.3. I guess it is time for your 3.1.3 customers to upgrade.