gpt4 book ai didi

ios - 退出,因为 upload-symbols 是在验证模式下运行的

转载 作者:行者123 更新时间:2023-12-02 11:03:08 25 4
gpt4 key购买 nike

我正在尝试将 Fabric 添加到我的 xcode 项目中。我过去曾成功地做到过,但现在面临着 react 原生项目的问题。环顾四周后,我几乎尝试了所有建议的组合。我的设置如下:

enter image description here

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

在尝试调试时,我已将 Fabric 命令生成的输出定向到一个文件。它产生以下结果:

Running upload-symbols in Build Phase mode Validating buildenvironment for Crashlytics... Validation succeeded. Exiting becauseupload-symbols was run in validation mode

非常感谢任何帮助。我非常不确定如何从这里获取它

ADDITIONAL_INFO:

我从头开始重新安装了 Fabric Mac 应用程序,重新启动了 xcode、fabric 应用程序和整个系统。尝试在 Release模式下构建,并且几乎尝试了这里的所有内容:

Crashlytics in iOS won't proceed past "Build Your Project" in Fabric app

最佳答案

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

评论

${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 中查看消息,请先启动应用程序...

关于ios - 退出,因为 upload-symbols 是在验证模式下运行的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56889653/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com