Skip to main content
kollehel
Participating Frequently
February 18, 2015
Answered

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

  • February 18, 2015
  • 2 replies
  • 1700 views

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 has been closed for replies.
Correct answer abmishra

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

2 replies

Adobe Employee
June 11, 2015

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

Participating Frequently
June 11, 2015

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,

Adobe Employee
June 12, 2015

Thank you,

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

Roshan

Adobe AIR

kollehel
kollehelAuthor
Participating Frequently
February 18, 2015

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)

abmishra
Adobe Employee
abmishraCorrect answer
Adobe Employee
February 19, 2015

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

kollehel
kollehelAuthor
Participating Frequently
February 19, 2015

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