mac M1 cocoapods correct architecture? flutter run won't install pods properly

185

Try to uninstall all cocoapods and gem

sudo gem uninstall cocoapods

And install again using brew

brew install cocoapods

Then clean all your pods. run this command on your terminal

flutter clean
rm -Rf ios/Pods
rm ios/Podfile.lock
rm -Rf ios/.symlinks
rm -Rf ios/Flutter/Flutter.framework
rm -Rf ios/Flutter/Flutter.podspec
Share:
185
Julia Pak
Author by

Julia Pak

Long time app developer, first time DAPP developer:) Solidity and flutter

Updated on January 04, 2023

Comments

  • Julia Pak
    Julia Pak over 1 year

    I am having some issues with cocoapods and architecture i think on my mac M1. Here is what I get when I do flutter run

    console output

    I think it is a problem with architecture. when i run arch in my terminal it shows i386

    However when I run arch from vscode terminal this is what I get enter image description here