Hi, I’m up to chapter 5 in the flutter apprentice book. iOS simulator suddenly stopped working, it comes up with:
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 14.
It was working fine just moments earlier.
I did the: ‘sudo gem uninstall ffi && sudo gem install ffi – --enable-libffi-alloc’
in the terminal but did not solve the issue.
I also ran ‘flutter doctor’ in the terminal and ‘No issues found!’
I checked in other flutter projects in android studio and the same issue occurs.
The app runs fine on the android emulator.
I know this is not directly related to book content, but the reason I’m learning flutter is that it would work across the android & iOS platforms.
Any idea what I can do to make iOS simulator work?
Thanking you in advance