先删除全局的缓存:
sudo rm -fr ~/Library/Caches/CocoaPods/
sudo rm -fr ~/.cocoapods/repos/master/
终极大招
sudo rm -fr Pods/
再执行
sudo gem install cocoapods
pod setup
先删除全局的缓存:
sudo rm -fr ~/Library/Caches/CocoaPods/
sudo rm -fr ~/.cocoapods/repos/master/
终极大招
sudo rm -fr Pods/
再执行
sudo gem install cocoapods
pod setup
本文标题:cocoaPods was not able to update
本文链接:https://www.haomeiwen.com/subject/pbozhltx.html
网友评论