Error in Xcode 12 when trying to upload app binary to App Store Connect

I finally was able to solve this. Peeking around my system I found 3 versions of iTMSTransporter. Printing the version of each using ./iTMSTransporter -version gives the following results:

  • /Applications/Transporter.app/Contents/itms/bin/ has version 2.0.0

  • /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/ has version 2.1.0

  • /usr/local/itms/bin/ has version version 1.9.3

So it looks that old version in /usr/local/itms was used by Xcode. After deleting /usr/local/itms I was able to upload my binary within Xcode 12.2 and using the xcodebuild command line tool.

I also deleted ~/Library/Caches/com.apple.amp.itmstransporter but I do not expect that this was the real issue.

UPDATE: This also solved my issue today in Xcode 12.3 where Distribute App and xcodebuild both got stuck in a

authenticating with the app store


I face the same issues and solved it after execute ./iTMSTransporter -updateChannel earlyAccess on command line.

/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/iTMSTransporter -updateChannel earlyAccess

or

/Applications/Transporter.app/Contents/itms/bin/iTMSTransporter -updateChannel earlyAccess