Highlighted

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

Engaged ,
May 08, 2018

Copy link to clipboard

Copied

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

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!

TOPICS
Air beta

Views

642

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

Engaged ,
May 08, 2018

Copy link to clipboard

Copied

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

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!

TOPICS
Air beta

Views

643

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 08, 2018 0
Engaged ,
May 17, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 17, 2018 1
Adobe Employee ,
May 24, 2018

Copy link to clipboard

Copied

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!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 24, 2018 2
el111 LATEST
Engaged ,
May 24, 2018

Copy link to clipboard

Copied

Thanks Amrita.

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 24, 2018 0