XCode Cloud is literally broken for 2 months now

Since I started using XCode Cloud, my builds regularly failed due to networking issues, which is really just embarrassing. How can a company like Apple, which praises itself with a high-quality standard, ***** this up so badly?

However, since two months ago literally every single build started failing for "connection reset by peer"

My ci_post_clone.sh runs this code and surprisingly enough that step succeeds most of the time.

#!/usr/bin/env bash
set -e

brew install cocoapods
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install java 20.0.1-tem

# cd into actual project root
cd ../../../
./gradlew app:ios:podinstall

However in the archive task the errors start rolling in

2023-08-30T22:27:24.108163427Z	Could not resolve com.google.devtools.ksp:symbol-processing-api:1.9.0-1.0.11.
2023-08-30T22:27:24.108168428Z	         > Could not get resource 'https://repo.maven.apache.org/maven2/com/google/devtools/ksp/symbol-processing-api/1.9.0-1.0.11/symbol-processing-api-1.9.0-1.0.11.pom'.
2023-08-30T22:27:24.108173676Z	            > Could not GET 'https://repo.maven.apache.org/maven2/com/google/devtools/ksp/symbol-processing-api/1.9.0-1.0.11/symbol-processing-api-1.9.0-1.0.11.pom'.
2023-08-30T22:27:24.108181057Z	               > Got socket exception during request. It might be caused by SSL misconfiguration
2023-08-30T22:27:24.108186894Z	                  > Connection reset by peer
2023-08-30T22:27:24.108206745Z	Could not resolve com.google.devtools.ksp:symbol-processing-api:1.9.0-1.0.11.
2023-08-30T22:27:24.108213605Z	         > 
2023-08-30T22:27:24.108219500Z	Could not get resource 'https://dl.google.com/dl/android/maven2/com/google/devtools/ksp/symbol-processing-api/1.9.0-1.0.11/symbol-processing-api-1.9.0-1.0.11.pom'.
2023-08-30T22:27:24.108234940Z	            > 
2023-08-30T22:27:24.108239423Z	Could not GET 'https://dl.google.com/dl/android/maven2/com/google/devtools/ksp/symbol-processing-api/1.9.0-1.0.11/symbol-processing-api-1.9.0-1.0.11.pom'.
2023-08-30T22:27:24.108662595Z	Got socket exception during request. It might be caused by SSL misconfiguration
2023-08-30T22:27:24.108669328Z	
2023-08-30T22:27:24.108716268Z	                  
2023-08-30T22:27:24.108725059Z	> 
2023-08-30T22:27:24.108732903Z	Connection reset by peer
2023-08-30T22:27:24.108740596Z	      
2023-08-30T22:27:24.108748688Z	> 
2023-08-30T22:27:24.108759002Z	Could not resolve com.google.devtools.ksp:symbol-processing-api:1.9.0-1.0.11.
2023-08-30T22:27:24.108820147Z	         > 
2023-08-30T22:27:24.108829571Z	Could not get resource 'https://maven.pkg.jetbrains.space/public/p/compose/dev/com/google/devtools/ksp/symbol-processing-api/1.9.0-1.0.11/symbol-processing-api-1.9.0-1.0.11.pom'.
2023-08-30T22:27:24.108837310Z	            > 
2023-08-30T22:27:24.108844471Z	Could not GET 'https://maven.pkg.jetbrains.space/public/p/compose/dev/com/google/devtools/ksp/symbol-processing-api/1.9.0-1.0.11/symbol-processing-api-1.9.0-1.0.11.pom'.
2023-08-30T22:27:24.108860417Z	               
2023-08-30T22:27:24.108866956Z	> Got socket exception during request. It might be caused by SSL misconfiguration

So because it is highly unlikely or actually statistically impossible that repo.maven.apache.org, dl.google.com and maven.pkg.jetbrains.space all always decide to crash simultaneously whenever I run an XCode build for the past 3 months, this has to be an issue on their part. Did they suddenly stop allowing internet connections in the archive step?

Apple Support was just useless and aksed for irrelevant and impossible information like:

  • my browser
  • my ipa file (of a failing build?!)

Does anyone have any idea what causes this or has contacts to someone at apple which can fix this?

Switching to Yarn worked for me as well.

Can you please file a feedback request with the error log, the build version and the steps you've taken to investigate the issue. Reply with the request number here, so I can follow up with the issue. Thanks

We have this globally on Xcode Cloud env last version. This not version related from my perspective. As I sent already in my support (case number is 102269335713 and Case-ID: 7072693) ticket

With a demo app this fail, with Xcode cloud set at LATEST.

And this simple ci_post_clone.sh: #!/usr/bin/env bash brew install cocoapods brew install node@18 brew link node@18 npm i @capacitor/assets

For me, if you end up on the wrong xcode cloud poll where the SSL issue happen.

XCode Cloud is literally broken for 2 months now
 
 
Q