准备删除cocopod中某一个库时,出现错误,错误如下:
进入当前 项目目录下(cd 把项目拖进来,就是目录)

然后添加:这个位置

但是又报
错了

然后又换种方式
添加tuna镜像
终端运行代码
cd ~/.cocoapods/repos
pod repo remove master
git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master
在工程中podFile添加上
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'

安装中需要时间等待

以上安装完,问题解决
网友评论