pabloruiz55
pabloruiz55

Reputation: 1306

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,etc)

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

Upvotes: 1

Views: 1582

Answers (4)

Julie
Julie

Reputation: 668

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.

Upvotes: 2

Stephen Darlington
Stephen Darlington

Reputation: 52565

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

Upvotes: 1

Jan Gressmann
Jan Gressmann

Reputation: 5541

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

Upvotes: 0

edc1591
edc1591

Reputation: 10182

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

Upvotes: 0

Related Questions