I'm trying to run a flutter app - iOS with the following environment Xcode Version 13.2.1 (13C100) flutter sdk: 2.10.5 dart: 2.16.2 mac processor: Intel Core i7 but I get "No such module 'Flutter'" inside a file in extension Target beside my Runner Target so how can I fix that issue?
No such module 'Flutter' : Xcode 13.2.1
10k Views Asked by Saad Aboulsooud Abdelmoaty Ali AtThere are 4 best solutions below

In your pods list in XCode, select the Flutter pod and check the Build Options. Make sure the Debug field for example (if you are running in debug) is set to Yes and your Supported platforms is set.

I had a similar problem, my problem was that the development certificate of the Apple developer account was expired, I believe it is Xcode new version (15) problem because when I have an old mac not updated. when I opened the project on the old xcode (14) it gave me the error straight away.
In my case the solution was simple, go to the Apple developer certificates page
Make sure that all certificates are not expired, and if you find any expired certificate, click on it and select revoke.
When you open the project if you already enabled automatic syncing it will create a new certificate for you.
I hope this helps someone, I spent days searching for the solution. you can check more solutions for this issue because it isn't only flutter-related: Getting error "No such module" using Xcode, but the framework is there
FINALLY I SOLVED IT.
The problem was there is no "Flutter.xcframework" in my app's flutter module.
The solution