“存档”时,它会失败并显示无用的消息 fatal: No names found, cannot-6ren">
gpt4 book ai didi

ios - Xcode 无法构建存档 "fatal: No names found, cannot describe anything Illegal version"

转载 作者:行者123 更新时间:2023-11-29 05:39:15 27 4
gpt4 key购买 nike

在 Xcode 10.2 中,当我构建一个在模拟器上运行的项目时,它工作得很好。但是当我单击“产品”->“存档”时,它会失败并显示无用的消息

fatal: No names found, cannot describe anything
Illegal version:
Command PhaseScriptExecution failed with a nonzero exit code

这里的实际问题是什么?我试过the lock & unlock trick with Keychain Access ,删除 DerivedData 文件夹,然后重新启动计算机,但没有任何效果。

最佳答案

事实证明,在构建阶段我有一个运行脚本正在调用 git describe生成版本号,这引发了错误消息“致命:找不到名称,无法描述任何内容”。

当我删除运行脚本对 git describe 的调用时,效果很好。

关于ios - Xcode 无法构建存档 "fatal: No names found, cannot describe anything Illegal version",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56720995/

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