Flutter 问题汇总

问题 1:

[!] Invalid `Podfile` file: undefined method `script_phase' for #.

 #  from /Users/xxx/PPP/XXXXXX/Podfile:18
 #  -------------------------------------------
 #  target 'XXXXXX' do
 >    install_all_flutter_pods(flutter_application_path)

解决方法:
cd 到你的 fluttter 项目中

rm ios/Podfile
flutter build ios

你可能感兴趣的:(Flutter 问题汇总)