views:

2292

answers:

3

Is it possible to access the crash log over the application? The last.fm client showed me today a "we found a crash log" altert with the option to send it, so I think it must be possible.

+1  A: 

Yes, although you probably won't get much out of them if you don't have the dSYM file and source code:

After you've synced with iTunes the crash logs should be in one of the following folders:

On Mac OS X they are located in ~/Library/Logs/CrashReporter/MobileDevice.

Windows XP: C:\Documents and Settings\Application Data\Apple computer\Logs\CrashReporter/

Windows Vista: C:\Users\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice/

(This from the help page for my application.)

Stephen Darlington
A: 

@stephen I think the poster was asking about an iPhone app finding a crash log without access to a Mac/PC…

And I think the answer is - this was possible on 2.0 - but Apple clamped down on 2.1 and now prevent your app from accessing the logs. :-(

schwa
To be fair, they were preventing you from reading any files outside your sandbox, not just the logs.
benzado
+4  A: 

Here the description of the solution I found: Crash Reporter for iPhone Applications

catlan
Nice and simple! Thank you
Vladimir Grigorov