xcode14.3 打包失败问题
2023-07-05 本文已影响0人
天天星期天
错误示例
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/(中间省略一大段)/Release-iphoneos/smokdiary.build/Script-B6DD7FCC29EE951144062E1F.sh (in target 'demo' from project 'demo')
cd /Users/.../git/demo
/bin/sh -c /Users.../Script-B6DD7FCC29EE951144062E1F.sh
mkdir -p /Users/.../Frameworks
Symlinked...
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AFNetworking.framework" "/Users/.../Frameworks"
building file list ... rsync: link_stat "/Users/...../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AFNetworking.framework" failed: No such file or directory (2)
done
sent 29 bytes received 20 bytes 98.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/c2cb9645-dafc-11ed-aa26-6ec1e3b3f7b3/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
运行没啥问题,archive 就报这个错。
解决方法
image.png
如图第44行 修改成
source="{source}")"
保存 打包 完成
原因 不详,但是我已经成功上架,并无任何影响。各位可放心使用