问题描述
我在我的一个iOS应用程序中设置Crashlytics,并在真实的设备上安装了应用程序。我的Crashlytics信息中心显示,我已成功添加应用程序。但是,它不发送崩溃报告。我的互联网速度不是那么好。但我可以检查我的电子邮件从这个设备。任何人都猜到,问题在哪里?
I've setup the Crashlytics in my one iOS application and installed the application on a real device. My Crashlytics Dashboard is displaying that, I've successfully added the app. However, it's not sending crash report. My internet speed is not so good. But I can check my emails from this device. Can anybody guess, where is the problem?
推荐答案
Xcode调试器不允许Crashlytics处理崩溃报告。是的,当我第一次阅读时看起来很奇怪,但这是一个事实()。这就是我们从来没有看到崩溃报告的原因时间:
- 在模拟器中运行应用程序
- 在iDevice上运行应用程序,通过直接构建并从调试器运行Xcode。
Xcode debugger does NOT allow Crashlytics to process crash reports. Yeah, that seem weird even to me when I read that first time but it is a fact (Source). That's is the reason we never see crash report When:
- running app in Simulator
- running app on iDevice by directly build and run from Xcode with debugger on.
要确保在测试期间报告了崩溃():
1.启动模拟器
2.按停止
3.启动应用程序并强制发生崩溃
4.从模拟器重新启动应用程序
5.在Web信息中心中查看崩溃报告。
To make sure a crash is reported during your testing (copied from Crashlytics support site):
1. Launch simulator
2. Press stop
3. Launch your app and force a crash
4. Relaunch the app from simulator
5. See the crash report in the web dashboard.
编辑:
添加了引用; Crashlytics还提供了关于以及。
Added a reference; Crashlytics also provides a short article on a quick way to force a crash and an article on why you don't see the data from your first crash.
这篇关于Crashlytics不是从iPhone发送崩溃报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!