Problems when installing cocoapods

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

Cloning into 'master'...

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

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

Solution:
Open a terminal command line and enter the following command:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326519037&siteId=291194637