Command PhaseScriptExecution fai

2024-03-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}")"

重新打包即可

上一篇 下一篇

猜你喜欢

热点阅读