Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 237
Andy Ibanez Avatar asked May 08 '11 22:05

Andy Ibanez


People also ask

How do I get a crash report for a mobile app?

Crash reports for mobile apps 1 In the Dynatrace menu, go to Mobile. 2 Select the app you want to analyze. 3 Select the Crashes tile, and then select Analyze crashes. More ...

What is crash report in Xcode?

A crash report describes how your app terminated, and also contains the complete backtrace of each thread, which shows the code running at the time of the crash. To debug a problem using a crash report: Build Your App With Symbol Information and retain the Xcode archive before distributing the app. Retrieve a crash report for an issue.

How to get full crash report with stack trace on iPhone?

One important point, for a full crash report with stack trace, the user needs to enable sharing crash report (even internal AppStore Connect testers). On the device: Privacy -> Analytics & Improvements -> Share iPhone Analytics (and Share with App Developers).

What to do if your Android app crashes or stops responding?

For more information about how Android users opt in to share data, go to the Accounts Help Center. If your app has a high number of crashes, go to the Android Developers site for recommended solutions. If your app stops responding, users get a dialog that allows them to wait or close the app.


1 Answers

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.

like image 99
edc1591 Avatar answered Oct 14 '22 06:10

edc1591