ios - 退出,因为上传符号在验证模式下运行
问题描述
我试图将 Fabric 添加到我的 xcode 项目中。我过去做得很成功,但现在面临一个 react-native 项目的问题。环顾四周,我已经尝试了几乎所有建议的组合。我的设置如下所示:
我也尝试过使用“${PODS_ROOT}/Fabric/run”的 Pods 版本,但是无论我做什么,我都无法从“添加运行脚本”步骤继续。
为了尝试调试,我已将 Fabric 命令生成的输出定向到文件。它产生以下结果:
在构建阶段模式下运行上传符号正在验证 Crashlytics 的构建环境... 验证成功。退出,因为上传符号在验证模式下运行
非常感谢任何帮助。我很不确定如何从这里拿走它
附加信息:
我从头开始重新安装了 Fabric Mac 应用程序,重新启动了 xcode、fabric 应用程序和整个系统。尝试在发布模式下构建,并且在这里几乎尝试了所有内容:
解决方案
“Exiting because upload-symbols was run in validation mode”消息有点误导,因为它也会在一切正常时出现......我使用的是最新的 Firebase Crashlytics 4.0.0,但它产生的输出与旧版本完全相同织物脚本。
中的评论
${PODS_ROOT}/FirebaseCrashlytics/run
解释清楚:
# 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
提醒一下:如果您想在 Console.app 中查看消息,请先启动应用程序...
推荐阅读
- php - Laravel 5(.7) 用多个关系组织模型/集合
- c++ - 如何在 C++ 中编写一个函数来创建和返回一个随机引擎
- javascript - 如何在用户当前日期选择后禁用 5 天,不包括周末
- javascript - 为什么JOI比AJV更受欢迎?
- python - 遍历字典列表并删除那些没有 X 键的字典
- python-3.x - SymPy 排列组奇偶校验未按预期工作
- javascript - IE11 中 JQuery append() 的 JavaScript 替代方案
- r - 从 FTP 下载整个数据集并使用带有正则表达式的特定文件在 R 中进行数据操作
- jquery - 如何将 jQuery 中的运算符输出设置为千位分隔符和 2 个小数点?
- html - 肖像图像正在通过 codeigniter 调整大小库顺时针旋转 270 度