AIR for iOS app works perfectly in emulator, not at all on an actual iPad
I've cross posted this question to several forums, to twitter, and to adobe support portal several times over the past week and no one has been able to help, so I'm sorry if you've read this somewhere else already, I'm just getting a little desperate and I'm not sure who to ask.
I'm new to mobile development, so I'm really hoping I am doing some simple wrong, like a wrong checked box or something, and not that the AIR for iOS packager just doesn't work like it's supposed to.
I have an app that I have written for iPad. It's fully functioning when I run it through the emulator (I have to change it to Flash 10.1 and use Device Central because nothing else will accept touch events) but doesn't really work on the iPad. Some of the features work, and some don't. It's like it's just not quite compiling all the code, and I'm very confused.
There are multiple classes interacting with each other to create a puzzle based game. I can create new puzzle pieces, but they won't lock into place. They also won't highlight correctly and the name of each piece won't pop up. And every time I publish it, something different is wrong with it. It's like the compiler just can't quite get all the pieces to function together. One time I'll install it and the pieces will light up incorrectly but still lock into place. Another time they won't lock and the names won't display. Another time the names will display but they won't move around the screen correctly. I have no idea what's going on. It runs perfectly in the Device Central emulator.
I've tried publish testing using AIR for iOS (even though the app won't function at all in that debugger because it uses touch events) before I published to my iPad. Still doesn't work.
My publish settings:
Player: AIR for iOS (AIR 2.6)
Script: Actionscript 3.0
Included .swf, .xml, and all relevant .as class files (I also tried only including .swf and .xml files)
Published using quick publish for device testing
Are there some AS 3.0 features that won't work in iOS? If so it would be really great to have a list of those somewhere.
What am I doing wrong? Why won't my app work on an actual device if it tests perfectly in the emulator?
Thank you! ![]()
