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
For me it helped to Import Profile in XCode in General Settings: