Multiple Native Extensions in 1 project
Hi, I've already found a couple of post about this subject but the solutions do not seem to work for me.
I too had a problem with duplicate initializer functions so I fixed it like this:
- first ANE:
ContextInitializer
ContextFinalizer
ExtInitializer
ExtFinalizer
- second ANE:
MapContextInitializer
MapContextFinalizer
MapExtInitializer
MapExtFinalizer
My extension.xml of the second one looks like this:
...
<platform name="iPhone-ARM">
<applicationDeployment>
<nativeLibrary>libMapKitNatExt.a</nativeLibrary>
<initializer>MapExtInitializer</initializer>
<finalizer>MapExtFinalizer</finalizer>
</applicationDeployment>
</platform>
...
Seperately the ANE's work like they should, but if I try to build my project with both ane's this generic error pops up immediately after hitting the build button:
Error occurred while packaging the application:
Conflict in file name : compile.bat
Has anyone encoutered this before or knows how to fix it?
Thanks in advance,
Nico
