Skip to main content
Mark.fromOP
Inspiring
October 24, 2012
Question

Which iOS SDK to use?

  • October 24, 2012
  • 1 reply
  • 935 views

Finally broke down and bought a mac, despite moral principles

Mainly needed it so I could package multiple anes as I was having a problem with this issue on PC and did not want to go through the ADT screen every time.

I see the link to iOS SDK option and i found the iOS 6 SDK on the developer site. Linking to that seems to work fine. However my question is, what SDK should I target? Will targeting the iOS6 SDK mean that users with iOS5.1 and prior have to update to iOS6 to use my app? Or will it still cover previous iOS versions? On the flip side if I target iOS5.1 for example am I not supporting new devices like the iPhone5 and the new iPad Mini that run iOS 6 as their minimum?

Some advice on the process would be very welcomed. Not a 100% clear on why I even need to link to the iOS SDK, never had to deal with it before.

This topic has been closed for replies.

1 reply

mbhagya
Participating Frequently
October 25, 2012

The minimum deployment target of AIR on iOS is v4.0. That means that your app will run just fine even on devices with iOS4.0.

However, if your app uses a feature which was introduced in iOS6.0, that won't run properly on the older devices.

For graceful degradation, there are API's like "isSupported" with all such features that you should call before use.

Mark.fromOP
Inspiring
October 25, 2012

Oh thank you for the reply.

I did build it with the iOS6 SDK and it seems to run fine on my iOS6 iPhone 4 and on an iOS5.1 iPhone 3Gs so using the latest SDK does not mean you can only target devices with that version of iOS.

I am using the flashlight ANE which I believe is supported starting with iOS4 devices, meaning the iPhone 4. I am also checking the isSupported function and dismissing it on devices that do not support it, works fine on the non flash iPhone 3Gs and android tablets.

If I did want to set a minimum iOS target, lets say 5.1, where do I do it with AIR?

Mark

April 9, 2013

Hi Mark,

Did you figure out how to set a minimum iOS target?

William