I have used several times the Xcode simulator for my flutter app. One time I tried to change the simulator to iPhone 11 Pro (don't know if it did or did not cause the problem) but since then:
Things I've tried:
What else can I do?

I had the same issue. All I had to do was open the runner.xcworkspace instead of runner.xcodeproj and run the app.
I faced this same error and realized that I have used pod init manually so I deleted the Podfile in the ios folder then run flutter build ios.
The Flutter will generate the Podfile correctly and everything works well after that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With