Skip to main content
Participant
December 24, 2014
Question

ADT Packaging fails on "Undefined symbols for architecture armv7"

  • December 24, 2014
  • 1 reply
  • 488 views

Hello,

When I pakage ipa by adt,  I get the following error:

ld: warning: ignoring file /var/folders/y3/wlgy71vs66bb89n2mfn3fjfr0000gn/T/766f6a2c-4dce-4b41-8253-ff6326218805/libcom.tb.ane.a, file was built for unsupported file format ( 0x62 0x6f 0x6f 0x6b 0x 0 0x 0 0x 0 0x 0 0x6d 0x61 0x72 0x6b 0x 0 0x 0 0x 0 0x 0 ) which is not the architecture being linked (armv7): /var/folders/y3/wlgy71vs66bb89n2mfn3fjfr0000gn/T/766f6a2c-4dce-4b41-8253-ff6326218805/libcom.tb.ane.a


Undefined symbols for architecture armv7:

  "_TBExtInitializer", referenced from:

      _g_com_adobe_air_fre_fmap in extensionglue.o

     (maybe you meant: _TBExtInitializer_name)

  "_TBExtFinalizer", referenced from:

      _g_com_adobe_air_fre_fmap in extensionglue.o

     (maybe you meant: _TBExtFinalizer_name)

ld: symbol(s) not found for architecture armv7

Compilation failed while executing : ld64

my platform.xml is:

extension.xml:

Does anyone have any advice on the error?  Thanks...

This topic has been closed for replies.

1 reply

abmishra
Adobe Employee
Adobe Employee
December 25, 2014

Please share the ANE you are using as well as the extension.xml,platform.xml to a dropbox location . One more point did you recreate your ANE for universal architecture. Please type in the command you are using to package the ipa.

Participant
December 25, 2014

Thanks for the reply.

I followed below link to change folders inside the 3rd party framework just a moment ago, and rebuilt my adt command, I got ipa without giving an error message.


3.外部フレームワークをプロジェクトに追加する

スタッフ日記 - 【ANE作成】外部フレームワーク を含むANE作成時の注意点(iOS) | 株式会社マリエッタ