码迷,mamicode.com
首页 > Windows程序 > 详细

cocoapods出现Unable to satisfy the following requirements: required by `Podfile`的解决方法

时间:2015-09-11 10:21:07      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:

1.尝试更新本地仓库:pod update --verbose  如果不行
2.版本号问题
3.pod repo update —verbose 查看缓存  删除本地缓存,重新setup  rm -fr ~/.cocoapods/repos/master  然后运行 $pod setup
如果出现下面错误
错误解决git config --global http.postBuffer 524288000(尽量大)
4.profile锁
5.pod install --verbose --no-repo-update
个人觉得:1、2的可能性大
pod的常用命令
sudo gem install cocoapods
$ gem sources --remove https://rubygems.org/
$ gem sources -a http://ruby.taobao.org/
$ gem sources -l
$ pod search AFNetworking
$ vim Podfile 例子:然后在Podfile文件中输入以下文字: platform :ios, ‘7.0‘ pod "AFNetworking", "~> 2.0"
$ pod install
$ pod update
$ pod update --verbose 

cocoapods出现Unable to satisfy the following requirements: required by `Podfile`的解决方法

标签:

原文地址:http://www.cnblogs.com/booksky/p/4800040.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!