Closed ckb2016 closed 7 years ago
Hey there, is it possible that you are not able to use code that references C++ STL? I don't really know anything about actionscript or ANE, but it looks like you're just not able to see some STL symbols. Maybe you could include the C++ and STL dylibs in your platformoptions.xml to test this theory?
Yes, that was the issue. I figured I was missing some dependency. Thank you.
Hi, I am trying to build an ane with the frameworks for an ActionScript mobile app. I can build the ane just fine. However, when I try to export a release build, I get this error:
Error occurred while packaging the application:
Undefined symbols for architecture armv7:
"ZNSt3112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6insertEmPKc", referenced from:
"ZNSt3112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm", referenced from:
"ZNSt3112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc", referenced from:
Here is my platformoptions.xml:
This is my extension.xml:
And this is my adt script:
adt -package -target ane RobotController.ane extension.xml -swc Interface.swc -platform iPhone-ARM -platformoptions platformoptions.xml -C ios/ . -platform default -C default/ .
I was wondering if anyone knew why this is failing. We can do apps in Objective-C or Swift, but we are more familiar with ActionScript. If we cannot get an ANE working, we can always do the apps entirely in Objective-C or Swift.