详细文档请参考: https://crashsight.qq.com/docs/zh/crashsight/sdkDocuments/mobile-sdk.html
- 将
pod 'CrashSight'
添加到您的 Podfile。
- 运行
pod install
或pod update
。 - 导入
<CrashSight/CrashSight.h>
#import <CrashSight/CrashSight.h>
启动 CrashSight
CrashSightConfig *config = [[CrashSightConfig alloc] init];
config.debugMode = YES;
config.crashServerUrl = @"https://ios.crashsight.qq.com/rqd/pb/sync";
[CrashSight startWithAppId:@"you appid applied form crashsight" config:config]