升级xcode14.3打包报错 Command PhaseScriptExecution failed with a nonzero exit code

升级了xcode14.3,在打包工程后出现报错:
rsync error: some files could not be transferred (code 23) at …/rsync/main.c(996)
Command PhaseScriptExecution failed with a nonzero exit code

解决方案:
在Xcode项目目录中进入 Pods -> Targets Support Files -> Pods-项目名 -> Pods-项目名-frameworks.sh 中搜索source="$(readlink "${source}")",找到后将其替换为source="$(readlink -f "${source}")",然后重新进行打包操作。
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/bangtanhui/article/details/130574682