你可以通过运行xcode-select --install来安装这些工具(如果尚未安装)。 如果以上步骤都无法解决问题,尝试清除gem缓存或重新安装Ruby和gem系统。通过以上步骤,你应该能够解决“could not find a valid gem 'cocoapods' (>= 0)”的错误。如果问题依然存在,可能需要更详细地检查系统配置或寻求更专业的帮助。
看到ERROR,然后再自己看看具体报错 ERROR:Error installing cocoapods:ERROR:Failed to build gem native extension 这个就需要按顺序运行以下命令 brew cleanup -d -v brew install cocoapods 如果第二个命令失败,那就运行第3个 brew link cocoapods 如果link失败,就运行下面这个 brew link --overwrite cocoapods 至...
一。 sudo gem install cocoapods 之后有一个错误: ERROR: Could not find a valid gem 'cocoapods' (>= 0) in any repository 排除错误 : 1.安装command line tools (xcode6不能直接下载用一下方法)打开终端,输入命令:xcode-select --install点击安装即可 2. 权限的问题,没有在root下面 。 sudo -i 或...
sudo gem install -n /usr/local/bin cocoapods 报如下错误:ERROR: Could not find a valid gem 'cocoapods' (>= 0) in any repository解决经过折腾,发现权限的问题,没有在root下面 。先在终端执行 sudo -isudo -i 进入到root之后再执行sudo gem install cocoapods 问题得到了解决、©著作权归作者所有,...
ERROR: Could not find a valid gem 'redis' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (https://rubygems.org/latest_specs.4.8.gz)Error fetching http://ruby.taobao.org/: serv...
ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/latest_specs.4.8.gz)
ItunesTransporter error : ["could not find a provider public id\r", "Return status of iTunes Transporter was 1: could not find a provider public id\r", "The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure."] :itc_provider => 'Provider...
执行pod lib lint 时,报错:ERROR | [iOS] unknown: Encountered an unknown error (Could not find a `ios` simulator (valid values: com.apple.coresimulator.simr
Could not find a command named "bin/build_tool_runner.dill". Usage: dart <command|dart-file> [arguments] Global options: -v, --verbose Show additional command output. --version Print the Dart SDK version. --enable-analytics Enable analytics. --disable-analytics Disable analytics. --suppress...
提示的错误是:-bash: pod: command not found 赶紧的pod --version 还是错误是:-bash: pod: command not found 想着可能是不小心被我删除了。于是准备重新下载 输入sudo gem install cocoapods 结果: ERROR:Couldnot find a valid gem'cocoapods'(>=0),hereiswhy:Unableto download datafromhttps://gems.ru...