Flutter踩坑记录

1、flutter 集成到已有项目中  pod install时报错 ,报错指向这里  install_all_flutter_pods(flutter_application_path),报错信息为“script_phase”无法执行

解决方案:升级coacopods

     $ sudo gem install -n /usr/local/bin cocoapods --pre //安装最新版本

    $ sudo gem install -n /usr/local/bin cocoapods -v //安装指定的 version

    $ sudo gem uninstall cocoapods //卸载

你可能感兴趣的:(Flutter踩坑记录)