iosflutterdart

GeneratedPluginRegistrant.h:10:9: 'Flutter/Flutter.h' file not found


I am trying to run my flutter app in iOS emulator, but I got error saying 'Flutter/Flutter.h' file not found. I have tried multiple solutions like pod clean and reinstalling pods.

flutter version:- 2.10.4 xcode version:- 13.3.1 (13E500a)

enter image description here

enter image description here


Solution

  • Tried a lot of Solution, non of them work for me, so I manually need to regenerate iOS Directory and configure everything in iOS. Here are the following commands:-

    1. rm -rf ios/
    2. flutter create .