首页 > 代码库 > [!] Error installing AFNetworking
[!] Error installing AFNetworking
cocoaPods 报错!!!
[!] Error installing AFNetworking
[!] /usr/local/bin/git clone https://github.com/AFNetworking/AFNetworking.git /var/folders/s5/8z4670mn7sjgmch0ybqbhm140000gp/T/d20161109-66691-1bgcw3d --template= --single-branch --depth 1 --branch 3.1.0
Cloning into ‘/var/folders/s5/8z4670mn7sjgmch0ybqbhm140000gp/T/d20161109-66691-1bgcw3d‘...
fatal: unable to access ‘https://github.com/AFNetworking/AFNetworking.git/‘: Failed to connect to 127.0.0.1 port 1080: Connection refused
解决办法:
1、open ~/.gitconfig
2、删除里面的
[http "https://github.com"]
proxy = socks5://127.0.0.1:1080
[!] Error installing AFNetworking
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。