首页 文章

Firebase Crashlytics无法报告崩溃

提问于
浏览
0

我正在从Firebase CrashReport切换到Firebase Crashlytics . 我按照Firebase文档(1)创建了强制崩溃(2) . 结果如下 .

[Crashlytics:Crash:Reports] Packaged report with id 'ccfxxxxxxxxxxxxxxx' for submission
 ...
[Fabric] failed to download settings Error Domain=FABNetworkError Code=-5 "(null)" UserInfo={status_code=403, type=2, request_id=e4bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, content_type=application/json; charset=utf-8}

看起来崩溃报告已经打包但未能发送 . 我搜索了网络上的错误消息,但是,我找不到任何提示 .

如何将崩溃报告发送到仪表板?

附加信息:

  • 我在多个方案中使用了firebase,在一个目标中使用了多个firebase应用程序 .

  • 我以前只为每个firebase应用程序使用过命名的GoogleService-Info.plist . 但是现在,对于Crashlytics我创建之前添加了复制脚本 Fabric/run

if [ "${CONFIGURATION}" = "Debug" ]; then
  echo "Debug"
  cp "${PROJECT_DIR}/GoogleServices/GoogleService-Info.aaaa.plist" 
     "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist"
elif [ "${CONFIGURATION}" = "Release" ]; then
  ...
fi
"${PODS_ROOT}/Fabric/run"

1 回答

  • 0

    我有一个类似的问题 . 崩溃会冻结实际崩溃的安装,并且没有报告任何内容 . 我的问题是我正在连接Firebase Crash和Firebase Crashalytics . 一旦我从构建中删除旧的Firebase崩溃,它就开始工作了 .

相关问题