Crash Reports on the iPhone

2 Feb
2010

Apples Crash Reporting sucks. Period. Much too slow, and when you need it most (AdHoc) it’s not there at all.

And tell your Tester to zip and send the crash logs. They won’t even find it!

But there’s light! The combined powers of PLCrashReporter and Infinite Labs awesome implementation come to the rescue!

Everything is open source and you can download a real app as example. Be sure to check out the Mover App… there’s awesome stuff in it!

The Result: Your App crashes (oops) the user starts it again, a AlertView pops up (I call it the Crash Reporter) and the user has the possibility to send you the Crash Logs.

Once you have the data, plcrashutil (unter Tools in the PLCrashReporter dmg) converts the data into an iPhone Crash Report. (Be sure to copy plcrashutil to /usr/local/bin)

plcrashutil convert --format=iphone crashrep.plcrash | symbolicatecrash

If you have your App and the Symbolication File on your disk, symbilcatecrash will find it and show you the symbolicated stackstrace.

Related posts:

  1. HowTo: AdHoc distributing an iPhone app
  2. iPhone Piracy
  3. Better iPhone/Mac logging with GTMLogger
  4. Blocks on the iPhone – PSAlertView
  5. CoreData and mergeChangesFromContextDidSaveNotification

Comment Form

top

Switch to our mobile site