某天pod update时,一堆红字,我就知道,又有坑了
具体错误如下:
CDN: trunk URL couldn't be downloaded:
https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/8/a/7/Moya/14.0.0-beta.6/Moya.podspec.json,
error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for "raw.githubusercontent.com" port 443)
基本上问题的根源就是raw.githubusercontent.com:443
这个ip被墙了,所以目前我发现的解决方案有两种