I am writing an app in ActionScript for AIR on iOS. It loads embedded SWFs using a Loader and loadBytes. This works great (I'm using a LoaderContext as described in AIR>=3.5 docs).
However, as soon as I include native extensions that I need for my app, I start getting this familiar error:
Error #3747: Multiple application domains are not supported on this operating system.
Oddly, I was able to compile a few times after removing and re-adding the native extensions and deleting the "extensions" node from the application descriptor XML (though it is automatically re-inserted at build time, this seemed to be important). But I'm getting the error again and can't seem to replicate that workaround.
Anyone have a solution / workaround for this? I must use external SWFs and I must use the ANEs.
Any help is appreciated.