Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do YOU handle crashes in your iPhone apps?

If been looking around the web and can't seem to find any good solutions to sending allowing your user to submit bug reports from your iPhone app.

How do you handle crashes and exceptions?

  • Do you send the error user-data to a server,
  • grab a log file from somewhere and attach,
  • or do you ignore it and pretend it never happened?

Anybody got any experience with this?

Update

I am aware of how to prepare you software testing it with Static Analysis, Leak Detection, User Testing etc.

But errors might still happen when a user (mis)using my software. Always assume your user is trying to break your software.

What I want to figure out is how (I, or rather the app) can provide me with useful data when/if errors happen. As they do even in top quality products – like my own ofc. :)

I'm looking anyone that has experience with allowing the use to send error reports, stack traces, logs etc. to see how they handle the problem.

like image 496
Thomas Børlum Avatar asked Jul 29 '10 22:07

Thomas Børlum


2 Answers

You can also try BugSense. It's free, realtime, error reporting for iOS

PS: I am one of the founders.

like image 28
Jon Romero Avatar answered Oct 01 '22 18:10

Jon Romero


Some people use built-in analytics like Flurry which will post exception data to Flurry's website which you can review later.

Also, Apple has a "crash log" reporting area on iTunes Connect, but I'm not sure if it works since I've yet to see something come through and I kinda doubt each and every person has run my apps flawlessly. Not saying I write poor code (hopefully), but not every device is created equal either so I have to imagine it has crashed at least ONCE. There's always the option of logging and sending to a server later though.

Most of the time though, if you give users your e-mail address within the app itself (like on an instructions or about screen), they will e-mail me about any issues. That's a little bit nicer since it gives you a chance to correct the issue before they hit the review forms on iTunes.

like image 135
iwasrobbed Avatar answered Oct 01 '22 20:10

iwasrobbed