错误详情
[!] Error installing TOCropViewController[!] /usr/bin/git clone https://github.com/TimOliver/TOCropViewController.git /var/folders/bw/b718jv5j2z70fws0yw7rclp40000gp/T/d20210930-6768-hu9bgd --template= --single-branch --depth 1 --branch 2.5.5Cloning into '/var/folders/bw/b718jv5j2z70fws0yw7rclp40000gp/T/d20210930-6768-hu9bgd'...fatal: unable to access 'https://github.com/TimOliver/TOCropViewController.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
解决办法
打开 gitconfig
open ~/.gitconfig
添加代理配置
[remote "origin"]proxy = http://127.0.0.1:7890[http]proxy = http://127.0.0.1:7890[https]proxy = http://127.0.0.1:7890
这里的端口号修改为自己代理的端口号即可
