美文网首页
CocoaPods报错

CocoaPods报错

作者: mayuee | 来源:发表于2022-08-28 01:20 被阅读0次

CocoaPods引入第三个SDK,file not found

/Users/mazb/Library/Caches/CocoaPods/Pods 看看对应SDK缓存是不是空的???

pod安装插件报fatal: unable to access 'https://github.com/xxx.git/' 的错误

安装TangramKit这个库,Podfile文件中写的是pod 'TangramKit', 当执行pod install --verbose --no-repo-update`命令后,发现报如下错误

[!] Error installing TangramKit
[!] /usr/bin/git clone https://github.com/youngsoft/TangramKit.git /var/folders/fb/msnc_f8j6z7gbmct86qp7_4c0000gn/T/d20220828-23320-1v651ns --template= --single-branch --depth 1 --branch 1.4.2

Cloning into '/var/folders/fb/msnc_f8j6z7gbmct86qp7_4c0000gn/T/d20220828-23320-1v651ns'...
fatal: unable to access 'https://github.com/youngsoft/TangramKit.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 

解决办法

控制台输入如下量行命令

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

重新执行 pod install

相关文章

网友评论

      本文标题:CocoaPods报错

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