How Can I Get A Crash report From a Jailbroken App Running In My Device?

Andy Ibanez picture Andy Ibanez · May 9, 2011 · Viewed 7.3k times · Source

My Application is for jailbroken devices. It compiles and works fine in general in the iOS simulator but it crashes instantly the moment I open it in my device. Again, it's a Jailbroken app so I can't get crash logs the same way registered developers can. Is there any way I can get a crashlog for my app even though I am not a registered iOS developer? This is driving me nuts because I have been working on this for 3 months now and I don't want to stop because of something like this.

Oh, if it matters, I am "Fake code signing" using the method described here, but only this specific app is crashing. I tested by making a dummy app that simply shows a label and it's not crashing at all.

Answer

edc1591 picture edc1591 · May 9, 2011

Install OpenSSH in Cydia, then ssh into your device and navigate to /var/mobile/Library/Logs/CrashReporter. You will find all of the crash logs there.

Another way to diagnose the problem would be to install the syslogd enabler from Cydia. This will enable the syslog in /var/log/syslog. You can monitor this just like you would monitor Console is Mac OS X. Be sure to uninstall the syslogd enabler when you're not using it as the syslog can get pretty big after a while. You can also install the syslogd toggle for SBSettings to easily enable and disable syslogd.