[汇]cocoapods 问题汇总

1. pod repo update  错误: 

Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are offline, or that GitHub is down

方法:
$sudo rm -fr ~/.cocoapods/repos/master
$pod setup
$pod install

Otherwise

$sudo rm -fr ~/.cocoapods/repos/master
cd ~/.cocoapods/repos 
$git clone --depth 1 https://github.com/CocoaPods/Specs.git master
原文地址:https://www.cnblogs.com/linganxiong/p/8251965.html