6

A number of the hardest to track-down problems I've come across with my iPhone application have only exposed themselves on jailbroken handsets. Is there a way to detect these handsets looking only at the crash logs?

This is kind of like this question but after the event rather than during...

Ortwin Gentz
  • 52,648
  • 24
  • 135
  • 213
Stephen Darlington
  • 51,577
  • 12
  • 107
  • 152
  • I've upvoted all the answers (as they're all good suggestions) but have not accepted any one since there appears not to be a complete solution. – Stephen Darlington Jan 04 '10 at 21:47

5 Answers5

4

While it certainly isn't a foolproof solution, you can look at the running binaries to see if there are jail-broken apps running at the time of the crash. Winterboard, for example, is an app that only exists on jail-broken devices. If you suspect a crash is happening on a jail-broken device, I would start by inspecting there.

coneybeare
  • 33,113
  • 21
  • 131
  • 183
2

you could also look for 3rd party app installers as well. Most jail-broken devices have those to load apps more easily. I would create a small list of apps that might trigger an 'aha!' moment, that way you will at least be positive it is jail-broken

Jakub
  • 20,418
  • 8
  • 65
  • 92
1

The only thing I can think of is mobilesubstrate prints to the console a lot and 99.99% of jailbroken phones should have it installed by default and it usually notifies you when it hooks a phones function

Sj.
  • 582
  • 1
  • 7
  • 21
1

One clear sign for a jailbroken device is the string MobileSubstrate in the crash report. Probably, there are jailbroken devices not having that string, though.

Ortwin Gentz
  • 52,648
  • 24
  • 135
  • 213
0

Check this out...

http://www.iwillapps.com/wordpress/?p=70

Does Apple's crash logs include any information you NSLog? If so, just NSLog something if the app is cracked using the method in the link above!

Good luck!

Mark
  • 7,306
  • 8
  • 45
  • 87