! CocoaPods 1.10.0 out of date (1.11.0 is recommended).

[!] Xcode - develop for iOS and macOS (Xcode 14.2)
    ! CocoaPods 1.10.0 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

运行flutter doctor的问题

 

重新安装试下

brew reinstall cocoapods

然后

pod --version

成功升级1.11.3

 

posted @ 2023-10-19 20:40  lude1994  阅读(185)  评论(0编辑  收藏  举报