Closed hw20101101 closed 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`
请问这个怎么解决,网上也没搜到。谢谢
貌似执行一下这个命令就可以了:sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
链接:http://blog.csdn.net/wm9028/article/details/51840759
`[!] 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`
请问这个怎么解决,网上也没搜到。谢谢