Flutter Issues with MacOS 10.15 Catalina

前端 未结 3 681
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-09 08:51

After updating to MacOS 10.15 Catalina, there are problems with Flutter.

Specifically, Flutter doctor complaints about the following:

相关标签:
3条回答
  • 2021-02-09 08:56

    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

    0 讨论(0)
  • 2021-02-09 09:13

    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?

    0 讨论(0)
  • 2021-02-09 09:16

    Uninstall and install it again (fe if you are using homebrew).

    Just run:

    brew uninstall cocoapods && brew install cocoapods
    
    0 讨论(0)
提交回复
热议问题