I am uploading iPhone application using latest xCode 8. I have good internet connection and all the relevant settings set up at iTunes connect. My distribution profiles are also
None of the answers worked for me. Following steps helped me fix it.
The xcode will download the profiles for you.