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.