Created
May 1, 2014 03:38
-
-
Save baz/bbdc485f83bfecaf18ba to your computer and use it in GitHub Desktop.
Hockey inside of XPC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(int argc, const char *argv[]) { | |
NSXPCListener *serviceListener = [NSXPCListener serviceListener]; | |
#ifndef DEBUG | |
[[BITHockeyManager sharedHockeyManager] configureWithIdentifier:@"<IDENTIFIER>" delegate:nil]; | |
[[BITHockeyManager sharedHockeyManager] setDisableFeedbackManager:YES]; | |
[[BITHockeyManager sharedHockeyManager].crashManager setAskUserDetails:NO]; | |
[[BITHockeyManager sharedHockeyManager].crashManager setAutoSubmitCrashReport:YES]; | |
[[BITHockeyManager sharedHockeyManager] startManager]; | |
#endif | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment