CocoaPods报错

2022-08-28  本文已影响0人  mayuee

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

上一篇 下一篇

猜你喜欢

热点阅读