I use proxy to speed up the connection to github.com with shell proxy settings:
export https_proxy=http://127.0.0.1:6152;export http_proxy=http://127.0.0.1:6152;export all_proxy=socks5://127.0.0.1:6153
Normally I get only 50 KiB/s without proxy. The HTTPS proxy could boost the dependencies resolving speed up to 8 MiB/s. However, the Xcode does not follow the shell proxy settings neither the system proxy settings.
The Vapor 3 toolbox supports
vapor xcode command to resolve SwiftPM under the shell and generate a project for editing. But in the Vapor 4 that command alias to
open package.swift. That's a pain for me.
I wonder if there is an entry to set the proxy for Xcode to resolve the SwiftPM dependencies.