- Remove the library from the Podfile
- Run 'pod install' to remove the library completely
- Put the library back into the Podfile
- Run 'pod install' again
[!] The `master` repo is not a git repo.
1、进入/users/你的用户名/.cocoapods/,删除master文件夹
2、pod setup
3,sudo xcode-select -switch /Applications/Xcode.app/
pod install --verbose --no-repo-update
pod update --verbose --no-repo-update
cocoapods 更新
sudo gem update --system
sudo gem install cocoapods
pod setup
|
1
|
pod --version
|
$ gem sources --remove https://rubygems.org/
//等有反应之后再敲入以下命令
$ gem sources -a http://ruby.taobao.org/
$ gem sources -l