Error while starting Flutter app with iOS emulator


I am getting the following error while starting Flutter app with iOS emulator

Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
To update the CocoaPods specs, run:
  pod repo update

Error running pod install
Error launching application on iPhone 12.

1 Answer

3 years ago by

Run below commands in flutter root directory

 cd ios 
 pod update 
 pod install 
3 years ago by Omnitrix