1

fatal error: 'Flutter/Flutter.h' file not found #import <Flutter/Flutter.h> ^~~~~~~~~~~~~~~~~~~ 1 error generated. note: Using new build system note: Planning note: Build preparation complete note: Building targets in parallel

Could not build the application for the simulator. Error launching application on iPhone 13.

  • The same issue was posted here. [Checkou this link](https://stackoverflow.com/questions/64973346/error-flutter-flutter-h-file-not-found-when-flutter-run-on-ios) – Shahzaib Ahmed Dec 25 '21 at 17:00
  • Does this answer your question? [error: 'Flutter/Flutter.h' file not found when flutter run on iOS](https://stackoverflow.com/questions/64973346/error-flutter-flutter-h-file-not-found-when-flutter-run-on-ios) – xxbinxx Dec 28 '21 at 03:42

1 Answers1

0
  1. Just remove ios/Flutter/Flutter.podspec: rm ios/Flutter/Flutter.podspec
  2. Then run flutter clean
  3. Run your app again.

Boom! Your Error might be solved.

if won't work follow this doc. https://fluttercorner.com/error-flutter-flutter-h-file-not-found-when-flutter-run-on-ios/

Sanjay Soni
  • 168
  • 4
  • 10