Wednesday, July 21, 2021

Flutter pod install error

This happens when we change the plugins versions or flutter pub package.

I was getting a similar error, so I used many different things but still nothing happened but finally I got an exact solution For the solution follow the below steps

  1. Delete the podfile.lock file from the ios folder.
  2. Open the terminal, go to the ios folder directory and run pod install. It could take some time to install. If pod install gives any error then try this  pod install --repo-update
  3. After everything is done run your project again flutter run