【发布时间】:2016-06-24 00:15:47
【问题描述】:
我在 iOS 中使用 airbrake,但在我的付费 airbrake 帐户中没有收到任何崩溃通知。我已经按照 airbrake iOS git here 中的说明实现了 https://github.com/airbrake/airbrake-ios
这是我在应用委托中编写的 Objective-c 中的代码,如下所示
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
[ABNotifier startNotifierWithAPIKey:@"xxxx"
projectID:@"xxxxxx"
environmentName:ABNotifierAutomaticEnvironment
useSSL:YES // only if your account supports it
delegate:(id)self];
return YES;
}
还有在应用程序崩溃的 ViewController 中。代码是
- (IBAction)crashBttnAction:(id)sender {
NSMutableArray *arr=[[NSMutableArray alloc]init];
[arr objectAtIndex:5];
}
应用程序严重崩溃,但我的 airbrake 付费帐户中没有收到任何通知。这是我的测试 github 项目的链接
【问题讨论】:
-
您联系过他们的支持吗?
标签: ios objective-c airbrake