开发者

Tracking crashes on iOS

i would like to do the following, do you know if it is possible?:

When my app crashes (for whatever reason and at whichever point) i want a method to be called that sends some data to my server (for example, the method where it crashed, at what time,e开发者_StackOverflow社区tc)

Is this possible? Can anyone provide some reference to accomplish this?

Basically what i want to do is that when i get a SIGABTR or EXC_BAD_ACCESS in my code is to send that data to my servers.

Thanks in advance,

Pablo


You can use PLCrashReporter, an open source framework that lets you output protobuf-encoded messages that you can send to a server. If you don't have a server (or are lazy like me), you can use Crittercism. I've been using them for both my Android and ios apps.


I use an open source framework called QuincyKit. Has worked really well for me so far.


The only thing I know of is CrashKit, but it hasn't been updated in almost a year.


You should get crash reports in iTunes Connect when your App is available on the AppStore. Other than that, there are some alternatives, check out this similar question: iOS Crash Reporter Service / Alternative to MacDevCrashReports.com

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜