cocopods 错误

cocopods   的使用
这里主要值得注意的是  cd 到这个工程的上的一个文件夹    eg  : Desktop ->  file-> XX.project     那么就是 cd 到file  
手动添加上 Podfile  并且经行编辑
platform :ios, '6.0'
pod 'XMPPFramework', '~> 3.6.3’
 
然后使用  pod install  出现分析目录  和pod update 命令就可以了
 
在使用pod install的时候,需要使用 管理员身份打开,不然有可能会报 ruby库有问题。
 
cocopod错误
bash-3.2# pod install
Analyzing dependencies
[!] Pod::Executable pull

Updating 5b13f4d..8cd05b1
error: The following untracked working tree files would be overwritten by merge:

ABSQLite/1.1.0/ABSQLite.podspec

ACDataViews/0.0.1/ACDataViews.podspec

ACEToolKit/0.0.5/ACEToolKit.podspec

AGEmojiKeyboard/0.1.0/AGEmojiKeyboard.podspec

Please move or remove them before you can merge.

Aborting

bash-3.2# rm -rf ~/.cocoapods also works
bash-3.2# pod install
Setting up CocoaPods master repo

CocoaPods 0.31.1 is available.
成功!
 
注意:
以上版本为pods旧版本的使用,目前最新的安装已经不需要管理员命令!
 
 
 
 
 
 

posted on 2014-05-10 14:23  foolish1016  阅读(398)  评论(0)    收藏  举报