cocoapods bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz)

替换soures的时候出现如下情况。

bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz)
MMP

把原来的sources列表清空删掉 添加下面这这个sources

// 查看列表
gem source -l 
// 删除对应的cources
gem source --remove xxx://xxx.xxx.xxx
// 添加“好使的”soucrces
gem source --add https://gems.ruby-china.com
//  可以正常安装cocoapods
gem install cocoapods --pre 

你可能感兴趣的:(cocoapods bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz))