Skip to main content
kollehel
Participating Frequently
Feb 18, 2015 9:24 PM UTC
Answered

AIR 17 ADT package for iOS fails when using both "-hideAneLibSymbols yes" and "-useLegacyAOT no"

Hi,

I have a strange issue, and could't fine the answer yet on any forum.

AIR version: 17.0.0.99

The command line ADT package for iOS fails when I'm adding both "-hideAneLibSymbols yes" and  "-useLegacyAOT no" and if it also contains such .ane native extensions, which have been updated to support iOS arm64. If I remove the "-hideAneLibSymbols yes" part from the command line, it works fine, but I need to use that as well, since I'm using multiple native extensions, and otherwise I'm getting the duplicate symbol error. So, it seems to me, that if hideAneLibSymbols is also there, then the useLegacyAOT is not taken into consideration.


This is how I tried to package it:

adt -package -target ipa-test -hideAneLibSymbols yes -useLegacyAOT no -keystore ../certificates/asd.p12 -storetype pkcs12 -storepass asdasd -provisioning-profile ../certificates/asd.mobileprovision asd.ipa asd-app.xml asd.swf assets icons -extdir anes


How could I solve this issue? I used to compiled the .ipa files using Flash Pro CC 2014, but now I can not, since I can't add in there the hideAneLibSymbols yes.

Thank you,

Lehel

This topic is closed to new replies. Start a new post to keep the conversation going.
abmishra
abmishraCorrect answer
Adobe Employee
Feb 19, 2015 5:59 AM UTC

Please try it with latest beta "Adobe AIR 17 Beta | application development - Adobe Labs" and let us know if you still see any issues.

9 replies

Adobe Employee
Jun 11, 2015 4:59 PM UTC

Hi kollehel‌,

We are able to reproduce the issue with the Social.ane at our end.

Our team will be looking into this in coming days.

Hi,alanglois‌

If it is possible for you kindly attach the ane's on which you are facing issue such that we can reproduce with them as well.

Roshan

Adobe Air

Translate
Participating Frequently
Jun 11, 2015 9:00 PM UTC

Yes,

I actually found out it was this specific ANE : distriqt // air native extensions

causing the problem. I reported the issue here: https://github.com/distriqt/ANE-Compass/issues/6

I just give you the link cause you have to pay in order to be able to use it. Hope it's enough.

Thx for your fast reply.

Best,

Translate
Adobe Employee
Jun 12, 2015 10:21 AM UTC

Thank you,

We will look into this and update you all when we have a Fix or a Workaround.

Roshan

Adobe AIR

Translate
kollehel
kollehelAuthor
Participating Frequently
Feb 18, 2015 9:30 PM UTC

This is the error:

ld: in section __DATA,__objc_classrefs reloc 5: R_ABS reloc but no absolute symbol at target address for architecture arm64

unexpected failure: null

java.lang.NullPointerException

        at java.io.RandomAccessFile.<init>(Unknown Source)

        at com.adobe.air.ipa.MachoSigner.sign(MachoSigner.java:97)

        at com.adobe.air.ipa.IPASigner.signMacho(IPASigner.java:107)

Translate
abmishra
Adobe Employee
abmishraCorrect answer
Adobe Employee
Feb 19, 2015 5:59 AM UTC

Please try it with latest beta "Adobe AIR 17 Beta | application development - Adobe Labs" and let us know if you still see any issues.

Translate
kollehel
kollehelAuthor
Participating Frequently
Feb 19, 2015 7:23 AM UTC

Yes, it works with the new AIR 17.0.0.115! Thank you!

Translate