Cocoapods的使用
问题1 Pod::Executable pull
情况:
1.安装了cocoapod
2.系统更新到最新版OS X
3.尝试执行 pod install ——>出现问题1(开始没有git 后来$git init 报错改为--> nothing added to commit but untracked files present (use "git add" to track))
解决方法:
$ pod repo remove master
$ pod setup
如果还不行则重新安装:
$ sudo su
上面一步非常重要,否则无法删除cocopods的文件
$ rm -rf ~/.cocoapods/
$ pod setup