I recently updated to Xcode 8 and as I click on \"download\" option next to provisioning profile in Xcode/Preferences/Accounts/View Details menu it changes to gray and does not
The answer is here.
Its doesn't sound much but it really worked for me.
Just right click on the provision profile and click on Show in finder. Then delete all the provision profile in the entire folder.
Not goto Xcode project settings and Check the checkbox, Automatically manager signing. The xcode will do the rest for you.
I had the same issue. I leave the solution that worked for me:
I deleted all certificates that were expired from my keyChain, I noticed that the new certificates didn't download because I had an expired certificate related. I don't know why it seems to be an issue of my keyChain/iTunes
I solved it by creating my own development certificate (In Xcode) and assigning it in the development provisioning profile. After I download and double click it I was able to get it working fine.
Note that this UI in Xcode is a convenience and shouldn't block your work. The profiles you'd like to download are still available following these steps:
At this point, your profile will be installed on your Mac and usable within Xcode.
For the OP — if manually installing the profile this way didn't resolve the issue, then you're likely seeing another configuration problem or a bug. Could you clarify what you saw after you manually installed the profile and selected it in the General tab — did you get a build error or other issue?
I've come across same problem and nothing solved it, so i found one work around
I was having this same issue. Here is what I did that solved the problem for me.
It worked for me, hope this helps.