Xcode stuck at “Your application is being uploaded”

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.


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.


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.