# 上传应用到苹果一直卡住验证中（authentication with the app store）问题解决

## 上传应用到苹果一直卡住验证中（authentication with the app store）问题解决

• 方法一：transporter，xcode上传都是卡住，xcrun上传报错
• 方法二：搭梯子上传，transporter报错：交付到App Store时出错。xcode也报类似错误
• 方法三：通过手机热点上传，一样卡住在同样的地方（移动信号和电信信号，没试过联通的，因为没联通手机。有人通过热点上传成功的可能是联通手机？）

Dec 10th 2019, Xcode Version 11.2.1, MacOS X 10.15.1

I was facing exactly same issue yesterday and I thought it might be network issues, at least it looks like so. But this morning I had tried couple different networks and several VPN connections, none of them is working!

The highest voted answer here asks me to reset a cache folder named .itmstransporter under my home dir, the run a program iTMSTransporter under a specific folder, but I can’t find both of them.

But soon I figured that it is the cache folder for the people who uses the legacy uploader program: Application Loader, which is deprecated by Apple and can be no longer found in Xcode 11. Then I found that the latest Xcode has located iTMSTransporter here:

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

And its cache folder is here:

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

I removed my existed cache folder, and run iTMSTransporter without any parameter, it soon started to output logs and download a bunch of files, and finished in 2 or 3 minutes. Then I tried again to upload my ipa file, it works!!!

CONCLUTION:

• 1.Either the old Application Loader, or the latest Xcode, uses a Java program iTMSTransporter to process the ipa file uploading.
• 2.To function correctly, iTMSTransporter requires a set of jar files downloaded from Internet and cached in your local folder.
• 3.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).
• 4.Invoking iTMSTransporter without any parameter fixes the cache.
• 5.A functional cache is about 65MB, at Dec 10th 2019 with Xcode Version 11.2.1 (11B500)

Category:iOS Tagged:验证中 一直卡住