cocoapods安装失败

来源:互联网 发布:mac万能钥匙怎么连接 编辑:程序博客网 时间:2024/06/06 08:47

cocoapods安装失败

今天安装cocoaspods失败了,出现了这个错误代码.

XXXXXXdeprodeMacBook-Pro:~ XXXXXXdepro$ pod setupSetting up CocoaPods master repo[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git masterCloning into 'master'...error: RPC failed; result=56, HTTP code = 200fatal: The remote end hung up unexpectedlyfatal: early EOFfatal: index-pack failed

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

解决问题

XXXXXXMacBook-Pro:~ XXXXXX$ sudo xcode-select -switch /Applications/Xcode.app/Contents/DeveloperPassword:XXXXXXdeprodeMacBook-Pro:~XXXXXXdepro$ pod setupSetting up CocoaPods master repoCocoaPods 1.1.0.beta.1 is available.To update use: `sudo gem install cocoapods --pre`[!] This is a test version we'd love you to try.For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.1.0.beta.1Setup completed
0 0
原创粉丝点击