[汇]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
posted @ 2018-01-09 16:13  超级大熊  阅读(357)  评论(0编辑  收藏  举报