1、首先进入到项目下的iOS文件夹下
2、删除example/ios/Podfile.lock and example/ios/Pods/
3、然后通过命令行进入到项目下进行flutter clean.
4、重新运行,一切OK,亲测有效
解决方案来自于github
1、首先进入到项目下的iOS文件夹下
2、删除example/ios/Podfile.lock and example/ios/Pods/
3、然后通过命令行进入到项目下进行flutter clean.
4、重新运行,一切OK,亲测有效
解决方案来自于github