Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
CMCrashReporter is a free and open-source framework written in Cocoa which developers can stick in their applications to allow the user to easily send a crashlog back to the developer.
Objective-C PHP
branch: master
Failed to load latest commit information.
framework Replace deprecated gestalt with NSProcessInfo operationSystemVersion …
server Upgrading project, thanks to GerTeunis
.gitignore
LICENSE Upgrading project, thanks to GerTeunis
README.md Upgrading project, thanks to GerTeunis

README.md

CMCrashReporter

Crash reporter for OS X, forked from https://code.google.com/p/cmcrashreporter to add support for 10.6 and newer.

Read Me

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.

Credits

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)

Compability

CMCrashReporter is compatible with Snow Leopard and up

Usage

IMPORTANT: Link 'AddressBook.framework' (available on the Mac-computer self) to your project, since this CMCrashReporter is using this.

  1. Link the classes and the nib-file to your project.
  2. link the addressbook.framework to your project (available on Mac OS Library)
  3. 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

App Settings (info.plist)

HTTP-Path to commit the logs to (String, as POST-Data)

CMSubmitURL

Max number of crashlogs to be sent (Int, optional)

CMMaxReports

Settings (Preferences)

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
Something went wrong with that request. Please try again.