cd 到 ~/.cocoapods/repos/ 目錄下git clonehttps://github.com/CocoaPods/Specs.git更改 Specs 文件名,改成master執(zhí)行pod setup,等待其完成