I am using electron-builder to build, sign, notarized, and publish my application. All of this works perfectly when I am directly connected to the Internet.
When running this from my corporate network that require the use of a proxy server, electron-notarize, which spawns xcrun, gets a connect timeout when trying to upload the signed app to the iTunes server.
How do I get xcrun to use the proxy server? I have the HTTPS_PROXY environment variable set to http://my.proxy.server.name:80 but xcrun is still trying to connect directly to the iTunes server.