Failing to package air application to .ipa, and I have no clue why?
Evening
Im hoping some of you guys have had similar issues and can tell me what to do to fix it.
Im trying to package my air application to get a .ipa file that I can upload to iTunes connect and test on testflight. I have searched for a solution a few hours now but have come up short.
When im trying to package the Air application I get the below message, but I have no clue what this means? can you guys see what im doing wrong?
5:41 PM Failed to package AIR application BamsesVerden.ipa:
0 compile-abc-64 0x000000010e38b808 llvm::sys::PrintStackTrace(__sFILE*) + 40
1 compile-abc-64 0x000000010e38bce4 SignalHandler(int) + 452
2 libsystem_platform.dylib 0x00007fff8b7b9b3a _sigtramp + 26
3 compile-abc-64 0x000000010e7a8598 MMgc::heapSpace + 0
4 compile-abc-64 0x000000010d78369e halfmoon::Cleaner::simplify(halfmoon::BlockEndInstr*) + 526
5 compile-abc-64 0x000000010d784253 halfmoon::cleanBlocks(halfmoon::Context*,...
[Full error message]
[ADT command line]
I appreciate any attempt to answer this, thanks.
Please sign in to leave a comment.
I'm afraid I have no idea.
You know, IDE simply calls the ADT tool from the AIR SDK and this error comes from that tool. It looks like a low-level compiler error but this observation doesn't help. The only thing I can recommend is trying a different AIR SDK version.
Also, you may try to simplify the application up to the point when it stops throwing an error and thus localize the problematic fragment.If you find the cause you may report the issue to Adobe.
Thanks for your reply Alexander, after realizing this was error belonged to the AIR SDK, I started digging through the code. and after hours of painful debugging I found what caused the error. The error was caused by a an empty switch case.
DID NOT WORK:
switch (myInt){
case 1:
break;
}
DID WORK:
switch (myInt){
case 1:
someFunction();
break;
}
I hope this helps somebody
Great!
If this is reproducible with the latest AIR SDK please file an issue in the Adobe AIR SDK issue tracker.