I'm moving my projects to new sdk (4.13 air 15).
When I used SDK 4.10 I had no such a problem. But now I'm stuck.
I've got evertything compiled and everything worked except one thing.
My application is designed for Desktop, Android and iOS.
The problem is that when I package it for iOS as native like
/adt -package -target ipa-debug.../
or
/-package -target ipa-ad-hoc.../ (it's not in app store yet)
It raises strange error in one of 3rd party classes (exactly in
org.granite.math.BigDecimal) constructor.
When I change the package method to /ipa-debug-interpreter/ that makes no
native compilation and leave the actionscript code uncompiled the issue
disappears and everything works as before (on 4.10)
The messages I get from runtime when I do
/new BigDecimal("265937.23"); // <-- exception is here/
look like an inadequate:
/[Fault] exception, information=TypeError: Error #1034: Type Coercion
failed: cannot convert "0000000000" to org.granite.math.Radix./
In other place It looks like this
/[Fault] exception, information=TypeError: Error #1034: Type Coercion
failed: cannot convert org.granite.math::MutableBigInteger [ at ] 9d186e9 to
org.granite.math.BigInteger./
It looks like the generated native code is corrupted because when I skip the
translation (interpreter mode) I got it worked. It also works fine on
Desktop and Android.
Suggestions?
When I used SDK 4.10 I had no such a problem. But now I'm stuck.
I've got evertything compiled and everything worked except one thing.
My application is designed for Desktop, Android and iOS.
The problem is that when I package it for iOS as native like
/adt -package -target ipa-debug.../
or
/-package -target ipa-ad-hoc.../ (it's not in app store yet)
It raises strange error in one of 3rd party classes (exactly in
org.granite.math.BigDecimal) constructor.
When I change the package method to /ipa-debug-interpreter/ that makes no
native compilation and leave the actionscript code uncompiled the issue
disappears and everything works as before (on 4.10)
The messages I get from runtime when I do
/new BigDecimal("265937.23"); // <-- exception is here/
look like an inadequate:
/[Fault] exception, information=TypeError: Error #1034: Type Coercion
failed: cannot convert "0000000000" to org.granite.math.Radix./
In other place It looks like this
/[Fault] exception, information=TypeError: Error #1034: Type Coercion
failed: cannot convert org.granite.math::MutableBigInteger [ at ] 9d186e9 to
org.granite.math.BigInteger./
It looks like the generated native code is corrupted because when I skip the
translation (interpreter mode) I got it worked. It also works fine on
Desktop and Android.
Suggestions?