美文网首页pod 相关
Macbook 安装cocoapods慢/报错,使用清华源顺利安

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

作者: James_1e03 | 来源:发表于2020-07-25 13:18 被阅读0次

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很快就安装了。

相关文章

网友评论

    本文标题:Macbook 安装cocoapods慢/报错,使用清华源顺利安

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