码迷,mamicode.com
首页 > Web开发 > 详细

[!] Error installing AFNetworking

时间:2017-01-10 13:42:30      阅读:2494      评论:0      收藏:0      [点我收藏+]

标签:folder   cal   git clone   set   bin   tps   ...   1.0   解决   

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、删除里面的

 

[!] Error installing AFNetworking

标签:folder   cal   git clone   set   bin   tps   ...   1.0   解决   

原文地址:http://www.cnblogs.com/welcomeShl/p/6268892.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!