简体   繁体   English

Fabric Crashlytics 不起作用。 iOS 14 应用程序/XCode 12

[英]Fabric Crashlytics not working. iOS 14 app/XCode 12

Firebase integration with my app is working like a charm. Firebase 与我的应用程序的集成就像一个魅力。 So I tried to add Crashlytics.所以我尝试添加 Crashlytics。 After pod the SDK and configuring my app in XCode, I've got the version message on log: "2020-10-23 14:13:36.386002-0300 Findn[44158:3074710] [Firebase/Crashlytics] Version 4.6.2"在安装 SDK 并在 XCode 中配置我的应用程序后,我在日志中收到了版本消息:“2020-10-23 14:13:36.386002-0300 Findn[44158:3074710] [Firebase/Crashlytics] 版本 4.6.2”

But at Firebase Console there isn't a card for Crashlytics.但是在 Firebase 控制台上没有用于 Crashlytics 的卡片。 And at Crashlytics tab this circle keep spinning.在 Crashlytics 选项卡上,这个圈子一直在旋转。

Any tips?有小费吗?

Firebase 控制台上的 crashlytics 选项卡上的消息

EDIT:编辑:

Guess I wasn't clear enough, sorry.估计我说的不够清楚,抱歉。 I did follow all guidelines to integrate Firebase to my app.我确实遵循了将 Firebase 集成到我的应用程序的所有指南。 The problem seems to be on Firebase side, since my app's log does not report any errors on xcode.问题似乎出在 Firebase 方面,因为我的应用程序日志没有在 xcode 上报告任何错误。

Yes, Now you can not use fabric solely.是的,现在您不能单独使用面料。 You have to integrate firebase to use a fabric.您必须集成 firebase 才能使用结构。 Check this link: firebase crashlytics检查此链接: firebase crashlytics

Maybe the solution is here !也许解决方案就在这里

The steps are the following:步骤如下:

  • Ensure you add the code in order to force a crash, something like that firebase确保添加代码以强制崩溃,例如firebase

  • First, you need to build the app and launch the app with Xcode,首先,您需要构建应用程序并使用 Xcode 启动应用程序,

  • Next launch without attaching with Xcode (manually, tapping on icon app), and force crash app with fatalError()下次启动时不附加 Xcode(手动,点击图标应用程序),并使用fatalError()强制崩溃应用程序

  • Then launch with Xcode and the app will send the traces... 💥然后使用 Xcode 启动,应用程序将发送跟踪...💥

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM