ERROR: Could not find a valid gem 'cocoapods' (>= 0) in any repository
来源:互联网 发布:求个网络诈骗方法 编辑:程序博客网 时间:2024/05/22 02:15
今天重新安装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 su 进入到root之后再执行 sudo gem install cocoapods
二。cd到项目目录之后 vim Podfile 按i 进入编辑模式,编辑完成之后按esc退出编辑模式。 然后输入:wq进行保存。 (这个时候提示我没有权限。 使用:wq! 强制保存即可)
三. 参照 http://blog.csdn.net/yangkunlll/article/details/36626957 完成剩余操作
1 0
- ERROR: Could not find a valid gem 'cocoapods' (>= 0) in any repository
- 重新安装xcode cocoapods出现 Could not find a valid gem 'cocoapods' (>= 0) in any repository
- 重新安装xcode cocoapods出现 Could not find a valid gem 'cocoapods' (>= 0) in any repository
- 关于“Could not find a valid gem 'bundler' (>= 0) in any repository” 解决办法。
- 遇到Could not find a valid gem 'compass' (>= 0) in any repository
- Could not find a valid gem 'compass' (>= 0) in any repository compass安装失败解决方案
- ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download dat
- 安装cocoapods时已经替换成淘宝镜像依然无法成功:ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why:
- Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from h
- Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from h
- ERROR: Could not find a valid gem 'sass' (>= 0), here is why: Unable to download data from
- 解决“could not find gem 'turn <>=0 ' in any of the gem sources listed in your gemfile”错误
- Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in you r Gemfile
- Could not find gem 'sqlite3 (>= 0) x64-mingw32' in any of the gem sources listed in your Gemfile
- pod install报错:could not find a valid gem 'cocoapods'
- Could not find a valid gem 'rails' (>= 0), here is why
- Could not find gem 'sass-rails (~> 5.0) x64-mingw32' in any of the gem sources listed in your Gemfil
- [ERROR] InnoDB: Could not find a valid tablespace file
- 使用HSSFWorkBooK导入Excel表
- vfp 控制 excel 问题
- trim,ltrim,rtrim的区别
- pig脚本的参数传入,多个参数传入
- iOS申请证书,Certificates, Identifiers &Profiles 简介
- ERROR: Could not find a valid gem 'cocoapods' (>= 0) in any repository
- chm格式无法打开 不能打开文件:mk:@MSITStore:
- 如何设置编辑器语言
- iOS应用性能调优的25个建议和技巧
- 为什么程序运行的结果,虽然是倒序输出了,但是有输出了一串别的汉字
- DirectShow学习笔记总结
- 正则表达式语法
- [LeetCode] Maximum Product Subarray
- MyEclipse下配置mysql驱动的方法