Crashlytics 记录错误
Crashlytics record error
我正在为 iOS.
使用 Crashlytics 记录错误
NSDictionary *detail = @{@"message":errorWithURL, @"response":jsonString};
[[Crashlytics sharedInstance] recordError:[NSError errorWithDomain:@"send request" code:0 userInfo:detail]];
但我在 Crashlytics 控制台中没有看到消息。
参见here。
我是不是做错了什么?
来自 Fabric 文档 - "Data contained within the userInfo object are converted to key-value pairs and displayed in the keys/logs section within an individual issue."
因此请按右上角的 "View all sessions" 按钮,然后转到页面顶部的 keys/logs 部分
https://docs.fabric.io/apple/crashlytics/logged-errors.html#using-the-api
请检查您是否在构建时上传了 DSYM 文件。
如果应该通过 Fastlane 作业上传 DSYM 文件,则上传可能会失败。
我正在为 iOS.
使用 Crashlytics 记录错误NSDictionary *detail = @{@"message":errorWithURL, @"response":jsonString};
[[Crashlytics sharedInstance] recordError:[NSError errorWithDomain:@"send request" code:0 userInfo:detail]];
但我在 Crashlytics 控制台中没有看到消息。
参见here。
我是不是做错了什么?
来自 Fabric 文档 - "Data contained within the userInfo object are converted to key-value pairs and displayed in the keys/logs section within an individual issue."
因此请按右上角的 "View all sessions" 按钮,然后转到页面顶部的 keys/logs 部分
https://docs.fabric.io/apple/crashlytics/logged-errors.html#using-the-api
请检查您是否在构建时上传了 DSYM 文件。 如果应该通过 Fastlane 作业上传 DSYM 文件,则上传可能会失败。