我们已经尝试使用应用程序加载器将应用程序提交到iTunes商店三天了,一直卡在“使用iTunes商店进行身份验证”步骤上。 我们已经阅读了许多论坛(包括stackoverflow),并尝试了建议:

制作一个新的配置概要文件 使用不同或多个版本的应用程序加载器 更改代理设置 重新启动Mac 在一天的不同时间上传,等等。

我们甚至让它运行了一夜,但没有成功地通过这一步。不幸的是,没有反馈可能是什么问题,我们没有得到任何错误消息。在过去,我们毫无困难地提交了多个应用程序,但这次完全卡住了! 你是怎么解决的?


当前回答

删除这里描述的所有网络设置https://apple.stackexchange.com/a/284588/225828并重新启动mac完成了工作。(我也在首选项中删除并添加了我的Apple Id ->帐户) 这也适用于无法将apple id添加到帐户,无限加载帐户选项卡,无法登录已经添加的acc等(工作在Xcode 12和13)。

其他回答

只是等待。几分钟后一切都会好起来的。

就我而言,我没有同意最新的开发者协议。只需运行应用程序加载器一次,点击[接受]同意,然后退出应用程序加载器和上传到应用程序商店应该工作正常。

2021年4月21日,我遵循了@DawnSong的回答,如下图所示,但我也重新启动了我的Mac,瞧,它工作了。

Spec Xcode 12.4 macOS Big在11.2.3上

使用Xcode 12.3 Distribute App和xcodebuild在这一点上都被卡住了。

我终于能解决这个问题了。在我的系统中,我发现了3个版本的itmtransporter。 使用./iTMSTransporter -version打印每个版本会得到以下结果:

/应用程序/运输车。app/Contents/itms/bin/有2.0.0版本 /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/有2.1.0版本 /usr/local/itms/bin/版本为1.9.3

Xcode使用的是/usr/local/itms中的旧版本。删除/usr/local/itms后,我可以在Xcode 12.2中上传我的二进制文件,并使用xcodebuild命令行工具。

2019年12月10日,Xcode版本11.2.1,MacOS X 10.15.1

我昨天也遇到了同样的问题,我想可能是网络问题,至少看起来是这样。但是今天早上我尝试了几个不同的网络和几个VPN连接,没有一个是有效的!

这里投票最多的答案是让我在我的主目录下重置一个名为. iTMSTransporter的缓存文件夹,在一个特定的文件夹下运行一个程序iTMSTransporter,但我找不到它们。

但很快我发现它是为那些使用传统上传程序的人准备的缓存文件夹:应用程序加载器,苹果已经弃用了,在Xcode 11中再也找不到它了。然后我发现最新的Xcode已经定位iTMSTransporter在这里:

/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter

它的缓存文件夹在这里

/Users/your_user_name/Library/Caches/com.apple.amp.itmstransporter/

我删除了我现有的缓存文件夹,并在没有任何参数的情况下运行iTMSTransporter,它很快就开始输出日志和下载一堆文件,并在2或3分钟内完成。然后我尝试再次上传我的ipa文件,它工作!!

结论:

Either the old Application Loader, or the latest Xcode, uses a Java program iTMSTransporter to process the ipa file uploading. To function correctly, iTMSTransporter requires a set of jar files downloaded from Internet and cached in your local folder. If your cache is somehow broken, or doesn't exist at all, directly invoking iTMSTransporter with functional parameters such as --upload-app in our case, iTMSTransporter DOES NOT WARN YOU, NOR FIX CACHE BY ITSELF, it just gets stuck there, SAYS NOTHING AT ALL! (Whoever wrote this iTMSTransporter, you seriously need to improve your programming sense). Invoking iTMSTransporter without any parameter fixes the cache. A functional cache is about 65MB, at Dec 10th 2019 with Xcode Version 11.2.1 (11B500)