安装pod出现问题解决方法

This just happened to me as well. Somehow the CocoaPods repo got borked. This fixed my situation:

rm -rf ~/.cocoapods

pod setup

pod install

Hope that helps! :)

share|improve this answer

 

 

 

1

down vote

Looks like you need to run pod setup

Edit:

In theory if you're getting an error about the master repo you could add it manually run:

git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master

share|improve this answer

posted on 2014-12-09 21:42  风驰万里  阅读(236)  评论(0)    收藏  举报

导航