以编程方式在iOS应用中获取崩溃报告 [英] Programmatically getting Crash Reports inside an iOS app

查看:87
本文介绍了以编程方式在iOS应用中获取崩溃报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用程序内部访问我的应用程序的崩溃报告,并且需要将崩溃报告发送到服务器。我在Google中进行了搜索,但找不到任何可以帮助我实现目标的API,但是我发现有开源项目,例如QuincyKit,plcrashreporter,用于获取应用程序的崩溃报告。如果我使用这些API,苹果会拒绝我的应用吗?

I want to access the crash reports of my app inside my app and i need to send the crash reports to a server. I searched in google and I couldn't find any API that helps my purpose but I found there are open source projects like QuincyKit, plcrashreporter for getting the crash reports of the application. If I use these APIs will apple reject my app ?

在此先感谢

推荐答案

Apple没有API可以做到这一点。因此,唯一的机会是使用第3方框架,该框架能够在崩溃发生时捕获崩溃并提供进一步处理后遗症的选项。

There is no API from Apple to do that. So the only chance is to use a 3rd party framework which catches the crash when it happens and provides options to further process it afterwords.

有多种解决方案可用,一个是QuincyKit。 将自定义数据包含到iOS故障转储中的第二部分显示了您可以使用的所有已知解决方案和服务。

There are multiple solutions available, one is QuincyKit. The second part of the answer of Including custom data into iOS crash dumps shows all known solutions and services that you can use.

注意:我是QuincyKit的开发人员,也是HockeyApp团队的成员。

Note: I am the developer of QuincyKit and also part of the HockeyApp team.

这篇关于以编程方式在iOS应用中获取崩溃报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆