pod不成功问题之一

问题一:
[!] Error installing AFNetworking
[!] /usr/bin/git clone https://github.com/AFNetworking/AFNetworking.git /var/folders/19/cs46j8952b50rfnv8f41k4d40000gn/T/d20220909-12027-1vr1zvt --template= --single-branch --depth 1 --branch 4.0.1

Cloning into '/var/folders/19/cs46j8952b50rfnv8f41k4d40000gn/T/d20220909-12027-1vr1zvt'...
fatal: unable to access 'https://github.com/AFNetworking/AFNetworking.git/': LibreSSL SSL_connect: Operation timed out in connection to github.com:443

问题二:
[!] Error installing CTMediator
[!] /usr/bin/git clone https://github.com/casatwy/CTMediator.git /var/folders/19/cs46j8952b50rfnv8f41k4d40000gn/T/d20220909-12171-7910qa --template= --single-branch --depth 1 --branch 46

Cloning into '/var/folders/19/cs46j8952b50rfnv8f41k4d40000gn/T/d20220909-12171-7910qa'...
fatal: unable to access 'https://github.com/casatwy/CTMediator.git/': LibreSSL SSL_connect: Operation timed out in connection to github.com:443

以上问题解决方法:
git config --global http.proxy
git config --global --unset http.proxy

在执行 pod install
安装过程中还会出现不同三方库问题,继续执行pod install

你可能感兴趣的:(pod不成功问题之一)