Skip to main content
Participant
January 23, 2014
Question

AIR app on iOS freezes at startup when referencing native extension built with XCode 5

  • January 23, 2014
  • 2 replies
  • 1058 views

Hello there,

one year ago I successfully used a native extension in a AIR app, at that time it was AIR 3.6.

I didn't change anything in the build process but only updated my Mac Mini to XCode 5, then rebuilt the .a and then the ANE, rebuilt the ipa and deployed again to my iPad.

Unfortunately, the app doesn't start now anymore. The app just hangs in the default splash screen, nothing is in the device log, a Scout connection isn't established and even a debug build doesn't connect to the debugger to be able to investigate it. If I press the home screen and then reopen the app, the device log says "timeout while app resume" and then kills it.

I now stripped everything down to a simple function that returns "Hello World", removed everything else, I even do not call the native extension anymore. The app still doesn't start.

The only thing to get the app going again is to remove the "<extensions>...." block in the application.xml, the app then just runs fine again.

Any help is highly appreciated.

Lyve

This topic has been closed for replies.

2 replies

Known Participant
January 26, 2014
Adobe Employee
January 23, 2014

Since you updated your Xcode, your iOS SDK would now be iOS7. So, your ANE is now build against iOS7 SDK. To use it and to build an iOS7 compatible AIR app could you please try the latest AIR 4.0 SDK?

LyveAuthor
Participant
January 23, 2014

Thank you for your answer.

Although XCode uses the iOS 7 SDK, I've kept the target iOS version to be 5.0.

I'm just downloading AIR SDK 4.0 though to give it a try, thanks!

Lyve