Hi,
I have an app (written using the Game Edition Beta) which runs fine in the Corona Simulator but I have some intermittent crashes on the Xcode Simulator and on the actual device.
-
On the Xcode Simulator everything seems to run 100% including exiting the app (by press the home button) and then re-starting it (which restarts the app, no actual multi-tasking, which is fine by me). But sometimes (and only sometimes) the app crashes very shortly after startup. At first I thought it was something I had done in my code, but in the end I replaced the main.lua with something very simple and it still crashed. What I discovered is that if I delete the app from the Xcode Simulator and then re-build for the Xcode simulator it works fine again (for a while).
-
On the device if I exit the app (with the home button) and then re-start the app, the screen appears as it was on exit and then the app crashes. At this point, if you start it again, it run fine until the next suspension.
Has anyone got any clues on how I can find the cause of these errors… The main is basically ready to ship but point 2) makes it appear like poor software.
I will try playing with applicationSuspend to see if I can find a way around this.
Thanks,
Gary
PS. I am using a 3rd generation iPod touch with iOS 4.0, Xcode 3.2.3 and the Game Edition Public Beta. [import]uid: 4415 topic_id: 1905 reply_id: 301905[/import]