升級 gem update cocoapods(如果CocoaPods還不是最新版本)
首先查看本地裝了關(guān)于cocoapods的哪些東西立莉,在終端輸入gem list --local | grep cocoa pods
接著全部卸掉上面的速种,在終端輸入gem uninstall cocoapods
再安裝,在終端輸入gem install cocoapods
嘗試4我抠、如果問題依舊,那么請清除緩存再pod setup
清除命令sudo rm -fr ~/.cocoapods/repos/master
再pod setup