升级 Xcode14.3
后打包报错 Command PhaseScriptExecution failed with a nonzero exit code
报错内容:
1
2rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/810eba08-405a-11ed-86e9-6af958a02716/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code解决方法:
在Xcode项目目录中进入Pods -> Targets Support Files -> Pods-项目名 -> Pods-项目名-frameworks.sh 中搜索source="$(readlink "${source}")"
,找到后将其替换为source="$(readlink -f "${source}")"
,然后重新进行打包操作。