HockeyAPP 崩溃捕获

  • (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    [[BITHockeyManager sharedHockeyManager] configureWithIdentifier:@"bfe4ad0dd2c941c3b3ce0453a0c6aa65"
    delegate:self];
    [BITHockeyManager sharedHockeyManager].debugLogEnabled = YES;
    [BITHockeyManager sharedHockeyManager].serverURL = CRASH_REPORT;

    [[BITHockeyManager sharedHockeyManager] startManager];
    [[BITHockeyManager sharedHockeyManager].authenticator authenticateInstallation];
    [self checkForUpdate];
    if ([self didCrashInLastSessionOnStartup])
    {
    NSLog(@"------Crash detected.");
    }
    return YES;
    }

你可能感兴趣的:(HockeyAPP 崩溃捕获)