ios - 安装cocoaPod遇到的问题...求解
PHPz
PHPz 2017-04-17 16:28:20
0
4
725

最近因为手贱自己用终端来清除缓存,不小心弄坏了系统,虽然没啥重要资料,但是重装挺麻烦的,大家一定要做好备份....下面是我遇到的问题
在安装Cocoapods的时候遇到这样的报错

然后我在网上找了下,发现这篇博文 pod安装失败,Operation not permitted - /usr/bin/pod

进去看了下,用第一种方法试了下

这样操作完后继续sudo gem install cocoapods,还是报错如第一张图,实在没办法了,有人遇到过这种情况么,求解

PHPz
PHPz

学习是最好的投资!

reply all(4)
黄舟

Correct answer: http://www.jianshu.com/p/5fc15906c53a
Thanks @nnianhou

刘奇

Taobao mirror has been changed to https

黄舟
➜  ~ sudo gem install -n /usr/local/bin/ cocoapods  试试这一句,亲测有效
洪涛

I am the one who still gets the above error after executing it N times, and I still haven’t found a clue yet

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template