您的位置:首页 > 其它

Cocoapods error: “Pull is not possible because you have unmerged files.”

2014-02-21 16:49 573 查看
今天工程全部迁移到了cocoapods

执行pod install时是提示

Pull is not possible because you have unmerged files

可是git status 发现本地并没有需要提交的文件, 于是猜想问题出在了 cocospod上面 

果然在Stack Overflow 有人发生了与我相同的错误

好在已经有了解决方法

$ pod repo remove master
$ pod setup

或者 直接手动删除

rm
-rf ~/.cocoapods/

然后执行 pod install 即可

参考
http://stackoverflow.com/questions/21534309/cocoapods-error-pull-is-not-possible-because-you-have-unmerged-files https://github.com/CocoaPods/Specs/issues/1268  
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: