退出,因为上载符号在验证模式下运行

Ret*_*n-1 9 ios crashlytics react-native google-fabric

我正在尝试将Fabric添加到我的xcode项目中。我过去曾经做过如此成功的事,但是现在面对一个本机反应项目的问题。环顾四周后,我尝试了几乎所有建议的组合。我的设置如下所示:

在此处输入图片说明

我也尝试过使用“ $ {PODS_ROOT} / Fabric / run”运行Pods版本,但是无论我做什么,我都无法从“添加运行脚本”步骤继续进行。

为了尝试调试,我已将Fabric命令产生的输出定向到文件。它产生以下内容:

在构建阶段模式下运行上载符号验证Crashlytics的构建环境...验证成功。退出,因为上载符号在验证模式下运行

任何帮助,不胜感激。我不确定如何从这里拿走

ADDITIONAL_INFO

我从头开始重新安装了Fabric Mac应用程序,重新启动了xcode,fabric应用程序和整个系统。尝试在发布模式下构建,并在此处进行了几乎所有的尝试:

iOS中的Crashlytics无法通过Fabric应用程序中的“构建您的项目”进行

llu*_*ude 16

“由于上传符号在验证模式下运行而退出”消息有点误导,因为它在一切正常时也会出现......我使用的是最新的 Firebase Crashlytics 4.0.0,但它产生的输出与旧的完全相同织物脚本。

中的评论

${PODS_ROOT}/FirebaseCrashlytics/run
Run Code Online (Sandbox Code Playgroud)

好好解释一下:

# run
#
# This script is meant to be run as a Run Script in the "Build Phases" section
# of your Xcode project. It sends debug symbols to symbolicate stacktraces,
# sends build events to track versions, and onboards apps for Crashlytics.
#
# This script calls upload-symbols twice:
#
# 1) First it calls upload-symbols synchronously in "validation" mode. If the
#    script finds issues with the build environment, it will report errors to Xcode.
#    In validation mode it exits before doing any time consuming work.
#
# 2) Then it calls upload-symbols in the background to actually send the build
#    event and upload symbols. It does this in the background so that it doesn't
#    slow down your builds. If an error happens here, you won't see it in Xcode.
#
# You can find the output for the background execution in Console.app, by
# searching for "upload-symbols".
#
# If you want verbose output, you can pass the --debug flag to this script
Run Code Online (Sandbox Code Playgroud)

提醒一下:如果您想在 Console.app 中查看消息,请先启动该应用程序...


buc*_*son 14

我遇到了这个问题,我通过检查位于 Build Ph 附近的“仅在安装时运行脚本”来解决它


小智 3

来自 Fabric/Firebase 支持的 Chintan。您可以检查一下构建设置中是否存在,

DWARF 与 dSYM

文件已被选为您的

调试信息格式

另外,从设备/模拟器中删除应用程序,清理项目,重新构建,运行并安装应用程序。如果这不起作用,请联系 support(at)fabric(dot)io,您的应用程序可能需要手动激活。