你好我试图通过克隆使用Git的桌面客户端的Https到位桶的iOS项目。其复制好,好到本地机器。但是,当我试图通过迦太基命令来安装一些依赖关系:
carthage bootstrap --platform iOS
我得到的终端出现以下错误:我从公司代理的工作:
MacLions-MacBook-Pro:ios MacLions$ carthage bootstrap --platform iOS
*** Checking out dashboard at "v0.2.1"
*** Checking out credential-recovery at "v0.2.1"
*** Checking out Alamofire at "4.8.1"
*** Checking out secureDataStorage at "v0.0.2"
*** Cloning Alamofire
*** Cloning info-recovery
A shell task (/usr/bin/env git clone --bare --quiet https://github.com/Alamofire/Alamofire.git /Users/MacLions/Library/Caches/org.carthage.CarthageKit/dependencies/Alamofire) failed with exit code 128:
fatal: unable to access 'https://github.com/Alamofire/Alamofire.git/': Failed to connect to github.com port 443: Connection refused
我试图在git的代理设置:
Getting git to work with a proxy server
但仍然没有成功
我不是一个Mac用户。只是Goodled,并发现了一些答案。删除~/Library/Caches/org.carthage.CarthageKit
会有所帮助。
参考 - https://github.com/Carthage/Carthage/issues/694。
这post可以帮助你。