I'm also affected by randomly occurring 502 errors, e.g.:
[!] Error installing FirebaseCrashlytics
[!] /usr/bin/git clone https://github.com/firebase/firebase-ios-sdk.git /Volumes/workspace/tmp/d20240814-8997-10c5blv --template= --single-branch --depth 1 --branch CocoaPods-10.24.0
Cloning into '/Volumes/workspace/tmp/d20240814-8997-10c5blv'...
fatal: unable to access 'http://github.com/firebase/firebase-ios-sdk.git/': The requested URL returned error: 502
error Command failed with exit code 1.
I suspect that it's an issue with XCode Cloud, as our CI pipelines hosted elsewhere don't have trouble connecting to GitHub.
Restarting the build usually works, but it's tedious (and expensive!)
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags: