美文网首页
2020-03-26 Error installing Cras

2020-03-26 Error installing Cras

作者: 無生法忍 | 来源:发表于2020-03-27 10:22 被阅读0次

运行一个项目出现 Command PhaseScriptExecution failed with a nonzero exit code 错误

sudo gem install cocoapods --pre 
pod update

出现另外一个错误 ----网络不行了
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to kit-downloads.fabric.io:443
注意 :下面1-2步骤不是必要的,这个是清理旧项目 从新install
1.安装cocoapods插件

sudo gem install cocoapods-deintegrate     // 解体
sudo gem install cocoapods-clean           // 清理

2.清理

$ pod deintegrate
$ pod clean

3.重新install

$ pod install  

错误还是存在---输入命令,移除代理

git config --global --unset http.proxy
git config --global --unset https.proxy

最后一种办法,多pod install 几次就搞定了

相关文章

网友评论

      本文标题:2020-03-26 Error installing Cras

      本文链接:https://www.haomeiwen.com/subject/fmzhuhtx.html