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:14

As I felt a serious issue on this. I believe this answer might be helpful.

After trying for around 10 to 12 hours to fix this issue and as everything else regarding my project and coding was fine enough, it became a headache for me. But after getting some valuable comments from some of the expert users of stack-overflow and after doing some more search on the internet, I have found some quality answers.

This answer helped me the most:

application loader stuck at the stage of "Authenticating with the iTunes Store"

If you are going to upload it through Application Loader and it gets stuck on "Authentication with the iTunes Store..."

or

You are going to upload it through XCode and it stucks on “Your application is being uploaded”

Then just keep your head cool and check this first method:

  • Check if your firewall protection is off. If not then turn it off. It maybe blocking you to connect your computer with iTunes Store.

  • Try a different internet connection. The purpose for trying a different internet connection is that your current internet connection maybe blocking a required port for connection to Apple servers.

If the above steps doesn't help you then follow this second method:

Xcode needs java runtime for uploading your apps to the App Store.

enter 'java -version' in the terminal, java version should be 1.6 .If not then download latest compatible java only from apple download center:

http://support.apple.com/kb/DL1572?viewlocale=en_US

If this still doesn't help then follow this third method:

This method enables the application loader to use the HTTP port instead of HTTPS.

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

  • Open net.properties file using any text editor application like text mate or sublime text

  • Change this particular line : #https.proxyPort=443 proxy port to https.proxyPort=80

  • Save the file. And that's it !! You can easily upload your binary file to App store now.

If the above methods still doesn't help then follow this fourth method: Regenerate your certificate

  • Goto iOS developer portal (https://developer.apple.com/membercenter).

  • Revoke current certificate which is used by your App for signing.

  • Remove current "iOS distribution provision profile" from Developer portal.

  • Regenerate the iOS distribution certificate and add them in developer portal.

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

  • Install it.

  • Try again using xcode/application loader to upload the build.

查看更多
该账号已被封号
3楼-- · 2020-01-24 11:14

I had the same issue. I as able to fix it by:

  1. Remove/delete all distribution certificates and provisioning profiles from my machine.
  2. Revoke distribution certificates and delete distribution provisioning profiles from Member Centre at developer.apple.com
  3. Create a new Distribution certificated by generating a new certificate signing request from keychain access
  4. Create a new provisioning profile for app store distribution
  5. Download newly created certificate and add it to keychain access
  6. Download newly created provisioning profile and add it to xcode. OR sync from Xcode from account settings.
  7. Try to upload again.

This is some silly issue that Apple needs to fix asap. I wasted 2 days from something as silly as this.

查看更多
再贱就再见
4楼-- · 2020-01-24 11:14

If you are running inside a virtual machine (e.g. VMWare or VirtualBox), try setting the network adapter mode from the default NAT to Bridged.

查看更多
登录 后发表回答