我想在一个旧项目上添加一个Podfile,但是我收到了这个错误
sudo pod安装
错误:
Resolving dependencIEs of `./Podfile'Updating spec repositorIEs[!] git pullUpdating 35bbbaf..8b42708error: The following untracked working tree files would be overwritten by merge:AFXAuthClIEnt/1.0.4/AFXAuthClIEnt.podspecPlease 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 cocoapodspod setup
注意:我在pod设置中遇到了同样的错误
解决方法 从命令行运行rm -rf~ / .cocoapods然后再次运行pod安装.你不应该需要sudo.
这看起来像是因为规范发生了变化而且与运行git pull相冲突
总结以上是内存溢出为你收集整理的ios – “sudo pod install”出错全部内容,希望文章能够帮你解决ios – “sudo pod install”出错所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)