Is there a way to have our own app to upload its crash repot?

孤街醉人 提交于 2019-12-02 21:05:22

问题


Not sure if that is possible. But what happens is, sometimes our app randomly crashes. We don't know what exactly the problem is. Is there a way for us to get the crash report off user's iphone? By code, or by another app?

Thanks.


回答1:


It's the user who decides from Settings > General > About > Diagnostics & Usage whether to automatically send crash reports or not.

You can also use a third party component to get detailed information about crash events, for example Crittercism.




回答2:



You can inject a third party code in your app, which would basically save your crash reports and thereafter you can use them for analysis. The way we do is capture any crash logs and upload them to the app server, which uses the info to display through a user-friendly web Interface (access controlled for admin purposes).

A great open source Crash Reporter library can be found here https://github.com/kstenerud/KSCrash




回答3:


If you're interested in 3rd party services for crash reporting for iOS it's hard to go past Crashlytics. Very fast crash reporting, simple installation, great response times to queries.




回答4:


I'd also mention the TestFlight SDK, which is free and easy to use, and allows you to gather crash reports easily from all your testers, and also do remote logging and other stuff. I used it on a location based app I was working on a while ago, and it was very helpful with debugging



来源:https://stackoverflow.com/questions/14864075/is-there-a-way-to-have-our-own-app-to-upload-its-crash-repot

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