How to Solve "Error Running Pod Install" in Flutter on MAC

Flutter Error running pod install After Upgrading Flutter version

try this:
go to ios folder and run

pod install --repo-update 

Flutter gives error Error running pod install

Use these commands in your project files to manually install pod files:


  1. cd ios


  2. arch -x86_64 pod install


  3. cd ..


  4. flutter run

Error running pod install: How to solve this problem?

On M1 macs, this is a known issue. Here's what you should do.

  1. Run this command (need to be run only first time)
sudo arch -x86_64 gem install ffi

  1. Install your pods like this.
arch -x86_64 pod install

Going forward, you need to run only the second command for pod install.

Source 1 : Got error while trying pod install #10220

Source 2 : pod install /w m1 macbook #10518



Related Topics



Leave a reply



Submit