rsync错误:无法传输某些文件代码23命令PhaseScriptExecution失败,退出代码非零

问题描述

enter image description here

我试图将Flutter项目连接到我的iPhone,但是在添加Google AdMob之后突然出现了此错误。我已经尝试过钥匙串解决方案(Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code),pod deintegratepod cleanpod install。另外,我还以各种方式更改了项目配置,但是没有用。

Build target Runner
Project Runner | Configuration Debug | Destination Ryan's iPhone | SDK iOS 13.6`
Run custom shell script 'Thin Binary' 0.1 seconds`
building file list ... rsync: link_stat "/Volumes/\#341\#204\#213\#341\#205\#265\#341\#204\#207\#341\#205\#265\#341\#206\#253\#341\#204\#202\#341\#205\#241 01071958737/DEVELOPER/dont_forget/ios/../ios/Flutter/App.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/buildroot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution Failed with a nonzero exit code

解决方法

删除派生数据对我有用。