An error occurred uploading to the App Store.

Whenever I try to upload an app from Xcode, I get this error right as the file upload begins:

App Store Connect Operation Error
An error occurred uploading to the App Store.

This is not a transient problem. I have had this issue for months, ever since I started using an M1 Mac Mini for most of my development.

The only workaround I've been able to find so far is to use a different Mac to upload my builds. Luckily, I have another one, but I'm getting tired of doing this.

Both Macs are running the same version of Mac OS, same version of Xcode, and are on the same Wifi network. I also checked to make sure the network settings are identical.

How can I debug this problem?

Accepted Reply

Update: I finally figured out the problem.

My "/usr/local/itms/bin" folder had a file called iTMSTransporter dated July 2008. Although my Mac is only a few months old, this file must have come across from my old Mac when I restored the Time Machine backup.

Deleting it fixed the problem.

Replies

Update: I finally figured out the problem.

My "/usr/local/itms/bin" folder had a file called iTMSTransporter dated July 2008. Although my Mac is only a few months old, this file must have come across from my old Mac when I restored the Time Machine backup.

Deleting it fixed the problem.