CocoaPods 已安装但无法工作。 Mac M1、文图拉 13.3.1

问题描述 投票:0回答:1

我正在尝试在 Macbook 上运行 flutter,但每次运行

sudo flutter doctor
时,我都会收到以下消息:

    ✗ CocoaPods installed but not working.
        You appear to have CocoaPods installed but it is not working.
        This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
        This can usually be fixed by re-installing CocoaPods.
      To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

我尝试使用 Gem 安装 cocoapods 数十次,但仍然不起作用。

sudo gem install cocoapods

pod --version 1.12.1

ruby --version ruby 3.0.0p0

我已经尝试过this,但不起作用。

flutter rubygems cocoapods
1个回答
0
投票

你修好了吗?我也有同样的问题。

© www.soinside.com 2019 - 2024. All rights reserved.