Xcode stuck at “Your application is being uploaded

2020-01-24 10:44发布

I am facing an issue while submitting my app from Xcode to the App Store. I have done everything regarding my project, and its running fine on my iPhone and iPad. But when I submit my project I am facing a huge problem.

First after archive I have done the validate. Now my archive file in Organizer is showing status pass validation as well. So I believe I am at the final step of submitting the app.

  1. I have clicked on distribute and selected submit app to app store.

  2. After login I have selected provisioning files as well.

  3. I am stuck here. You can see in the screenshot below. And I have never seen any
    progress bar where I can see the submission progress or something like that.

Only screen I can see is:

enter image description here

Edited:

It was near about 1.30 hours. And internet connection is working. My ipa file is only 3.5 MB.

And last when I tried Application loader to upload the same I received the following screen as well for a long time in Authenticating with the iTunes Store... ..

enter image description here

What should I do now?

21条回答
神经病院院长
2楼-- · 2020-01-24 11:09

There is definitely a problem if your app stuck on "application stuck process". I suggest you to go with Application loader rather than Xcode itself as Application loader shows the activity status. You can clearly know in which step you stuck.

The most frequent issue faced is to stuck on the "Authentication with the iTunes Store..." step.

There are possible two work around which I followed and finally submitted my app to app store. You can try both. For me both worked at least once.

Method One : This method plays with proxy port to use http connection over https

  1. Go to Application Loader java folder : /Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/MacOS/itms/java/lib

  2. Open net.properties file with "sublime text" or "text mate"

  3. Change "#https.proxyPort=443" proxy port to "https.proxyPort=80"

  4. Save the file and reopen Application Loader and Try again.

Method Two : Regenerate your certificate and iOS distribution provision profile and Try to upload

  1. Goto https://developer.apple.com/membercenter

  2. Delete previous certificate referenced by your App for signing.

  3. Revoke your distribution certificate and download it to your mac. And install it by double clicking it.

  4. Delete current "iOS distribution provision profile" from Developer portal.

  5. Regenerate "iOS distribution provision profile" for app store distribution and download to mac.

  6. Install it by double clicking it.

  7. Try again using application loader to upload the build.

Edit: I again got this problem while uploading new build. Both of above methods were followed but was stucking in "Authentication..". Restarted the mac book and it worked. When you restart, the previous itunesconnect connection (which you might have opened in browser prior to submit your app) are reset which allows restarted mac to easily authenticate iTunes Connect. Yesterday (jan 26, 2014) the iTunesConnect authentication step proceeded within 2 mins. Hope this helps someone who is loosing patience while stuck on authentication step.

Edit 2: Before deleting distribution Certificate, try only regenerating "iOS Distribution Provision Profile". It worked for me else you can redo as above.

I Hope this helps. All the best.

查看更多
We Are One
3楼-- · 2020-01-24 11:10

I had the same issue after updating Xcode5 to Xcode6. After hours of craziness, the one and only thing that helped me was to delete my account in Xcode preferences and add my account again.

Last week I had the same issue after update to Xcode7, this helped me again...

查看更多
forever°为你锁心
4楼-- · 2020-01-24 11:11

I tried all the steps from Rajan's solution; none worked. However, this threads on apple dev forum (https://forums.developer.apple.com/thread/76803) gave me the solution in my case :

Try this, it fixed it for me. Open Terminal and run:

cd ~  
mv .itmstransporter/ .old_itmstransporter/  
"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"  

iTMSTransporter will then update itself, then you can try uploading in XCode again.

查看更多
爷的心禁止访问
5楼-- · 2020-01-24 11:11

You can try to cancel the upload and retry. If that does not work you may want to try the Application Loader from Apple. It essentially does the same thing, but does not resign the binary. You can download the application loader from itunes connect. See https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf (Getting Started, Page 9)

查看更多
ら.Afraid
6楼-- · 2020-01-24 11:11

I had the same issue.

I cancelled and ran a validation check. It turned out I had written a URL Scheme incorrectly.

Xcode did not gave any errors when uploading and simply got stuck but validating gave the error.

So, try validation first. Hope this helps someone.

查看更多
Explosion°爆炸
7楼-- · 2020-01-24 11:11

I met this issues many times, I tried all steps but it still not working (home network) and try other network work fine (company network). I fixed this problem by update latest Java SE from 1.6 to 1.7 and it work like a charm

查看更多
登录 后发表回答