大量的答案是删除~/Library/Caches/CocoaPods/search_index.json  没有起作用 有用答案: https://blog.csdn.net/qq_35827461/article/details/89448062 https://www.jianshu.com/p/dbfdece084d5 1, pod repo remove master 2, cd ~/.cocoapods/repos 3, git clone --depth 1 https://gith…
从SVN上更新工程之后运行工程提示错误: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.`平时只要在终端输入pod install就好,但是今天却出错了,提示[!] Unable to find a specification for `FMDB` 然后我在终端输入pod search fmdb,结果竟然提示:[!] Unable…
pod search MJRefresh的时候报错 [!] Unable to find a pod with name, author, summary, or description matching MJRefresh 解决办法: 移除search_index.json,然后重新下载 执行命令:rm -rf ~/Library/Caches/CocoaPods/search_index.json 执行结果: tinydeMacBook-Pro:~ tiny$ rm -rf ~/Librar…
在执行git clone命令报错 Unable to negotiate with xxx.xxx.xxx.xxx port 12345: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 Unable to negotiate with : no matching key exchange method found. Their offer: diffie-hellman-group1-…
git clone 报错 Unable to negotiate with xxx.xxx.xxx.xxx. port 12345: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc 解决: # sudo nano /etc/ssh/ssh_config 把以下代码放到指定位置, Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,a…
1. ruby版本过低的解决方法 查看ruby版本:$ruby -v 终端会输出你的ruby 版本信息 查看目前的所有ruby版本:$rvm list known 安装ruby版本:$rvm install 2.3 2.RubyGems可用的镜像-淘宝网:http://rubygems-china.oss.aliyuncs.com 删除原有镜像:gem sources --remove https://rubygems.org/ 添加你找到的可用的镜像源:gem sources -a http:…
安装卸载更新新推荐 文章最后 其他问题总结: 1 添加taobao提供的镜像地址:http://ruby.taobao.org/ 移除命令:gem sources --remove https://rubygems.org/ 添加命令:gem sources -a http://ruby.taobao.org/ 查看gem来源列表:$ gem sources -l 2 在命令终端输入: sudo gem install cocoapods 等待15分钟: $ sudo gem install c…
二.CocoaPods 安装 CocoaPods可以方便地通过Mac自带的RubyGems安装. 打开Terminal(Mac电脑自带的终端): (1).设置ruby的软件源 这是因为ruby的软件源rubygems.org因为使用亚马逊的云服务,被我天朝屏蔽了,需要更新一下ruby的源,过程如下: 1 2 3 4 5 6 7 gem sources -l  #(查看当前ruby的源)   gem sources --remove https://rubygems.org/ #(移除当前ruby…
今天新苹果机安装cocoapods,安装完以后发现怎么pod search 都没有用 命令行提示: swhcxp@iosdevmac ~ % pod search Almofire Setup completed [!] Unable to find a pod with name, author, summary, or description matching `Almofire` 然后我重装homebrew , RVM, Ruby,Cocoapods,都安装到最新还是没用 Homebrew…
更新时间: 2016-11-25 1.出现如下信息: Conn keep-alive Updating spec repo `master` - Data URL: https://raw.githubusercontent.com/CocoaPods/Specs/4b1928e89d6cb01905d71fcc55c7726f13d5dadb/Specs/4/a/1/XLJScreenMatchings/1.1.3/XLJScreenMatchings.podspec.json - Log m…