gpt4 book ai didi

ios - CocoaPods 安装失败(无法解析依赖)

转载 作者:可可西里 更新时间:2023-11-01 05:11:31 25 4
gpt4 key购买 nike

我在 MacOS X 10.3 上安装 CocoaPods 时遇到问题。第一次尝试失败并出现 DependencyError for nap。我安装 nap 并重试,结果相同。卸载并重新安装没有帮助。

andreass-mbp:~ AndreasB$ sudo gem uninstall cocoapods
Password:
andreass-mbp:~ AndreasB$ sudo gem uninstall nap
Successfully uninstalled nap-1.0.0
andreass-mbp:~ AndreasB$ sudo gem install nap
Fetching: nap-1.0.0.gem (100%)
Successfully installed nap-1.0.0
Parsing documentation for nap-1.0.0
Installing ri documentation for nap-1.0.0
1 gem installed
andreass-mbp:~ AndreasB$ sudo gem install cocoapods
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: cocoapods requires nap (~> 0.8); cocoapods-stats requires nap (~> 0.8); cocoapods-core requires nap (~> 0.8.0)

最佳答案

尝试安装预发布版本:

 sudo gem install cocoapods --pre 

关于ios - CocoaPods 安装失败(无法解析依赖),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32265784/

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