iphonexcode4crashxcode4.2crash-log

Xcode 4.2 Simulator Crash Log


Is there a crash log generated by apps that crash on the simulator. I want a text-based version of what I see in the debugger equivalent to crash reports generated by applications crashing on a device (and accessible through Organiser).


Solution

  • Look in ~/Library/Application Support/iPhone Simulator/5.0/Library/Logs/CrashReporter/DiagnosticLogs/.

    EDIT Please note that this question was specifically asked for Xcode 4.2, which contained the iOS 5.0 SDK. This is no longer the latest Xcode/iOS SDK, so you'll have to adjust the answer to suite the SDK version you have installed (i.e. change "5.0" to whatever it is).