參考資料:https://blog.csdn.net/xxzhangx/article/details/77412629
在公司網(wǎng)絡(luò)執(zhí)行pod install時(shí)報(bào)錯(cuò),網(wǎng)上查了各種關(guān)于443錯(cuò)誤的解決方法,都沒有解決我遇到的這個(gè)443問題岩睁,
C115xxx:Example xxxxxx$pod install
Analyzing dependencies
Downloading dependencies
Installing Expecta (1.0.6)
Installing Expecta+Snapshots (3.1.1)
Installing FBSnapshotTestCase (2.1.4)
[!] Error installing FBSnapshotTestCase
[!] /usr/bin/git clone https://github.com/facebook/ios-snapshot-test-case.git /var/folders/x3/wzlykv716kb734k87nj6xbqsmglygt/T/d20210317-16566-1k4ubuy --template= --single-branch --depth 1 --branch 2.1.4
Cloning into '/var/folders/x3/wzlykv716kb734k87nj6xbqsmglygt/T/d20210317-16566-1k4ubuy'...
fatal: unable to access 'https://github.com/facebook/ios-snapshot-test-case.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
解決方案:
env命令設(shè)置GIT_SSL_NO_VERIFY環(huán)境變量為”ture”露戒,并同時(shí)調(diào)用正常的git clone命令 或者 pod install命令
env GIT_SSL_NO_VERIFY=true pod install
成功解決我的443問題硫狞。