Flutter安装完成后,pod install报错
No podspec found for `scan` in `.symlinks/plugins/scan/ios`
错误原因:
当前用户对symlinks/plugins/scan目录没有读写权限
解决方案:
1.command shift . 显示隐藏文件夹
2.找到项目中.symlinks/plugins/scan文件,右键在原处显示
3.对原文件夹右键,显示简介,最下方共享与权限中添加当前电脑账号,并给与读写权限
4.重新pod install或者pod update
tips
如果还报错,可以尝试cd到项目根目录重新执行flutter pub upgrade后再cd到example/ios目录下执行pod install或者pod update