Post

Replies

Boosts

Views

Activity

Reply to xcodebuild proxy settings
In the latest version of Xcode, you can simply edit the file /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/java/conf/net.properties accordingly. After changing the following line (which is set to false by default), notarization was able to connect from behind out proxy server. java.net.useSystemProxies=true
Dec ’21
Reply to Connect timeout on notarize
The XCode Content Delivery Services framework is just broken. When invoking xcrun altool --notarize-app, the framework uses the embedded JVM at /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/java/bin/java. Using some trickery, I can see the java command being invoked and it does not include the -Dhttps.proxyHost and -Dhttps.nonProxyHosts system properties needed to configure the JVM to use the proxy server. As such, it can never, ever work from a corporate network where a proxy server is required to reach the Internet. See https://docs.oracle.com/javase/8/docs/api/java/net/doc-files/net-properties.html for more information! What am I supposed to do?
Sep ’21