无法连接到github.com 443端口:在终端的MacBook连接被拒绝

问题描述 投票:0回答:1

你好我试图通过克隆使用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

但仍然没有成功

xcode git macos terminal carthage
1个回答
0
投票

我不是一个Mac用户。只是Goodled,并发现了一些答案。删除~/Library/Caches/org.carthage.CarthageKit会有所帮助。 参考 - https://github.com/Carthage/Carthage/issues/694。 这post可以帮助你。

© www.soinside.com 2019 - 2024. All rights reserved.