Programmatically getting Crash Reports inside an iOS app

瘦欲@ 提交于 2019-12-07 22:27:44

问题


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 ?

Thanks in Advance


回答1:


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.

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.

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




回答2:


About QuincyKit:

I've used only Flurry, which has crash collection, and there seems to be no problem in using these libraries in your project for the app store.



来源:https://stackoverflow.com/questions/9715127/programmatically-getting-crash-reports-inside-an-ios-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!