Could not build the application for the simulator. Error launching application on iPhone 11 Pro Max Could not build the application for the simulator. Error launching application on iPhone 11 Pro Max xcode xcode

Could not build the application for the simulator. Error launching application on iPhone 11 Pro Max


Worked for me:

rm ios/Podfile

Then upgrade your packages:

pub upgradepub run

And update your podfile:

cd ios && pod update

Then clean and run:

flutter clean && flutter run

I hope this will help :)


My problem was solved in this way:

flutter clean

That deleted whatever messed up configuration was causing the problem.

If you are running the Flutter project from VS Code you may not be getting all of the error information. You get more error logs if you run Flutter from the command line:

flutter run


As per the logs you are using old cloud_firestore libraryPlease use cloud_firestore-0.13.0+1 instead of cloud_firestore-0.12.11

Needs to enable Xcode developer mode.Make sure the Xcode license agreement is signed by either opening Xcode once and confirming or running sudo xcodebuild -license from the command line.For more details refer below link

https://flutter.dev/docs/get-started/install/macos