美文网首页【IOS】重新认识系列
解决“can't find gem cocoapods (>=

解决“can't find gem cocoapods (>=

作者: 大号代码器 | 来源:发表于2021-04-07 10:49 被阅读0次

错误描述:


image.png

cocoapods原本是正常运行的,但是在某次开关机后出现以上错误。

解决:
$ brew reinstall cocoapods

image.png

$ brew link --overwrite cocoapods

image.png

tips:出现以上错误执行gem uninstall cocoapods是行不通的,因为这时候可以使用gem list --local列出本地已经安装的工具是看不到pod的,所以只能执行reinstall命令。

相关文章

网友评论

    本文标题:解决“can't find gem cocoapods (>=

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