某天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被墻了,所以目前我發(fā)現(xiàn)的解決方案有兩種