Skip to main content
Legend
May 8, 2018
Answered

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

  • May 8, 2018
  • 2 replies
  • 1031 views

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

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!

2 replies

Amrita Gangwani
Adobe Employee
Amrita GangwaniCorrect answer
Adobe Employee
May 24, 2018

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!

el111Author
Legend
May 24, 2018

Thanks Amrita.

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

el111Author
Legend
May 17, 2018

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