【发布时间】:2016-06-10 12:15:14
【问题描述】:
我在我的 iOS 项目中添加了 firebase 崩溃报告(添加了 pod、添加了构建阶段脚本、将 json 添加到项目中……)。 当我运行我的应用程序时,我在控制台中看到:
Firebase Crash Reporting: Successfully enabled
为了进行测试,我在 FIRApp.configure() 代码之后的代码中插入了 fatalError() (这里建议:https://firebase.google.com/docs/crash/ios#create_your_first_error)。
下次启动应用时不会发送崩溃报告(不会崩溃)。我在我的 xcode 控制台中什么都看不到,在我的 Web 控制台中什么也看不到。
【问题讨论】:
-
应用程序在启动时会立即崩溃吗?如果是这样,那是行不通的,因为 SDK 需要时间来发送崩溃。
标签: ios swift firebase firebase-crash-reporting