安装cocopod 遇到问题

2022-09-22  本文已影响0人  Alan龙马

卡在 Cloning spec repo 'cocoapods' from 'https://github.com/CocoaPods/Specs.git'
一般是第一次安装cocoapod后, 使用pod install 或者 pod update等时候. 慢 900M+
可以用 https://gitee.com/mirrors/CocoaPods-Specs 国内的
https://blog.csdn.net/sirchenhua/article/details/51029918
https://blog.csdn.net/RollingPin/article/details/105050897
CDN: trunk URL couldn't be downloaded:......(Connection refused
https://blog.csdn.net/auspark/article/details/104668962/
Couldn't determine repo type for URL:https://cdn.cocoapods.org/`

host 中加入    cdn.cocoapods.org 的具体ip地址

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused的几种解决方式

打开 host
/etc/hosts

https://blog.csdn.net/qq_43531694/article/details/106862753
https://blog.csdn.net/qq_22583191/article/details/105934680

Snip20220922_5.png Snip20220922_6.png
上一篇 下一篇

猜你喜欢

热点阅读