title: impossible to run flutter app with macbook m1
body: <p>Hello I buy an macbook m1 I have made a timemachine migration, I have upgrade android studio and xcode all is good. But when I try to run on my device I have first</p>
  <pre><code>error : pod out of date
  </code></pre>
  <p>so  I try to</p>
  <p>flutter clean
  remove pods folder and podfile.lock</p>
  <pre><code>pod repo update
  </code></pre>
  <p>but I have</p>
  <p>Ignoring ffi-1.13.1 because its extensions are not built. Try: gem pristine ffi --version 1.13.1
  /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle, 0x0009): tried: '/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')) - /Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle (LoadError)</p>
  <p>SO I have try</p>
  <pre><code> sudo gem uninstall cocoapods
  </code></pre>
  <p>but now I can't install cocoapods</p>
  <p>i have  brew install cocoapods
  zsh: command not found: brew</p>