可以在Homebrew官網(wǎng)?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 ??
我出現(xiàn)這個錯誤是因為網(wǎng)絡(luò)問題,
解決方式一
(1)打開網(wǎng)站:?https://www.ipaddress.com/
查詢一下?raw.githubusercontent.com對應(yīng)的IP 地址 ?加入host文件
我是換了一個網(wǎng)絡(luò)就好了?
其他問題 解決方案 ??幾種解決方案
Homebrew安裝步脓、卸載愿待、可能的報錯及解決方案_Mac
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
不區(qū)分iOS/MACOS
carthage update --use-xcframeworks
如果是iOS
carthage update --platform iOS --use-xcframeworks
圖片