对第三方库指定版本后 pod install 报错 如下
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install
CocoaPods的版本库是有缓存的, 但在使用pod指令更新版本库时会出现冲突, 导致更新并不能如期完成, 需要手动删除本地缓存, 再进行更新。
解决方法:
$ sudo rm -fr ~/.cocoapods/repos/master
$ pod setup
之后重新 pod install 顺利通过