I was about to upload an app to iTunes connect, but the application loader has been stuck at the stage of \"Verifying assets with the iTunes Store\" and pending for almost a
Cancel the process and retry. If the problem persists you might want to do it via Xcode instead of ApplicationLoader. Don't forget to open an issue with Apple to let them know, after restarting AL, your Mac and reinstalling AL to make sure it can't be fixed.
Hope that helps :)
Change the wifi solved it for me
This is a permanent issue at one of the places where I work from. And the issue is not in Provisioning at all in my case.
So, I tried to check what happens using Wireshark: I see correctly initiated SSL connection, data starts to be uploaded via UDP, but then "Retransmission" or "Spurious Retransmission" messages start happening and it all ends up either in "Destination unreachable (Port unreachable)" or connection gets reset by either side. Sometimes it happens after 2-3 seconds and sometimes in less than 1 second. Organizer tries again, but not always. Sometimes it just stops and waits for an unknown amount of time.
What I have tried:
[fail] Restarting computer or WiFi
[fail] waiting for several hours hoping the process will finish
[fail] fixing clock on WiFi router (automatic clock was turned off)
[sometimes helps] making several attempts in a row - this requires changing build number and re-archiving. Somewhat time-consuming.
[often helps] finding another WiFi or using mobile network
I will continue playing with those router's settings and will update my answer if I find something.
Make sure your project is in "Prepare for Submission" on App Store Connect.
This happened to me as I already loaded a previous version of my app and found some new changes and was attempting to upload the new build. But the status on App Store Connect still said, "Waiting for Review". Rejecting the current build and changing the status to "Prepare for Submission" fixed the problem.
Every single time this "freeze" happens, I can fix it by going to developer.apple.com in Safari and logging in.
Magically the upload resumes after doing that. Not a co-incidence. I think it's a long standing bug where Xcode somehow loses authorization.
On Xcode 8.0 (8A218a), I was having this issue.
I had added the Associated Domains capability to handle Applinks. I had accidentally left a trailing '/' on my url. Removing this trailing slash fixed the issue.