pod 相关

Macbook 安装cocoapods慢/报错,使用清华源顺利安

2020-07-25  本文已影响0人  James_1e03

1,pod install报错,

pod repo add 'cocoapods' `https://github.com/CocoaPods/Specs.git`也报错

切换淘宝源,也没用

就是被墙了,用清华源

cd进入你的IOS工程

pod repo add cocoapods https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git

安装成功

接着把ios工程里面的podfile

Source换成 

source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'

然后pod install很快就安装了。

上一篇 下一篇

猜你喜欢

热点阅读