[英]Cant install All pods. : Failed to connect to dl.inmobi.com port 443: Connection refused
[英]Failed to connect to github.com port 443: Connection refused in terminal MacBook
嗨,我正在嘗試使用 Git 桌面客戶端使用 Https 克隆 Bitbucket iOS 項目。 它很好地克隆到本地機器上。 但是當我嘗試通過 Carthage 命令安裝一些依賴項時:
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 中設置代理:
但還是沒有成功
我不是 Mac 用戶。 剛剛谷歌了一下,找到了一些答案。 刪除~/Library/Caches/org.carthage.CarthageKit
可能會有所幫助。
參考 - https://github.com/Carthage/Carthage/issues/694 。
而這篇文章可能會對你有所幫助。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.