Skip to main content
Participant
February 27, 2014
Question

Bundle not found when compiling APP with ANE

  • February 27, 2014
  • 1 reply
  • 467 views

Hi,

I created a ANE which uses a external framework. I could make to compile the ANE but when I use it in my iOS APP the framework ask for a bundle (a package of resources). Actually I can see the the resource bundle inside of my ANE but when I compile the APP the bundle is not moved to the top level folder as iOS requires and then probably is the reason why the framework fails to locate the bundle.

Can you help me? Thanks!

This topic has been closed for replies.

1 reply

User Unknow
Legend
February 27, 2014

I don't worked yet with boundles excluding Settings but if there is the same mechanism - try to embed your boundle to the project.

For example using Flash Professional this can be done like this:

http://swfhead.com/blog/wp-content/uploads/2011/09/3_3.png

So simply copy your Boundle near your Fla and add it as folder.

Participant
February 28, 2014

Thanks for your help Anton. I could manage it by just adding the bundle file to my compiler line in this way:

$"$COMPILER/adt" -package -target ane bin/MyANE.ane extension.xml -swc MyANE.swc -platform iPhone-ARM library.swf -platformoptions platform.xml libMyANE.a ExternalFramework.framework File.bundle -platform default library.swf

In this way when the ANE is compiled with the iOS APP the File.bundle is added at the top of the IPA file.