MichaelHuyp / Bilibili_Wuxianda

高仿Bilibili客户端 - ( ゜- ゜)つロ 乾杯~
MIT License
2.69k stars 693 forks source link

pod install 出错 #13

Closed hw20101101 closed 8 years ago

hw20101101 commented 8 years ago

`[!] Error installing Realm [!] /usr/local/bin/git clone https://github.com/realm/realm-cocoa.git /var/folders/9d/jrxjl4_14tj1w33z34jkrxjm0000gn/T/d20160807-80621-mqozat --template= --single-branch --depth 1 --branch v1.0.2

Cloning into '/var/folders/9d/jrxjl4_14tj1w33z34jkrxjm0000gn/T/d20160807-80621-mqozat'... error: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 54 fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed`

请问这个怎么解决,网上也没搜到。谢谢

hw20101101 commented 8 years ago

貌似执行一下这个命令就可以了:sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

链接:http://blog.csdn.net/wm9028/article/details/51840759