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?
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.
From Apple's Technical Note TN2151:
For applications that have been distributed using Ad Hoc or Enterprise methods, getting crash reports requires user cooperation. Specifically, the user will need to retrieve the crash report from the directory where it was copied by iTunes. Depending on the platform, the directory is:
Mac OS X: ~/Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME>
Windows XP: C:\Documents and Settings\<USERNAME>\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>
Windows Vista or 7: C:\Users\<USERNAME>\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>
<USERNAME>
is the user's login name for the computer. <DEVICE_NAME>
is the name of the iPod touch or iPhone, for example, "John's iPhone".
You are only interested in .crash files. The crash report's file name begins with the application name and contains date/time information. In addition, <DEVICE_NAME>
will appear at the end of the file name, before the extension.
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With