I am trying to start Flutter Gallery with flutter run -d macos. It fails:
...
Error: To set up CocoaPods for ARM macOS, run:
arch -x86_64 sudo gem install ffi
Exception: Error running pod install
Running arch -x86_64 sudo gem install ffi does not help. Running flutter clean does not help too.
What can be missing?
I have Apple M1 Pro chip in my laptop. Can it be the reason?
- My flutter version: 2.13.0-0.0.pre.776
- The full console output is here.