美文网首页
Command PhaseScriptExecution fai

Command PhaseScriptExecution fai

作者: 忧郁的小码仔 | 来源:发表于2024-03-05 13:05 被阅读0次

iOS debug没问题,一打包就报错:

Command PhaseScriptExecution failed with a nonzero exit code

解决方法如下:
在项目的Pods目录下,找到Targets Support Files->Pods-xxxx-frameworks.sh
搜索一下:

source="$(readlink "${source}")"

替换成:

source="$(readlink -f "${source}")"

重新打包即可

相关文章

网友评论

      本文标题:Command PhaseScriptExecution fai

      本文链接:https://www.haomeiwen.com/subject/jgkdzdtx.html