Skip to main content
Legend
May 8, 2018 7:13 PM UTC
Answered

AIR 30 Beta - adt error when including Swift dylibs for Swift ANEs

sourabhg49443930​

I have already mentioned this in https://tracker.adobe.com/#/view/AIR-4198407 but also adding here for visibility.

When using AIR 30 Beta, Packaging for "Apple App Store Distribution" produces the following error.

This happens when adt finishes slicing libswiftCore.dylib into it's 32 and 64bit variants.

My project is setup correctly with Frameworks folder and Swift 4.1 dylibs in there.

Everything works correctly with AIR 29.

unexpected failure: null

java.lang.NullPointerException

at com.adobe.air.ipa.MachoSigner.newEntitlementBlob(MachoSigner.java:539)

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

  at com.adobe.air.ipa.IPASigner.signMacho(IPASigner.java:297)at com.adobe.air.ipa.IPAOutputStream.finalizeFrameworkSig(IPAOutputStream.java:1757)

  at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:111)

  at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:295)

  at com.adobe.air.ADT.parseArgsAndGo(ADT.java:696)

  at com.adobe.air.ADT.run(ADT.java:485

  at com.adobe.air.ADT.main(ADT.java:535)

You should be able to reproduce with your own project from

Swift based ANE for iOS/tvOS.

Alternatively you can use any of mine eg

ML-ANE/example-mobile at master · tuarua/ML-ANE · GitHub

This topic is closed to new replies. Start a new post to keep the conversation going.
Amrita Gangwani
Amrita GangwaniCorrect answer
Adobe Employee
May 24, 2018 4:41 PM UTC

Hi,

The issue has been fixed in our latest beta release. You may download the beta from Download Adobe AIR 30 Beta - Adobe Labs

Thanks!

3 replies

Amrita Gangwani
Adobe Employee
Amrita GangwaniCorrect answer
Adobe Employee
May 24, 2018 4:41 PM UTC

Hi,

The issue has been fixed in our latest beta release. You may download the beta from Download Adobe AIR 30 Beta - Adobe Labs

Thanks!

Translate
el111Author
Legend
May 24, 2018 6:33 PM UTC

Thanks Amrita.

I have used latest beta and confirm it resolves the error.

Translate
el111Author
Legend
May 17, 2018 8:47 PM UTC

Still observing NullPointerException with 30.0.0.96 when packaging for "Apple App Store Distribution"

Translate