issues using simulator on Mac

Troubleshooting

Hi,

I'm trying to use Flutterflow on my Mac M3 Max with the iOS simulator. Everything is installed as listed in the docs. Everytime trying to "test" it on the iOS simulator i receive the following error messages:

Error output from CocoaPods:

โ†ณ

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- ffi_c (LoadError)

from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'

from /Library/Ruby/Gems/2.6.0/gems/ffi-1.17.1-x86_64-darwin/lib/ffi.rb:5:in `rescue in <top (required)>'

.....

.....

....

Error: To set up CocoaPods for ARM macOS, run:

sudo gem uninstall ffi && sudo gem install ffi -- --enable-libffi-alloc

Error running pod install

Error launching application on iPhone 16.

What have you tried so far?

re-install of everything

flutter doctor

sudo gem uninstall ffi && sudo gem install ffi -- --enable-libffi-alloc

Did you check FlutterFlow's Documentation for this topic?
Yes
2