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

大憨熊 提交于 2020-12-05 07:13:28

问题


On Mac OS 10.15.7, in Xcode 12.1, when I try to upload my app binary to App Store Connect, I am getting:

"App Store Connect Operation Error: Please update iTMSTransporter to a newer version. (4107)"

I've tried restarting my computer, deleting .itmstransporter, and various other things to no avail.

In the meantime, I've downloaded the Transporter app from the Mac App Store and have been able to submit from there by exporting the binary rather than uploading it to the App Store, but I'd like to regain the functionality in Xcode.

Does anyone have a clue on what may be causing this?


回答1:


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.




回答2:


Application Loader isn't working anymore.

You can use Xcode or Transporter App from the App Store. https://apps.apple.com/de/app/transporter/id1450874784?mt=12



来源:https://stackoverflow.com/questions/64814856/error-in-xcode-12-when-trying-to-upload-app-binary-to-app-store-connect

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!