嗨我正在使用Crashlytics来捕获用户使用应用时的崩溃。我通过可可豆荚进行了所有安装,并成功将应用程序添加到Crashlytics仪表板。我使用模板手动强制崩溃到我的一个ViewController,但我没有看到任何崩溃报告,即使我已按照本指南https://fabric.io/kits/ios/crashlytics/features
任何人都有同样的问题?任何帮助都非常感激。是否有其他崩溃报告适用于新的Xcode(对于Objective-C和Swift)?
编辑:我已在真实设备和模拟器(IOS 10.1.1)上测试过这是模拟器上的错误日志
2016-11-14 13:57:22.426 testFabric[35202:1038257] [Fabric] Unable to locate application icon
2016-11-14 13:57:22.428 testFabric[35202:1038257] [Crashlytics] Version 3.8.3 (120)
2016-11-14 13:57:24.111 testFabric[35202:1038554] [Fabric] failed to download settings Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLKey=https://settings.crashlytics.com/spi/v2/platforms/ios/apps/vic.testFabric/settings?build_version=1&display_version=1.0&instance=257dd62d2de87b617f4b3e934867b2cd6878c05b&source=1, NSLocalizedDescription=cancelled, NSErrorFailingURLStringKey=https://settings.crashlytics.com/spi/v2/platforms/ios/apps/vic.testFabric/settings?build_version=1&display_version=1.0&instance=257dd62d2de87b617f4b3e934867b2cd6878c05b&source=1}
在真实设备上,这是我启用crashlytics.debugmode
时得到的2016-11-14 14:19:36.814181 testFabric2016[967:430996] [Fabric] Unable to locate application icon
2016-11-14 14:19:36.815645 testFabric2016[967:430996] [Crashlytics] Version 3.8.3 (120)
2016-11-14 14:19:36.816032 testFabric2016[967:430996] [Crashlytics] Running on iPad5,3, 10.1.1 (14B150)
2016-11-14 14:19:36.850725 testFabric2016[967:430996] [Answers] Initialized
2016-11-14 14:19:36.851992 testFabric2016[967:430996] [Fabric] Initialized with kit versions: {
"com.twitter.answers.ios" = "1.3.3";
"com.twitter.crashlytics.ios" = "3.8.3";
"io.fabric.sdk.ios" = "1.6.11";
}
2016-11-14 14:19:36.864306 testFabric2016[967:431032] [Answers] Answers is disabled. Cleaning up.
2016-11-14 14:19:36.926100 testFabric2016[967:431055] [Answers] Attempting to log app_crashed
2016-11-14 14:19:36.974061 testFabric2016[967:431035] [Crashlytics:Crash:Reports] Packaged report with id 'f3849dbf4d604578ae33ea18e1e51a95' for submission
2016-11-14 14:19:36.974282 testFabric2016[967:431035] [Crashlytics:Crash:Reports] Submitting report
2016-11-14 14:19:36.974594 testFabric2016[967:431035] [Crashlytics:Crash:Reports] Submitting async /var/mobile/Containers/Data/Application/A145672F-A9A1-4BDF-9499-84E4B101F12A/Library/Caches/com.crashlytics.data/vic.testFabric2016/v3/prepared/53EFFE32-31F1-464A-9D2B-BC5D66D9A67E.multipartmime
2016-11-14 14:19:39.077409 testFabric2016[967:431033] [Fabric] settings downloaded successfully
2016-11-14 14:19:39.078983 testFabric2016[967:431033] [Fabric] Settings are available for consumption
2016-11-14 14:19:41.266751 testFabric2016[967:431032] [Crashlytics:Crash:Reports] completed submission of /var/mobile/Containers/Data/Application/A145672F-A9A1-4BDF-9499-84E4B101F12A/Library/Caches/com.crashlytics.data/vic.testFabric2016/v3/prepared/53EFFE32-31F1-464A-9D2B-BC5D66D9A67E.multipartmime
2016-11-14 14:19:41.268132 testFabric2016[967:431032] [Crashlytics:Crash] report submission successful