使用cocoapods出现问题fetch of the ‘master’ 的解决方法

更新cocoapod的时候会出现   

Performing a deep fetch of the `master` specs repo to improve future performance

的错误。

纠结半天,是因为pod steup的时候创建master这个库,没成功,之后就算移除镜像重新安装的话 默认是从matser库里获取,导致安装不成功。

解决办法是移除master库,重新创建。

 

pod repo upadte --verbose

 

rm -rf ~/.cocoapods/repos/master

 

再重新setup 

 

pod setup

posted @ 2016-09-19 09:36  ICookie  阅读(297)  评论(0)    收藏  举报