[!] Error installing AFNetworking
[!] /usr/bin/git clone https://github.com/AFNetworking/AFNetworking.git /var/folders/01/7k6pwd_n0z34g0ht5r7568c40000gn/T/d20211230-13981-jnzznf --template= --single-branch --depth 1 --branch 3.1.0
Cloning into '/var/folders/01/7k6pwd_n0z34g0ht5r7568c40000gn/T/d20211230-13981-jnzznf'...
fatal: unable to access 'https://github.com/AFNetworking/AFNetworking.git/': LibreSSL SSL_connect: Operation timed out in connection to github.com:443
[!] Error installing AFNetworking
[!] /usr/bin/git clone https://github.com/AFNetworking/AFNetworking.git /var/folders/01/7k6pwd_n0z34g0ht5r7568c40000gn/T/d20211230-13928-14loly4 --template= --single-branch --depth 1 --branch 3.1.0
Cloning into '/var/folders/01/7k6pwd_n0z34g0ht5r7568c40000gn/T/d20211230-13928-14loly4'...
error: RPC failed; curl 28 LibreSSL SSL_read: Operation timed out, errno 60
fatal: expected flush after ref listing
终端输入: git config --global http.proxy
git config --global --unset http.proxy
在执行 pod install
即可解决