Xcode 8 provisioning profile won't download
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 download. After restarting Xcode the download button is again clickable and the problem persists. Manual download of provisioning profile and dropping on Xcode icon don't add the profile to specific developer account in Xcode 8. Anyone had this problem recently and solved it? I checked all questions related to new Xcode version, still no solution.
I'm seeing the same issue where the download button is grayed but the download never seems to complete.
I manually deleted all the profiles in finder and clicked on download. Even if the download doesn't seem to complete, the profile is still downloaded...
You can check out your profiles in finder at
HOME/Library/MobileDevice/Provisioning Profiles
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:
- Visit developer.apple.com in Safari
- Click Account and sign in
- Click on Ceritficates, Identifiers, and Profiles
- Navigate to the profile you're interested in and download it
- Drag the downloaded profile onto Xcode's icon in the dock.
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 got around it by unchecking and rechecking:
Project Settings -> General -> Signing -> 'Automatically manage signing'
In mu case the issue started appearing after I added Push capability(I checked the push notification toggle button in target->capabilities) If I go and uncheck that then I can build and upload to app store.
I was having this same issue. Here is what I did that solved the problem for me.
- First I right clicked on each of the two profiles that would "grey-non-download" and moved to trash.
- Then I deleted the developer account within Xcode.
- I re-added the developer account, went back to details and download all.
It worked for me, hope this helps.