Flutter 在 MacOS M1(13.4) Ventura 上安装问题 | Cocoapods安装错误

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

我下载了 flutter_macos_arm64_3.13.9-stable 和 Xcode 14.3.1 (1 4 E 300 c)。我已经满足了 flutter 网站上的所有条件。但是当我想安装COCOAPODS时出现了问题

我在终端写的

sudo gem install cocoapods
:

ERROR:  Error installing cocoapods:
    There are no versions of cocoapods-downloader (>= 2.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you're looking for?
    cocoapods-downloader requires Ruby version >= 2.7.4. The current ruby version is 2.6.10.210.

我应该安装旧版本的 XCode 吗?

预先感谢您的帮助。

flutter dart installation cocoapods
1个回答
0
投票

Flutter 和 Mac。我面临完全相同的问题错误,但尚未找到解决方案。有解决办法或更新吗?

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