如何从应用程序访问 iPhone 上的崩溃日志?
我想在我的应用程序中实现“自动崩溃日志报告系统”。所以我想测试是否存在任何崩溃日志,然后抓取它,并将其邮寄回给我。
有什么办法可以从应用程序中找到这些文件吗? 请。
据我所知,Piictu 和 Camera+ 设法做了类似的事情。
提前致谢。
I want to implement an "Automatic Crash log reporting system" into my apps. So I want to test if any Crash log exists, then grab it, and mail it back to me.
Is there any way to find these files from an App?
Please.
As far as I can see Piictu, and Camera+ somehow managed to do something similar.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
TestFlight 昨天发布了他们的 SDK。它有许多很棒的功能,包括自动崩溃报告。
TestFlight released their SDK yesterday. It has many awesome features including automatic crash reporting.
我发现 PLCrashReporter 框架,其中有一个由 Amazingsyco 提供的简洁的包装类,名为 CrashReporter 在 GitHub 上。
此外,我还制作了一个友好的 UI,如下所示,来自 dribbble。
工作示例合并到 Moquu 很快就可以从以下地址下载(更新将在未来几天内提交) AppStore。
有一个用于测试目的的隐藏崩溃功能(在“关于”视图上按住三个手指五秒钟)。
I found PLCrashReporter framework with a neat wrapper class by amazingsyco called CrashReporter at GitHub.
Moreover, I made a friendly UI like the one below from dribbble.
The workin' example merged in to Moquu can be downloaded soon (the update will be submitted in the next few days) from the AppStore.
There's a hidden crash feature for testing purposes (hold three fingers for five seconds on about view).
您是否尝试过在管理器中查找,然后在设备中查找>设备日志,并找到您的应用程序?据我所知,每次插入设备时这些都会更新。
您可能已经知道这一点,但您还没有提到它,所以我发布了它,以防万一它是您正在寻找的内容。
Have you tried looking in Organizer, then into devices > Device logs, and find your app? These update as far as I know everytime you plug your device in.
Youll probably know of this already, but you havent mentioned it so I posted just incase its what youre looking for.