美文网首页
mac os 10.12.1更新cocoapod

mac os 10.12.1更新cocoapod

作者: Coffee丶 | 来源:发表于2017-02-24 16:42 被阅读59次

mac os 10.12.1更新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

相关文章

网友评论

      本文标题:mac os 10.12.1更新cocoapod

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