In xcode 7.3 I still got the same error,my certificate was provisional profile was also meaning everything was fine still I was getting the same error, and I was unable to delete the provisional profile in xcode perferences,so I right clicked on provisional profile which give option to move to trash when I clicked nothing happened but when I closed the the preference window and open it again by Command, the provisional profile was gone and download option was visible, I clicked download and it starting working fine