alebianco / ANE-Google-Analytics

Air Native Extension for Google Analytics on iOS and Android
http://alebianco.github.io/ANE-Google-Analytics/
MIT License
133 stars 44 forks source link

Unable to build IPA with AIR15 ASC2.0 #55

Open Matan opened 10 years ago

Matan commented 10 years ago

Hi,

Adobe release a hot-fix SDK to allow AppStore submission with the release of iOS8. Details here: https://forums.adobe.com/thread/1584796?start=120&tstart=0

Unfortunately compilation with the GA ane v2.0.7 RC2 renders the build a failure. Here is the compile 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

Any help? Suggestions? Android build works fine. For now my iOS app is submitted without tracking.

Thanks, Matan

kobydo commented 10 years ago

Same here.

alebianco commented 9 years ago

An investigation on the ASC2.0 and the AOT compiler for iOS is going on for the next milestone. so far i didn't had much luck. For now i can only guarantee it works with the legacy compilers ...

therabbitwindfall commented 9 years ago

This bugs appears when you compiling ANE for simulator and trying to make device ipa and you not included all architecture. You must select armv7, armv7s, arm64