Highlighted

ip-ad-hoc freezes AIR Application when using ANE

New Here ,
Jul 28, 2014

Copy link to clipboard

Copied

We are developing at Ludia games for Iphone/Ipad and Android using Air 4.0

Our game requires the use of third parties ANE, compiled externally, which so far has been successful in their use.

We then started developing our own ANEs, it hasn't been a problem on Android, but we are now facing troubles regarding IOS development.

When we package our application using ipa-ad-hoc, it just freezes during launch. Scout doesn't seem to have any instance, and the console from Iphone Config Utility doesn't provide any information on what causes the crash.

With other targets, such as ipa-debug-interpreter, or ipa-test, our application starts correctly and is playable.

After going through the forums we found a similar problem here:

https://forums.adobe.com/message/4008439#4008439#4008439 and decided to implement that solution.

We use Maven to compile our application so we've added in our pom file, for our swc dependency:

<scope>external</scope>

Our project was then running smoothly using ipa-ad-hoc.

Now our problem shows up again when using a second ANE, packaged the exact same way. As soon as we add a second ane/swc in our project, the game freezes again at launch when target is set to ipa-ad-hoc.

We believe we must be doing something wrong regarding the compilation of our ANE, but we can't seem to find where exactly.

We have an example repository to show how our project would be setup, Ludia / ane-test — Bitbucket

Here, the bug is reproducible 100% with it.

- air-myane, and air-mysecondane contains our ANE.

- finalproj is our final project that includes the dependencies to both ANE.

It's possible to test each ANE individually, by using the example module on each of them.

As explained before, the bug doesn't occur in this context if we set their swc's scope to external.

However finalproj example will immediately freezes at launch. We notice the bug also only when we start instantiating one of the Actionscript class

from the ane in finalproj/example. Not by just having the dependencies mentioned in the pom file.

Any help would be greatly appreciated.

TOPICS
Development

Views

201

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

ip-ad-hoc freezes AIR Application when using ANE

New Here ,
Jul 28, 2014

Copy link to clipboard

Copied

We are developing at Ludia games for Iphone/Ipad and Android using Air 4.0

Our game requires the use of third parties ANE, compiled externally, which so far has been successful in their use.

We then started developing our own ANEs, it hasn't been a problem on Android, but we are now facing troubles regarding IOS development.

When we package our application using ipa-ad-hoc, it just freezes during launch. Scout doesn't seem to have any instance, and the console from Iphone Config Utility doesn't provide any information on what causes the crash.

With other targets, such as ipa-debug-interpreter, or ipa-test, our application starts correctly and is playable.

After going through the forums we found a similar problem here:

https://forums.adobe.com/message/4008439#4008439#4008439 and decided to implement that solution.

We use Maven to compile our application so we've added in our pom file, for our swc dependency:

<scope>external</scope>

Our project was then running smoothly using ipa-ad-hoc.

Now our problem shows up again when using a second ANE, packaged the exact same way. As soon as we add a second ane/swc in our project, the game freezes again at launch when target is set to ipa-ad-hoc.

We believe we must be doing something wrong regarding the compilation of our ANE, but we can't seem to find where exactly.

We have an example repository to show how our project would be setup, Ludia / ane-test — Bitbucket

Here, the bug is reproducible 100% with it.

- air-myane, and air-mysecondane contains our ANE.

- finalproj is our final project that includes the dependencies to both ANE.

It's possible to test each ANE individually, by using the example module on each of them.

As explained before, the bug doesn't occur in this context if we set their swc's scope to external.

However finalproj example will immediately freezes at launch. We notice the bug also only when we start instantiating one of the Actionscript class

from the ane in finalproj/example. Not by just having the dependencies mentioned in the pom file.

Any help would be greatly appreciated.

TOPICS
Development

Views

202

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 28, 2014 0

Have something to add?

Join the conversation