【问题标题】:Not able to connect firebase crashlytics in iOS无法在 iOS 中连接 firebase crashlytics
【发布时间】:2020-10-30 07:49:33
【问题描述】:

我已按照正确的步骤添加 SDK 和运行脚本,但每次运行应用程序时仍会收到相同的消息。请给我建议。这是代码。

pod file :
target 'Forecupdate' do
  use_frameworks!

  # Firebase
  pod 'Firebase/Core'
  pod 'Firebase/Analytics'
  pod 'Firebase/Crashlytics'

end

在构建阶段添加了运行脚本:

"${PODS_ROOT}/FirebaseCrashlytics/run"

Appdelegate 中添加了FirebaseApp.configure()

【问题讨论】:

标签: ios swift firebase crashlytics xcode11.5


【解决方案1】:

我也有同样的问题。我错过了 7 号。 如果您想从列表中删除并确保您没有遗漏任何内容,请执行以下步骤:

  1. 将 pod 添加到 podfile。
  2. pod install.
  3. 重启 xcode。
  4. 添加构建步骤。
  5. 使用 dSYM 文件将构建设置更改为 DWARF。
  6. 添加一个调用 Crashlytics.sharedInstance().crash() 的按钮。
  7. 然后在模拟器上运行应用程序(确保在 Xcode 中停止应用程序并通过单击应用程序图标再次在模拟器上打开)
  8. 强制使应用崩溃
  9. 再次运行应用程序

您将在 crashlytics 中看到崩溃报告。

【讨论】:

    猜你喜欢
    • 2020-09-13
    • 1970-01-01
    • 2018-12-04
    • 1970-01-01
    • 2023-03-28
    • 1970-01-01
    • 1970-01-01
    • 2019-02-17
    • 2021-05-08
    相关资源
    最近更新 更多