我尝试将Flutter项目连接到我的iPhone上,但在添加Google AdMob后突然出现了这个错误。我已经尝试了钥匙串解决方案(Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code)、pod deintegrate
、pod clean
、pod 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
admob_flutter
并尝试了另一个firebase_admob
。也许是因为我在admob_flutter
中设置了一些错误的东西。我不确定这是否是正确的答案,因为已经有一段时间了。但希望它能有所帮助。 - RyanIdea