Native extension - compiler issue
Hi,
First, I compile an iOS app with a native extension developped by ADOBE : http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/vibration.html#articlecontentAdobe_numberedheader_3
It's work well
Then, I made myself the iOS library on xcode. It's OK as well
Then, I made the ANE file following the tutorial http://custardbelly.com/blog/2011/09/21/air-native-extension-example-ibattery-for-ios/. It's seem OK
I create my air app with Flash Builder. I load ANE, SWC...everything seem ok
When I compile my Iphone Application with Flex, there is this error :
An erreor appears during the application packaging (my translation):
ld warning: in C:\\Users\\Tony\\AppData\\Local\\Temp\\c6468656-be35-4f05-8d51-0dd54063cefd/libcom.adobe.LEDTorch.a, file is not of required architecture
Undefined symbols:
"_ExtFinalizer", referenced from:
_g_com_adobe_air_fre_fmap in extensionglue.o
"_ExtInitializer", referenced from:
_g_com_adobe_air_fre_fmap in extensionglue.o
ld: symbol(s) not found
Compilation failed while executing : ld64
.
Someone could help me?
I'm working on this bug for 2 days
Thanks in advance !
Emmanuel
