cocoa pods 安裝問題

若是出現這樣的提示:git

pod setupgithub

Setting up CocoaPods master repoxcode

[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git mastercurl

 

Cloning into 'master'...url

error: RPC failed; curl 56 SSLRead() return error -9806code

fatal: The remote end hung up unexpectedlyrem

fatal: early EOFit

fatal: index-pack failedast

你應該照着下面的步驟就能夠了date

一、sudo gem uninstall cocoapods

二、sudo gem install xcodeproj

三、sudo gem install cocoapods

四、pod setup

五、sudo gem update --system

至此你的cocoapod應該就可使用了!!!

相關文章
相關標籤/搜索