gpt4 book ai didi

cocoapods - Pod 安装失败,错误为 "LoadError - cannot load such file -- earlgrey"

转载 作者:行者123 更新时间:2023-12-01 00:38:12 24 4
gpt4 key购买 nike

我按照 https://github.com/google/EarlGrey/blob/master/docs/install-and-run.md#cocoapods-installation 的逐字说明进行操作当我运行 pod install 时,我得到:

LoadError - cannot load such file -- earlgrey
/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in `require'
/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in `require'

我错过了什么?

最佳答案

EarlGrey使用 earlgrey gem 以便下载任何 Swift 或 CocoaPods 依赖项,如 the doc 中所述.似乎 gem 没有正确安装。

记住 gems 安装在 /usr/local/bin ,您可能需要提供访问权限。为此,请执行 sudo gem install earlgreysudo gem install -n /usr/local/bin你应该准备好了!

关于cocoapods - Pod 安装失败,错误为 "LoadError - cannot load such file -- earlgrey",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39031282/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com