1.查看本地pod版本
➜ ~ gem list --local | grep cocoapods
cocoapods (1.5.0, 1.4.0)
cocoapods-core (1.5.0, 1.4.0)
cocoapods-deintegrate (1.0.2)
cocoapods-downloader (1.2.0, 1.1.3)
cocoapods-plugins (1.0.0)
cocoapods-search (1.0.0)
cocoapods-stats (1.0.0)
cocoapods-trunk (1.3.0)
cocoapods-try (1.1.0)
2.依次卸载各个组件
➜ ~ sudo gem uninstall xxxxxxxx
3.重新安装pod
➜ ~ sudo gem install cocoapods
网友评论