Skip to main content
Participant
Feb 15, 2012 9:03 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

7 replies

Participating Frequently
Apr 11, 2012 2:26 PM UTC

Did switching to FB fix the problems for you?

Translate
JoeP79Author
Participant
Apr 11, 2012 2:30 PM UTC

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

Translate
Participating Frequently
Apr 10, 2012 10:09 PM UTC

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

Translate
JoeP79Author
Participant
Apr 11, 2012 2:04 PM UTC

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?

Translate
Inspiring
Apr 10, 2012 9:46 PM UTC

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?

Translate
Participating Frequently
Apr 10, 2012 9:12 PM UTC

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.

Translate