我已经有一个项目使用podfile.
我想在一个旧项目上添加一个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
Run Code Online (Sandbox Code Playgroud)
这很奇怪,因为我没有在我的项目中使用AFXAuthClient,而且我从未使用它.
这是我的Podfile:
platform :ios, '5.0'
pod 'TTTAttributedLabel', '~> 1.6.0'
pod 'ECSlidingViewController', '~> 0.9.0'
Run Code Online (Sandbox Code Playgroud)
我试图取得成功:
gem install cocoapods
pod setup
Run Code Online (Sandbox Code Playgroud)
注意:我在pod设置中遇到了同样的错误
Kei*_*ley 34
从命令行运行 rm -rf ~/.cocoapods
然后又跑pod install了.你不应该需要sudo.
这看起来像是因为规范发生了变化,而且与运行规则相冲突 git pull
| 归档时间: |
|
| 查看次数: |
2924 次 |
| 最近记录: |