Skip to main content
Participant
February 15, 2012
Question

Very stuck on a really wierd problem with ADT and native extensions on iOS

  • February 15, 2012
  • 7 replies
  • 1341 views

So I am using the native extension from http://blog.aboutme.be/2011/12/10/udp-in-air-for-ios-using-a-native-extension/

It comes with a flex demo app that works perfectly on Android and iOS when built in FB. I made a small as3 app in FB and that works perfect on Android and iOS as well.

I then took the app.xml from the as3 FB project and used it for my flash pro/adt project. I built the package in adt with the following

Android:

start adt -package -target apk -storetype pkcs12 -keystore androidTest.p12 NetPRO_Demo.apk NetPRO_Demo-app.xml NetPRO_Demo.swf 72icon.png -extdir extensions

iOS:

start adt -package -target ipa-ad-hoc -storetype pkcs12 -keystore Certificates.p12 -provisioning-profile CashRegisteriPad1.mobileprovision NetPRO_Demo.ipa NetPRO_Demo-app.xml NetPRO_Demo.swf 72icon.png -extdir extensions

The Android version works perfectly, the iOS version sits at a black screen and freezes. I have spent days on this, what is wrong in my ADT packaging that is different from FB packaging that it breaks only on iOS.

Also, if I get rid of native extensions, my ADT packaging works fine.

This topic has been closed for replies.

7 replies

Participating Frequently
April 11, 2012

Did switching to FB fix the problems for you?

JoeP79Author
Participant
April 11, 2012

Yes, it was just a major pain because I had to re write all of my interface in pure as3.

Participating Frequently
April 10, 2012

I guess AIR / ADL uses IOS 4.0 default, is that right? Maybe I should use iOS5 instead. Going to try that.

JoeP79Author
Participant
April 11, 2012

Not sure what the versions of everything were when I was trying, I gave up a while ago and just rewrote it all in FB, I hear flash pro CS6 will support native extensions?

Inspiring
April 10, 2012

what's your version of AIR and IOS SDK?

I used AIR3.2 and IOS 5.0&5.1, and it works fine. ad-hoc is also not problem from my side.

Can you privode more information?

Participating Frequently
April 10, 2012

Have exactly the same problem. Only when exporting with native extensions and for ad-hoc, startup screen freezes

ipa-debug works okay, ipa-test-interpreter also.. Really wierd.

I'm using AIR 3.3 & FDT 5.