Xcode Cloud Build Failed with Preparing build for App Store Connect failed

My project build failed in Xcode Cloud(works well in my local Mac), and the error shows: Preparing build for App Store Connect failed The error message is not clear enough to help us find the solution to fix it. Can anyone help with it?

I'm seeing the same error, 3x

I found a legal doc that needed agreeing in the Business -> Agreement section

Still seeing this error after clearing all legal agreements :-(

Apple - Can anyone repro this ?

Please file a Feedback report using Feedback Assistant, then post the number here. Be sure to include your team ID and the link to the build also. For more information, see Reporting feedback for Xcode Cloud.

We recently switched our workflow to use the latest macOS and Xcode version and are facing the same issue. Any update on this?

Have managed to solve this issue, it was to do with uploading a build with the same version that is out in the wild. The fix was to increment the build version.

Xcode Cloud Build Failed with Preparing build for App Store Connect failed
 
 
Q