目录
cocoapods
1. CocoaPods was not able to update the master
repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose
今天在更新本地pod库的时候报了这个错,执行pod repo update
和pod install --repo-update
都是报这个错,后来发现是镜像的问题
$ gem sources -l
看到是
*** CURRENT SOURCES ***
https://rubygems.org/
果断换成国内的,操作如下:
先移除
$ gem sources --remove https://rubygems.org/
添加
$ gem sources --add