cd 到 ~/.cocoapods/repos/ 目录下git clonehttps://github.com/CocoaPods/Specs.git更改 Specs 文件名,改成master执行pod setup,等待其完成