Flutter在iOS设备运行报错fatal error: 'Flutter/Flutter.h' file not found

1、首先进入到项目下的iOS文件夹下

2、删除example/ios/Podfile.lock and example/ios/Pods/

3、然后通过命令行进入到项目下进行flutter clean.

4、重新运行,一切OK,亲测有效

解决方案来自于github

转载于:https://juejin.im/post/5b87a724f265da437c43478a