问题描述
我正在尝试与Firebase Crashlytics集成.
我按照
这是我的 Podfile.lock
中的内容:
-Firebase(6.33.0):
在调试模式下将dSYM添加到调试文件.
消息指出您需要使应用程序崩溃.将崩溃代码添加到 事件而不是应用启动时 :
fatalError()
注意:不报告崩溃:
步骤:
信息.从api文档中收集.
I am trying to integrate with Firebase Crashlytics.
I added the run scripts as described here. then installed the pods:
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'
I configured the Firebase APIs:
FirebaseApp.configure()
I ran the app. the messages on the console seems to be ok.
But when I open the Crashlytics tab in the firebase console. I only get the message in the question title.
This is what I have in my Podfile.lock
:
- Firebase (6.33.0):
Add the dSYM to the debug file the Debug mode.
Message states that you need to crash your app. Add the crash code on an event not on an app launch:
fatalError()
Note: Crashes doesn't get reported:
Steps:
Info. gathered from api docs.
这篇关于添加Firebase iOS SDK(4.3.0或更高版本)或Unity插件(6.15.0或更高版本),然后构建,运行并使应用崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!