详细文档请参考: https://crashsight.qq.com/docs/zh/crashsight/sdkDocuments/mobile-sdk.html
- Add
pod 'CrashSight'
to your Podfile.
- Run
pod install
orpod update
. - Import
<CrashSight/CrashSight.h>
#import <CrashSight/CrashSight.h>
Initiate 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]