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
- Host: GitHub
- URL: https://github.com/sbooth/sfbcrashreporter
- Owner: sbooth
- License: mit
- Created: 2009-08-28T15:24:34.000Z (almost 17 years ago)
- Default Branch: main
- Last Pushed: 2024-01-14T15:47:32.000Z (over 2 years ago)
- Last Synced: 2025-04-28T21:45:38.797Z (about 1 year ago)
- Language: Objective-C
- Homepage:
- Size: 98.6 KB
- Stars: 74
- Watchers: 9
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](http://cocoadocs.org/docsets/SFBCrashReporter)
[](https://github.com/sbooth/SFBCrashReporter)
[](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.