我可以从崩溃日志中识别越狱手机吗?
我在 iPhone 应用程序中遇到的一些最难追踪的问题只有在越狱的手机上才会暴露出来。有没有一种方法可以仅通过查看崩溃日志来检测这些手机?
这有点像 这个问题但是是在活动之后而不是在......
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...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
虽然这当然不是一个万无一失的解决方案,但您可以查看正在运行的二进制文件,看看崩溃时是否有越狱的应用程序正在运行。例如,
Winterboard
是一款仅存在于越狱设备上的应用程序。如果您怀疑越狱设备上发生了崩溃,我会首先检查那里。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.您也可以寻找第三方应用程序安装程序。大多数越狱设备都具有可以更轻松地加载应用程序的功能。我会创建一个可能会引发“啊哈!”的应用程序的小列表。那一刻,这样你至少会确信它已经越狱了
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
我唯一能想到的是 mobilesubstrate 会大量打印到控制台,99.99% 的越狱手机应该默认安装它,并且它通常会在挂接手机功能时通知您
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
越狱设备的一个明显标志是崩溃报告中的字符串
MobileSubstrate
。不过,可能有些越狱设备没有该字符串。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.看看这个...
http://www.iwillapps.com/wordpress/?p=70
Apple 的崩溃日志是否包含您 NSLog 的任何信息?如果是这样,如果应用程序是使用上面链接中的方法破解的,只需 NSLog 即可!
祝你好运!
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!