可以在Homebrew官网 https://brew.sh/index_zh-cn
也可直接在终端安装 /bin/bash-c"$(curl-fsSLhttps://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
安装错误 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
我出现这个错误是因为网络问题,
解决方式一
(1)打开网站: https://www.ipaddress.com/
查询一下 raw.githubusercontent.com对应的IP 地址 加入host文件
我是换了一个网络就好了
其他问题 解决方案 几种解决方案
https://blog.csdn.net/survivorsfyh/article/details/103960551
https://blog.csdn.net/NetRookieX/article/details/108301617
Cartahge 更新报错Building universal frameworks with common architectures is not possible.
错误解决地址 : https://blog.csdn.net/iOS_MingXing/article/details/118526112
不区分iOS/MACOS
carthage update --use-xcframeworks
如果是iOS
carthage update --platform iOS --use-xcframeworks
图片