我尝试使用命令sudo gem install cocoapods
更新cocoapods gem。安装几分钟后,我看到Successfully installed cocoapods-0.29.0
。但是当我输入pod --version
再次获得0.27.1
时。此外,当我尝试pod install
终端向我显示此错误时:
[!] Pod::Executable pull
A ALPValidator/0.0.1/ALPValidator.podspec
A Apptimize/1.5.8/Apptimize.podspec
A BloodMagic/0.5.2/BloodMagic.podspec
U CardIO/3.2.2/CardIO.podspec
U CardIO/3.3.0/CardIO.podspec
U CardIO/3.4.0/CardIO.podspec
U CardIO/3.4.3/CardIO.podspec
...
我该如何解决这个问题?