While trying to write a iOS Native Extension for ZXingObjC (https://github.com/TheLevelUp/ZXingObjC), the following link error shows up when exporting in Flash Builder 4.x:
--------
Error occurred while packaging the application:
Undefined symbols for architecture armv7:
"___divmodsi4", referenced from:
+[ZXEncoder numDataBytesAndNumECBytesForBlockID:numDataBytes:numRSBlocks:blockID: numDataBytesInBlock:numECBytesInBlock:error:] in libcom.google.zxing.ZXingNativeExtension.a(ZXEncoder.o)
+[ZXAztecEncoder encode:len:minECCPercent:] in libcom.google.zxing.ZXingNativeExtension.a(ZXAztecEncoder.o)
+[ZXAztecEncoder generateCheckWords:totalSymbolBits:wordSize:] in libcom.google.zxing.ZXingNativeExtension.a(ZXAztecEncoder.o)
ld: symbol(s) not found for architecture armv7
Compilation failed while executing : ld64
--------
This happens in Flash Builder 4.6 or 4.7 using AIR SDK 3.7
This isn't my first Native Extension for iOS. No amount of fiddling around with adding frameworks or libraries in Xcode to the static library works.
Looking for guidance on what to try next to resolve this linker error...