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
In my case (Xamarin.iOS btw) I've manually deleted all provisioning profiles located in HOME/Library/MobileDevice/Provisioning Profiles
but I needed to do something else to be able to deploy the app to a device:
The problem was that I had implemented the brand new iOS 10 Push Notifications Framework, which requires the addition of the following property to the Entitlements.plist:
aps-environment
development
And I was trying to deploy a development version using the value production
instead of development
. Changing that value did the trick.