Automatic crash collection

I found an awesome service at
You can download and set it up within 30 mins with only 3 line additions / lib additions. You’ll get crash reports with callstack. If you send a symbol file (dSYM), you’ll get a name resolved stack.

Add these lines

#import "Crittercism.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // crash report
    [Crittercism initWithAppID: kAppId];

To test, add this line

    [NSException raise:NSInvalidArgumentException
                format:@"Hoge must not be nil"];

To get UUID of the binary,

dwarfdump --uuid /Volumes/RamDisk/Xcode/DerivedData/.../Products/Debug-iphoneos/ 
UUID: 02BAD808-5764-3AD9-B977-7101C7DEC749 (armv7) /Volumes/RamDisk/Xcode/...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.