简体   繁体   English

是否可以通过我的应用程序访问存储在iPhone上的崩溃日志?

[英]Is it possible to access crash logs stored on iPhone through my app?

Is it possible to access crash logs and console logs stored on iPhone through my app? 是否可以通过我的应用程序访问存储在iPhone上的崩溃日志和控制台日志?

If so, how can i do it? 如果是这样,我该怎么办?

You can access them through the device organizer in the dev tools. 您可以通过开发工具中的设备管理器访问它们。 They'll be available even if the phone is not a registered development device for you. 即使手机不是您的注册开发设备,它们也可用。

Check out PLCrashReporter . 查看PLCrashReporter It does just that, but you do need to upload the crash logs somewhere, then desymbolicate them. 它就是这样,但你确实需要在某处上传崩溃日志,然后对它们进行desymbolicate。 Just a warning, this does override the default crash reporting to Apple, so be careful shipping an app with this in it. 只是一个警告,这确实会覆盖到Apple的默认崩溃报告,因此请小心运送带有此内容的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM