This is probably one for the Apple Developer Forums instead, because it is about Xcode.
However, I think the Xcode GUI uses its own environment with a clean slate. A command line build with xcodebuild
does inherit the shell environment, so maybe if you do that first it will inherit your proxy? Then after it is resolved you can switch to the GUI until the next time you need to update the pins?