Crashlytics 未从 iPhone 发送崩溃报告 [英] Crashlytics is not sending Crash report from iPhone

查看:35
本文介绍了Crashlytics 未从 iPhone 发送崩溃报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在我的一个 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 处理崩溃报告.是的,当我第一次阅读时,这对我来说似乎很奇怪,但这是事实(来源).这就是我们从未看到崩溃报告的原因:
- 在模拟器中运行应用程序
- 通过打开调试器直接从 Xcode 构建和运行,在 iDevice 上运行应用程序.

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.

为了确保在测试期间报告崩溃(复制自 Crashlytics 支持网站):
1. 启动模拟器
2. 按停止
3. 启动您的应用程序并强制崩溃
4. 从模拟器重新启动应用程序
5. 查看网络仪表板中的崩溃报告.

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.

这篇关于Crashlytics 未从 iPhone 发送崩溃报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆