Article directory
xcode 14.3: The project runs normally on the real machine, but the following error is reported when packaging
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
Solution (pro-test is effective)
Put source=" ( readlink " (readlink " in Pods-project name-frameworks.sh( re a d l ink " {source}") "Replace with source="( readlink − f " (readlink -f "(readlink−f"{source}“)”
- Project Name/Pods/Target\ Support\ Files/Pods-Project Name/Pods-Project Name-frameworks.sh
项目名/Pods/Target\ Support\ Files/Pods-项目名/Pods-项目名-frameworks.sh
source="$(readlink "${
source}")"
source="$(readlink -f "${
source}")"
Reference blog:
rsync error: some files could not be transferred (code 23) Command PhaseScriptEx - Rare Earth Nuggets