An open API service indexing awesome lists of open source software.

https://github.com/sbooth/sfbcrashreporter

A crash reporting framework for macOS
https://github.com/sbooth/sfbcrashreporter

Last synced: about 1 year ago
JSON representation

A crash reporting framework for macOS

Awesome Lists containing this project

README

          

[![Version](https://img.shields.io/cocoapods/v/SFBCrashReporter.svg)](http://cocoadocs.org/docsets/SFBCrashReporter)
[![Platform](https://img.shields.io/cocoapods/p/SFBCrashReporter.svg)](https://github.com/sbooth/SFBCrashReporter)
[![License](https://img.shields.io/cocoapods/l/SFBCrashReporter.svg)](COPYING)

`SFBCrashReporter` is a framework for submitting application crash logs to an HTTP server.

Adding `SFBCrashReporter` support to your application is easy:

1. Add the URL for crash log submission as `SFBCrashReporterCrashSubmissionURL` to your application's `Info.plist`

2. Add the following code to your application's delegate:

```objective-c
#import

- (void) applicationDidFinishLaunching:(NSNotification *)aNotification
{
// Check for and send crash reports
[SFBCrashReporter checkForNewCrashes];
}
```

Adding support to your HTTP server to receive the crash logs is also easy. `SFBCrashReporter` comes with a PHP script that will e-mail the submitted crash logs to a specified email account.

0. Install PHP!

1. Modify handle_crash_report.php as appropriate.