Xcode Crashing when attempting to Distribute or Validate Archive

Xcode just crashes when either is attempted. The app can be deployed directly to a device for testing.

I’ve also checked that agreements are all accepted and have tried updating certificates.

I see some previous posters with the same problems. Has anyone found a solution?

Additional Information.

The crash occurs immediately when pressing “Distribute” after selecting AppStore Connect or TestFlight.

It also crashes when I cancel the distribution.

For unknown reason, it worked once. Now it is consistently crashing again.

I have also uploaded prior version of the app.

Update:

The problem persist with a new empty xCode project archive.

It fails to validate and distribute.

Xcode Crashing when attempting to Distribute or Validate Archive
 
 
Q