tags:

views:

2567

answers:

3

When using one's own iPhone for development it's easy enough to access any crash logs via XCode->Organizer->Crash Logs.

How does one access crash logs on another person's phone if they don't have it set up for development in XCode, as would likely be the case if you were distributing your app to them via ad hoc distribution for beta testing?

+11  A: 

Two ways:

  • iTunes syncs all crash reports during a regular sync. They can be found in Library/Logs/CrashReporter/MobileDevice on a Mac and probably somewhere in %APPDATA% on Windows.

  • You can use the iPhone Configuration Utility for Mac OS X on any Mac to access the phone's console and crash logs. Note: the iPhone Web Configuration Utility, which is available for Windows and Mac (note the "web" in the name) does not allow this kind of access and only provides a portion of the Configuration Utility's features. Er, no you can't. Xcode provides this facility in the Organizer (from the Window menu), but not iPCU.

millenomi
The iPhone link above is broken. This one works for now, or, I suppose, you could always Google it... http://support.apple.com/downloads/iPhone_Configuration_Utility_2_0_for_Mac_OS_X
Dan Fabulich
The iPhone Configuration Utility 2.0 for Mac OS X will let you save the console logs, but I can't find anything regarding crash logs in it. Am I missing something?
Jon-Eric
Edited to fix the error.
millenomi
+4  A: 

http://www.ispeeddial.com/how-to-find-the-crash-log-for-an-iphone-application/

This will also be helpful;

http://furbo.org/2008/08/08/symbolicatifination/

Andrew Grant
first link is broken
Clay Bridges
+2  A: 

Related to what @millenomi said - from what I can tell, crash logs are downloaded when you connect your iPhone to the computer, not when you sync the phone via iTunes. If your users have iTunes configured to not sync on connection, knowing this can save them the time of syncing. Along those same lines, if your application crashes while it's connected to a computer, simply syncing via iTunes is not enough to download crash logs - I've found that I need to disconnect and reconnect the phone to the computer.

I've only tested this on iPhones and iPod touches that are configured as development devices. Don't know if this makes any difference.

Jablair