gibbz-one / air-maps-ane

Automatically exported from code.google.com/p/air-maps-ane
0 stars 0 forks source link

App crash while truing to use ANE #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!
I'm trying to start ipa with this ANE on iPad 1 but app crashes with this error:
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000008
Crashed Thread:  0

AIR SDK 3.3 Beta 3
iOS 5.1.1 (9B206)

code:
var map: Map;
map = new Map();
map.viewPort = new Rectangle(0,0,768,550);
map.visible = true;

If I comment out this code, app runs just fine.

I'm even using <renderMode>cpu</renderMode> like as at your example.
I compile ipa on Mac OS 10.7.3.

Hope I'm doing something wrong =\
Please, let me know if I'm doing something wrong or of you need some additional 
info to look into this issue.
Thanks!

Original issue reported on code.google.com by dmitry....@gmail.com on 11 May 2012 at 4:57

GoogleCodeExporter commented 9 years ago
Oops, sorry guys, it's my fault - I forgot to exclude swc!
All fine, thanks for your work!

Original comment by dmitry....@gmail.com on 11 May 2012 at 5:29

GoogleCodeExporter commented 9 years ago
Hi,
I have the same problem, with another extension.

What do you mean "you excluded the swc" ? 

thanks!

Original comment by PowZ...@gmail.com on 30 Jun 2012 at 1:25

GoogleCodeExporter commented 9 years ago
You need to link the swc externally and *NOT* Merge into Code

Original comment by shahme...@gmail.com on 30 Jun 2012 at 3:16

GoogleCodeExporter commented 9 years ago
Yeah, in case you're working with FlashDevelop, just right-click on swc, select 
Options... and choose "External library (not included)".

Original comment by dmitry....@gmail.com on 30 Jun 2012 at 4:57

GoogleCodeExporter commented 9 years ago

Original comment by shahme...@gmail.com on 25 Aug 2012 at 5:48

GoogleCodeExporter commented 9 years ago
In Flash CS6, what is the equivalent to external?  Is it setting the default 
linkage to runtime shared library instead of merged into code?  Those are the 
only two options.

Original comment by matt.ale...@gmail.com on 1 Nov 2012 at 3:55