Is there a way to have our own app to upload its c

2019-03-04 23:09发布

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.

4条回答
你好瞎i
2楼-- · 2019-03-04 23:46

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楼-- · 2019-03-05 00:03

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.

查看更多
beautiful°
4楼-- · 2019-03-05 00:06

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.

查看更多
成全新的幸福
5楼-- · 2019-03-05 00:06

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

查看更多
登录 后发表回答