Game crashes on iPhone just after I open it!

Hi,

I was working on Corona, doing builds on iPhone and everything was working, and suddenly I made a new build for my game, put it on iPhone and it crashes just after I open it. I checked all my code, still crashes. Opened a project from corona sample projects, built it on my phone, crashes also. I have made a new empty project, and still crashes. It does not even open.

What’s wrong? Everything was working and suddenly this happened! [import]uid: 133064 topic_id: 25618 reply_id: 325618[/import]

BTW, it’s working on the simulator. Just crashes on the device. [import]uid: 133064 topic_id: 25618 reply_id: 103504[/import]

The number #1 cause of this is a file name with the wrong case. Mac OS-X’s operating system by default ignores case on filenames. iOS however is using a case sensitive filesystem.
You’re best bet is to tether your device to your Mac, use XCode’s Organizer, and view the Console log. Launch your app and see what error message your app is spewing.

[import]uid: 19626 topic_id: 25618 reply_id: 103530[/import]

Are you sure it is actually crashing?

The only thing similar I have experienced is click the app, screen flashes and app closes. Looks like a crash however it was the provisioning profile. It was either expired or the time/date on the device was not current (set to 1969 or something because the device went completely dead and reset it). If what’s happening is similar, that could be the issue. Since you are saying everything you build “crashes” I would lean towards your provisioning profile used to build your apps is at fault.

It’s at least something to look into to. [import]uid: 56820 topic_id: 25618 reply_id: 103604[/import]