Xcode Cloud Fails on Export: App Store Connect Authentication Error

Hello,

Our Xcode Cloud builds are successfully archiving but fail every time during the "Export archive for app-store distribution" step. The issue appears to be a persistent authentication failure with App Store Connect that we are unable to resolve.

Primary Error: The build logs show a critical authentication failure.

IDEDistribution.critical.log shows: App Store Connect request for store configuration failed for account Session Proxy Provider... Unable to authenticate with App Store Connect.

DVTITunesSoftwareService.log specifies the error is DVTITunesSoftwareServiceFoundation.DVTServicesSessionProviderCredentialITunesAuthenticationContextError.proxy.

The build process eventually terminates during the IDEDistributionSymbolsStep with an Rsync failed error, which we believe is a symptom of the earlier authentication failure.

Troubleshooting Already Performed: We have already taken the following steps without success:

Verified the account used for the integration has "Account Holder" and "Admin" roles.

Confirmed that Xcode Cloud's automatic signing is working correctly and is able to create new provisioning profiles.

Thoroughly checked the App Store Connect web UI under Users and Access > Integrations > Xcode Cloud for a way to reset the connection, but no such option exists.

Removed and re-added the Apple ID in the Xcode application's settings (Xcode > Settings > Accounts) on a local Mac.

Our hypothesis is that the integrated authentication session between Xcode Cloud and App Store Connect is invalid or stale, and there is no user-facing way to reset it.

Has anyone else encountered this "Session Proxy Provider" authentication error with Xcode Cloud? Is there a known solution or a different method to force a re-authentication of the service connection?

Any guidance from Apple engineers or other developers would be greatly appreciated.

(Developer Support Case: 102717975870)

Xcode Cloud Fails on Export: App Store Connect Authentication Error
 
 
Q