OSX10.10 上pod错误解决
# 如果使用了rvm安装的ruby环境,先切换回系统的ruby
rvm system
sudo gem uninstall cocoapods
sudo gem uninstall xcodeproj
sudo gem install cocoapods
sudo gem install xcodeproj
pod --version
# 下面这步会时间比较长
pod setup
# test
pod install
http://stackoverflow.com/questions/24018355/cocoapods-with-xcode-6-and-10-10-yosemite