Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Error creating arm64 compatible ANEs

Participant ,
Dec 17, 2014 Dec 17, 2014

I'm trying to create ANEs with arm64 support with no success so far.

My native libraries are compiled for both armv7 and arm64 since lipo -info confirms so, however ADT still outputs:

"Error: Apple App Store allows only universal applications. This ANE must have a universal iOS binary. Please change build settings in Xcode project to "Standard Architecture" to create universal library."

Do I need to change something in my ADT commandline? I tried several ANEs and had problems with all of them. Could anyone provide further information or tips?

TOPICS
Air beta
16.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 17, 2014 Dec 17, 2014

Have the exact same problem. A simple ANE systematically fails with the same error.

XCode 6.1.1

ARCHS_STANDARD, arm64 armv7 armv7s

swc compiled with air16 and swfversion=27

air16 adt with command:

-package,-target,ane,/xxxxxx.ane,extension.xml,-swc,xxxx.swc,-platform,default,-C,default,library.swf,-platform,iPhone-ARM,-C,iPhone-ARM,.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 17, 2014 Dec 17, 2014

I also tried setting the extension descriptor namespace to AIR 16.0, but got the same result. Maybe some specific option is needed in the platforms option XML?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 17, 2014 Dec 17, 2014

Can you please share your ANE, app.xml ,swf file and assets(if any) , so that I can look this at my end. Please share this at abmishra@adobe.com.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 17, 2014 Dec 17, 2014

Just sent you an email with all my files. All my ane compile and work fine in AIR15, none compile in AIR16 (they all fail with error mentioned here)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 17, 2014 Dec 17, 2014

I did not get your mail, can you please try resending it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 18, 2014 Dec 18, 2014

I sent it again. It doesn't come back as undelivered.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 17, 2014 Dec 17, 2014

Can you please share your ANE, app.xml ,swf file and assets(if any) , so that I can look this at my end. Please share this at abmishra@adobe.com

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 17, 2014 Dec 17, 2014

Mail sent, thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 17, 2014 Dec 17, 2014

Thanks, I got the libNativeMaps.a but please share the swf, ANE and app.xml so that I can try creating ipa at my end.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 21, 2014 Dec 21, 2014

After further tests I've discovered it seems to be some problem with the AIR SDK for Flex developers, the ANEs compile fine using the one with ASC 2.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 22, 2014 Dec 22, 2014

What I believe , this is not related to ASC1 or ASC2.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 22, 2014 Dec 22, 2014

I agree it should not be related, after all, ADT is independent from MXMLC and ASC2, but the same files using the same command line compile fine with the ASC2 package, while the other gives the error posted in the original thread. A bad archive was distributed? maybe we uncompressed the files the wrong way? I've always done it the same way (the same way I did for the ASC2 package as well), but will try again later today and post back. Would be nice to get some feedback from superduperjmas.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 22, 2014 Dec 22, 2014

I will try today and post my results.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 22, 2014 Dec 22, 2014

I got the same error with both.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 23, 2014 Dec 23, 2014

Is there any progress on this? After February I won't be able to publish anything if this is not solved by then.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 23, 2014 Dec 23, 2014

Have you confirmed your native library is built for both amv7 and arm64?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 23, 2014 Dec 23, 2014

Has to be using the standard arch with ioS device as target as posted in my first reply. This is the standard Xcode setting anyway. Is there anything else that needs to be set?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 23, 2014 Dec 23, 2014

can you share your swc,.a file, extension.xml and other resources to me, I did not get you mail last time, it will be good if you can share it via dropbox.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 24, 2014 Dec 24, 2014

There are 3 options to check, from memory, both architectures and valid architectures have to include armv7 and arm64, and also build only active architectures has to be No.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 24, 2014 Dec 24, 2014

Ok I checked my binary using lipo and I got this:

Architectures in the fat file: xxxxxxxx.a are: armv7 arm64

So this should mean that I do have my universal library correct? And so it means that the error thrown by adt is just wrong and misleading.

(both my emails were delivered without problems, please check your spam folder)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 24, 2014 Dec 24, 2014

Are you on Mavericks or Yosemite? I was on Mavericks and moved to Yosemite, but I think it should work on both. I haven't tested again with the Flex SDK yet.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 25, 2014 Dec 25, 2014

Hi ,

I am sorry but I could not see any mail in my mail client, checked other folders too. If you want me to step in to diagnose the issue kindly share it somewhere on dropbox.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 29, 2014 Dec 29, 2014

Files are available here: http://angrybot.us/ExAlertAne.zip

They contain the AIR 15 version working fine and the AIR 16 version not compiling. In the 16 version the .a is an universal .a with both armv7 and arm64 enabled, the swc is on version 27.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 29, 2014 Dec 29, 2014

It seems you are missing a platform XML for your native library, maybe the problem is there.

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