Retrieve crash logs
If an app crashes, please follow these instructions to collect your crash-log and forward it to your developer. Every developer is interested in collecting all crash-logs, as it is our goal to make sure that your app never crashes, and these are a great aid to that end.
- Sync your device using iTunes
- Navigate to your crash-logs folder
- Macintosh: Finder-browse to ~/Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME> (where ~ is your home directory)
- Windows-XP: Navigate to C:\Documents and Settings\<USERNAME>\Application Data\Apple computer\Logs\CrashReporter/<DEVICE_NAME>
- Windows Vista: Navigate to C:\Users\<USERNAME>\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice/<DEVICE_NAME>
- Locate the crash log within that folder.
- Within the device's crash-logs folder, logs will be named for the app and the date/time. Example: myApp_2009-11-03-190004_My-iPod.crash
Some people have reported trouble finding the files, this article offers another style of explanation, with illustrations.
- Connect your device to the computer.
- In XCode, switch to the ORGANIZER window.
- Select DEVICES (along the top.)
- Select your device's DEVICE LOGS.
- Select the DATE/TIME column to sort the logs.
- Drag the logs you want to your desktop.
Regardless of how you get the logs
- Forward the crash log, along with any information you can provide that may help the developer do the same thing you did to create the crash.
- A great way to preserve this information is to attach the crash log to the ticket in your issue-tracking system. (FogBugz, Jira, Unfuddle, etc.)
- NOTE: Sometimes, what appears to be a "crash" is the Operating System terminating the app due to LowMemory conditions. View your crash logs sorted by date/time, and there may be one called "Low-Memory-xxx" at the top of the list.