pod search 报错 (更新了macOS Catalina)
pod search AFN 如下错误
[!] CDN: trunk Repo update failed - 2 error(s): CDN: trunk URL couldn‘t be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/4/a/2/afn/1.0.0/afn.podspec.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for "raw.githubusercontent.com" port 443) CDN: trunk URL couldn‘t be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/4/a/2/afn/1.2.0/afn.podspec.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for "raw.githubusercontent.com" port 443)
执行pod repo remove trunk
移除trunk源,pod search
就都正常了!
相关链接
[!] CDN: trunk Repo update failed
相关推荐
远远的山 2020-11-09
kaidiphp 2020-10-13
JustHaveTry 2020-09-29
cloudvtech 2020-09-18
XiaoMuFireAnt 2020-09-02
BigDataMining 2020-08-21
IT兄弟团 2020-08-01
akcsdno 2020-07-21
孝平 2020-07-18
JustHaveTry 2020-07-17
kjh00abc 2020-07-08
Dxiaoru 2020-07-06
breezegao 2020-07-02
xiunai 2020-06-28
薛正华 2020-06-21
JustHaveTry 2020-06-21
丽丽 2020-06-14
shurenyun 2020-06-14
JustHaveTry 2020-06-12