把下载源协议https换成git试试。
1、前往路径 ~/.cocoapods/repo/master/repos/master/Specs
2、搜索你要更新的类库的名字
3、修改json文件中的source协议为git即可。