美文网首页iOS程序猿
使用cocoapods出现问题fetch of the ‘mas

使用cocoapods出现问题fetch of the ‘mas

作者: 郭伟_技术与产品 | 来源:发表于2017-03-01 08:59 被阅读2次

更新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

相关文章

网友评论

    本文标题:使用cocoapods出现问题fetch of the ‘mas

    本文链接:https://www.haomeiwen.com/subject/ethqgttx.html