我已经有一个项目使用podfile。“sudo pod安装”错误
我想添加一个Podfile一个老项目,但我得到了 这个错误sudo pod install
错误:
Resolving dependencies of `./Podfile'
Updating spec repositories
[!] git pull
Updating 35bbbaf..8b42708
error: The following untracked working tree files would be overwritten by merge:
AFXAuthClient/1.0.4/AFXAuthClient.podspec
Please move or remove them before you can merge.
Aborting
,因为我没有在我的项目中使用AFXAuthClient这很奇怪,我从来没有用过它。
这里是我的Podfile:
platform :ios, '5.0'
pod 'TTTAttributedLabel', '~> 1.6.0'
pod 'ECSlidingViewController', '~> 0.9.0'
我尝试没有成功制作:
gem install cocoapods
pod setup
注:我得到吊舱安装
我也不能合并后安装新版本的cocoapods,这对我有帮助。 Thx Keith! – Bimawa 2013-04-02 02:18:24
你好,我对你的陈述感到困惑,你能帮我什么意思:“看起来这是因为规格发生了变化,并且与运行git pull相冲突”,你的回答是什么? – user1409935 2013-12-19 05:57:20
当'pod'工具使用主规格库更新它的源代码时,它会运行一个'git pull',它在这样做的时候失败了,很可能是因为某些东西被改变了,可能不会故意导致该拉失败,因为它否则会被覆盖。 – 2013-12-19 14:44:32