iOS Question Application crashes on resume

nwhitfield

Active Member
Licensed User
Longtime User
I've got a fairly complex application that mostly works fine, except that from time to time when resuming, it crashes - the last screen visible appears briefly, and then it quits and the user's dumped back to the home screen of their phone.

I've never managed to reproduce this in debug mode. On my test phone I've tried using iReleaseLogger, logging messages at each stage during Application_Active, but nothing appears, so it seems as if something it killing the app before it even gets to that stage, or so quickly that the log output isn't flushed and never makes it onto the network.

Some times, it works perfectly, and the app resumes, logging everything. I can't determine any pattern regarding how long it takes before the crash happens, or whether other apps have been used in the meantime - sometimes just switching away for a short time causes it, other times it can be in the background for several minutes and resume just fine.

I don't have a local mac with Xcode, so I can't check crash logs using that. Is there any other way to track down what is happening in a situation like this?
 

nwhitfield

Active Member
Licensed User
Longtime User
Yes, I am. There's a routine called in Application_Active that makes an http request to my server, to check connectivity, plus various other API requests.

Is that likely to be the issue?
 
Upvote 0
Top