代码改变世界

从gitlab下载好cocoapods中遇到的问题

2015-09-26 16:19  Y了个J  阅读(410)  评论(0编辑  收藏  举报

如果遇到

[!] Unable to satisfy the following requirements:

 

- `Mantle (~> 2.0.3)` required by `Podfile`

- `Mantle (= 2.0.3)` required by `Podfile.lock`

 

某个类无法更新到最新版本,cocoapods也是最新版本的时候,在Podfile中更新到这个文件的低一点的版本,删除podfile lock 然后在命令行中打

pod install --no-repo-update 重新下载类库即可