XCode Cocoapod错误

 

Could not automatically select an Xcode project. Specify one in your Podfile like so

原文http://blog.csdn.net/kolnick/article/details/38954325

lhdeiMac:AnimatedSteeringDemo lh$ pod install
Analyzing dependencies
[!] Could not automatically select an Xcode project. Specify one in your Podfile like so:
    xcodeproj 'path/to/Project.xcodeproj
解决方法: 
需要重新设置xcode路径


xcode-select -p  打印当前xcode设置路径
/Applications/Xcode.app/Contents/Developer   
将xcode路径 设置在Applications下 (注意在前面输入 sudo 命令)
xcode-select -s /Applications/Xcode.app/Contents/Developer
posted @ 2014-09-09 22:03  huluo666  阅读(777)  评论(0编辑  收藏  举报