Generating Crash Reports from iPhone apps
It wasn’t obvious to me how to generate a crash dump from an iPhone add hoc deployment. It turns out that the iPhone OS creates a record of the crash event when it occurs. The next time you connect your device to iTunes, iTunes downloads the crash dump to your computer automatically.
Crash Reports on Macs
-
Open a new finder window.
-
Choose Go > Go to Folder.
-
Enter
~/Library/Logs/CrashReporter/MobileDevice
. -
Find the folder named after your device and go in there.
-
There should be a file named after the application you’re testing.
Crash Reports from Windows
There are 2 places where windows may place your crash dump, replacing with your Windows user name shows them below.
Crash log storage on Windows Vista
C:\Users\\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice |
Crash log storage on Windows XP
C:\Documents and Settings\\Application Data\Apple computer\Logs\CrashReporter |
Once again, there is a folder named after your device’s name and a crash logs for the application you’re testing.