安装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

你可能感兴趣的:(安装)