After updating to MacOS 10.15 Catalina, there are problems with Flutter.
Specifically, Flutter doctor complaints about the following:
For this issue:
[!] Flutter (Channel dev, v1.7.11, on Mac OS X 10.15 19A487m, locale en-SE) ✗ Downloaded executables cannot execute on host. See https://github.com/flutter/flutter/issues/6207 for more information
Easy fix: Open a terminal on MAC and run the following commands:
> flutter channel master
> flutter doctor
Enjoy
Its possible to install cocoapods, run flutter build ios and run on the iOS simulator.
brew uninstall cocoapods
sudo gem install -n /usr/local/bin cocoapods
pod install
Detailed instructions are here: This terminal won't let me run or install cocoa pods because I am on MacOS Catalina Beta?
Uninstall and install it again (fe if you are using homebrew
).
Just run:
brew uninstall cocoapods && brew install cocoapods