Friday, January 3, 2014

How to find crash logs for iPhone applications on Mac, Vista and XP


How to find crash logs for iPhone applications on Mac, Vista and XP


In three major operations systems: Mac OS X, Windows Vista / Windows 7 and for Windows XP.

iTunes sync

Application crash logs are transfered to your computer each time you do a sync with the device, in the iTunes. Thus, first step is to sync with iTunes:
Sync the iPhone or iPod Touch through iTunes

Mac OS X

On the Mac, crash logs are kept at:
1
~/Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME>
where ~ is your Home folder. Here’s an example:
Crash logs on the Mac OS X. Device name is "iPhone AV" here
There’s the .crash file and .plist file - archive them both and send to a developer. Actually, pick all the files you find there that have the name of the problematic application.

Windows Vista / Windows 7

Files are located here:
1
C:\Users\<USERNAME>\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice/<DEVICE_NAME>
AppData folder is hidden by default, so here’s how to access it. Get into your personal folder:
User folder, with Vista folder path
Now click on the folder (address) bar which will change the display into Windows folder path and add \AppData to it, then click Enter.
When clicked, the address bar changes into regular Windows folder path
This will then show the folder contents. From here, you can follow the path above until you get to the crash logs.
For Windows 7, follow the same procedure.

Windows XP

Location is here:
1
C:\Documents and Settings\<USERNAME>\Application Data\Apple computer\Logs\CrashReporter/<DEVICE_NAME>
is your login username. Application Data folder is usually hidden by default, so you need to reveal it in the same way as in Vista – by typing in and pressing Enter.