简体   繁体   English

Flutter 应用程序无法在 iOS 模拟器上运行 [未找到 Flutter/Flutter.h]

[英]Flutter app unable to run on iOS simulator [Flutter/Flutter.h not found]

i have developed a Flutter app and it works well on android.我开发了一个 Flutter 应用程序,它在 android 上运行良好。 However, im trying to run it on iOS simulator on my macbook but i keep getting this error Flutter/Flutter.h file not found.I have tried solutions like this but i still cannot get it to work.但是,我试图在我的 macbook 上的 iOS 模拟器上运行它,但我一直收到此错误 Flutter/Flutter.h 文件未找到。我已经尝试过这样的解决方案,但我仍然无法让它工作。

未找到 Flutter.h

Try running command flutter create.尝试运行命令 flutter create。

This will regenerate the ios folder and fix any issue in the module.这将重新生成 ios 文件夹并修复模块中的任何问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM