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

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

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


当前回答

这只是今天(2017年5月)才开始发生在我身上,这个帖子中的答案没有解决我的问题。我的决心就在这里;

https://forums.developer.apple.com/thread/76803

打开终端。切换到主目录,

cd ~  

移动当前传输器目录,

mv .itmstransporter/ .old_itmstransporter/ 

调用下面的文件让Transporter更新自己。

"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"

等待它更新,然后打开Xcode并尝试上传。

其他回答

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)

找到解决方案:

我正在上传版本,除了“iTunes商店认证”,其他活动都很顺利。

我断开了我的局域网电缆,把我的MAC和我的移动热点连接起来。并解决了认证问题。如果你有一个有限的互联网计划,那么只要你通过认证阶段,再次连接你的局域网,这样它就会从你的局域网电缆的互联网连接上传应用程序。

再等一会儿吧。不要取消。长达30分钟或更长时间。然后你会看到“成功”的信息。

我一周多来都遇到了同样的问题,完全一样的问题, 最后通过自己的亲身经历找到了解决方案。

我想我遵循了所有给出的方法,但没有一个对我有用。 我自己的方法似乎对我来说是通过最初的步骤来上传二进制文件,然后,选择二进制文件后,不要单击发送;相反,关闭窗口,并在将出现的新窗口中重新开始:希望它将通过。

我通过删除~/Library/Caches/com.apple.amp.itmstransporter解决了这个问题。 为了安全起见,重命名会更好,

cd ~/Library/Caches
mv com.apple.amp.itmstransporter com.apple.amp.itmstransporter.old

然后xcrun altool成功上传了我的ipa。 顺便说一下,我用的是Xcode 11。x和12.2,macOS卡特琳娜。