It’s every app developers dream time when he develops and then uploads his app to Apple App Store using Xcode.
At that moment of time while uploading your app if you are stuck in one place where Xcode organiser says “Uploading to App Store – Authenticating with iTunes Store” & there is no further progress.
Then here is how to solve this!
Just open Terminal App from your Applications > Utilities > Terminal.
Paste below code in Terminal & hit return key.
cd ~ mv .itmstransporter/ .old_itmstransporter/ "/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"
Code will take sometime to complete the process. After completion of task you will be able to upload your app to App Store using Xcode.
Hope it helps…!!!
Thanks & Regards