close
error running pod install in flutter on mac, error running pod install, running pod install in flutter on mac, pod install in flutter, running pod install in flutter

[Solved] error running pod install in flutter on mac

Hello Guys How are you all? Hope You all are fine. When I was trying to run my flutter app and suddenly I get the following error in my stack track. error running pod install in flutter on mac in a flutter. So today Here I come with all possible solutions for this error.

We are providing you all possible solutions to solve this error. let’s start this article without wasting your time.

How Error error running pod install in flutter on mac Occurs ?

My app worked in android without any error but as I Run my app in ios I face following error in my stack track.

Error running pod install

How to Solve error running pod install in flutter on mac Error?

  1. How to Solve error running pod install in flutter on mac Error?

    To Solve error running pod install in flutter on mac Error Just try to manually install pods file by following command. First of delete podfile.lock file from your_project/ios folder. Open terminal at the root level of your project. open ios folder by this command cd ios then run pod install If pod install gives any error then run this pod install –repo-update Just run your project.

  2. error running pod install in flutter on mac

    To Solve error running pod install in flutter on mac Error Just try to manually install pods file by following command. First of delete podfile.lock file from your_project/ios folder. Open terminal at the root level of your project. open ios folder by this command cd ios then run pod install If pod install gives any error then run this pod install –repo-update Just run your project.

Solution 1 : Install Pod manually

Just try to manually install pods file by following command.

  1. First of delete podfile.lock file from your_project/ios folder.
  2. Open terminal at the root level of your project.
  3. open ios folder by this command cd ios
  4. then run pod install
  5. If pod install gives any error then run this pod install –repo-update
  6. Just run your project.

Solution 2 : Install Pod automatically

First of all delete all file and folder given below, then just run flutter run will automatic install pods and other file.

  1. First of all Delete podfile.lock in ios folder, if it exists.
  2. Then Delete podfile from ios folder.
  3. Just Delete the Pods folder in the ios directory.
  4. now Run flutter clean in the terminal.
  5. after that Run, flutter pub get to the terminal.
  6. then Run flutter run in the terminal.

Solution 3 : Pod install

Just follow below step to solve this error.

  1. flutter clean
  2. rm -Rf ios/Pods
  3. then rm -Rf ios/.symlinks
  4. rm -Rf ios/Flutter/Flutter.framework
  5. rm -Rf ios/Flutter/Flutter.podspec
  6. cd ios
  7. pod install
  8. cd ..
  9. flutter build ios
  10. flutter run

Summery

So, It’s All About This Error. I hope this tutorial helps you to Solve your error. Please Comment Below if You stucks anywhere with my code. And please comment below on which solution worked for you. Thank You.

Also Check Out Below Tutorials


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *