xcode 14.3: 项目在真机上运行正常,打包时报了下面的错误
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
解决方法(亲测有效)
将Pods-项目名-frameworks.sh中的source=“ ( r e a d l i n k " (readlink " (readlink"{source}”)“替换成 source=” ( r e a d l i n k − f " (readlink -f " (readlink−f"{source}“)”文章来源:https://www.toymoban.com/news/detail-687918.html
- 项目名/Pods/Target Support Files/Pods-项目名/Pods-项目名-frameworks.sh
项目名/Pods/Target Support Files/Pods-项目名/Pods-项目名-frameworks.sh
source="$(readlink "${source}")"
source="$(readlink -f "${source}")"
参考博客:
rsync error: some files could not be transferred (code 23) Command PhaseScriptEx - 稀土掘金
升级Xcode14.3后打包报错Command PhaseScriptExecution failed with a nonzero exit code - 简书文章来源地址https://www.toymoban.com/news/detail-687918.html
到了这里,关于ios xcode 14.3: rsync error: some files could not be transferred (code 23) at的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!