Crash reporter for OS X, forked from https://code.google.com/p/cmcrashreporter to add support for 10.6 and newer.
CMCrashReporter is a group of classes, special designed for Mac applications.
CMCrashReporter collects crash-reports and send those to a server of the developer, in stead of Apple.
CMCrashReporter is free and opensource. You can edit CMCrashReporter if wanted. If you find some bugs or have some feature requests, please email us at info@codingmammoth.com so we can update CMCrashReporter.
CMCrashReporter is developed by:
- Jelle De Laender - CodingMammoth.com
- Pieter Omvlee for GUI support (bohemiancoding.com)
- Ger Teunis - made changes for 10.6+ (nzbvortex.com)
CMCrashReporter is compatible with Snow Leopard and up
IMPORTANT: Link 'AddressBook.framework' (available on the Mac-computer self) to your project, since this CMCrashReporter is using this.
- Link the classes and the nib-file to your project.
- link the addressbook.framework to your project (available on Mac OS Library)
- At your main-class (preferable AppDelegate) import CMCrashReporter.h and call [CMCrashReporter check].
A good place to call this method is in -(void)applicationDidFinishLaunching: in your app delegate
HTTP-Path to commit the logs to (String, as POST-Data)
CMSubmitURL
Max number of crashlogs to be sent (Int, optional)
CMMaxReports
It's possible to let your users have a choice to submit reports, or just ignore them. Create a NSCheckbox and link this to NSUserDefaults with 'CMCrashReporterIgnoreCrashes' as key.
Let the user ignore crashreports (BOOL)
CMCrashReporterIgnoreCrashes