Skip to main content
Frédéric C.
Inspiring
January 3, 2015
Question

Undefined symbols for architecture armv7 (AIR 16)

  • January 3, 2015
  • 1 reply
  • 7461 views

Hi,

When trying to generate an IPA with AIR 16.0.0.250, I get the following error:

Undefined symbols for architecture armv7:

  "___divmodsi4", referenced from:

      __ZN12BlockedCodec12CalcGridSizeEiiPi in libRuntimeHMAOT.arm-air.a(ZlibCodec.o)

      __ZN12BlockedCodec11SetupBlocksEii in libRuntimeHMAOT.arm-air.a(ZlibCodec.o)

  "___udivmodsi4", referenced from:

      __ZN11FlashString9AppendIntEli in libRuntimeHMAOT.arm-air.a(flashstring.o)

      __ZN7avmplus6String12hashCodeUIntEj in libRuntimeHMAOT.arm-air.a(StringObject.o)

      _sqlite3BitvecSet in libRuntimeHMAOT.arm-air.a(sqlite3_all.o)

      _sqlite3BitvecTest in libRuntimeHMAOT.arm-air.a(sqlite3_all.o)

      _sqlite3BitvecClear in libRuntimeHMAOT.arm-air.a(sqlite3_all.o)

      __ZL10II_samplesP10mad_bitptrPK10quantclassPl in libRuntimeHMAOT.arm-air.a (layer12.o)

      __ZL14scale_rationalmmm in libRuntimeHMAOT.arm-air.a(madtimer.o)

      ...

ld: symbol(s) not found for architecture armv7

Compilation failed while executing : ld64

If I go back to AIR 15, everything works fine. Here is the command line I use:

adt -package -target ipa-app-store -keystore "keys\CertificatsDev.p12" -storetype pkcs12 -storepass XXX -provisioning-profile "keys\app.mobileprovision" application.ipa application.xml app.swf icons Default.png Assets -extdir Libs\extensions

Do you know what may cause this issue please? Is there a workaround?

Thank you!

Frédéric

This topic has been closed for replies.

1 reply

Adobe Employee
January 5, 2015

Hi,

Can you please share a sample app to help us analyse the problem?

Thanks

Govinda Gupta

Frédéric C.
Inspiring
January 5, 2015

Hi Govinda,

Thank you for your reply. While trying to make a sample for you, I identified the cause of the problem. It is due to using the StickSports in-app purchase extension, available here: https://github.com/StickSports/ANE-In-App-Purchase

So by just adding this line in my application.xml:

<extensions>

        <extensionID>com.sticksports.nativeExtensions.InAppPurchase</extensionID>

</extensions>

the IPA generation creates the error above. The extension has not been updated for 3 years, so I don't know if just recompling it would be enough. I don't own a MAC (I create my app on PC), so if a good soul would be willing to build it for me with latest XCode, I'd be extremely grateful!!!

Thank you!

Adobe Employee
January 9, 2015

Thanks for sharing the details,

We are able to reproduce the problem at our end and investigating it further.

Regards,

Jitender