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

cocoapods报:Unable to satisfy the following requirements解决方案

时间:2016-09-12 15:35:40      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:

今天从github上下载一个项目,然后安装cocoapods却发现报错了:Unable to satisfy the following requirements;然后就赶紧查资料。

报错页面:

技术分享

原因是要添加的类库已经有最新版本推出,而Podfile文件并没有更改其下载版本(Podfile文件过期),于是获取安装数据失败。

因此我们要用update命令获取最新版本的类库:

解决方法:pod update --verbose

技术分享

大约等20分钟左右就解决,等待的时候不要关闭页面。结束后打开项目就可以运行了。亲测!

cocoapods报:Unable to satisfy the following requirements解决方案

标签:

原文地址:http://www.cnblogs.com/jiangshengkai/p/5864928.html

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