Xcode 8 provisioning profile won't download

后端 未结 14 1846
执笔经年
执笔经年 2021-01-30 08:21

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

相关标签:
14条回答
  • 2021-01-30 08:25

    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
    

    0 讨论(0)
  • 2021-01-30 08:25

    Actually, all provided solutions could work or not, it depends on your luck, but mainly you have to keep delete account, clean up provision profiles like "mogile_oli"'s answer, and re-add them, but also, don't forget to reset signing identities:

    Accounts -> Select Added Account -> Select Team and View Details (or double click team name) -> you will see Reset button if needed, click on it,

    And you really need to try to build with Automatic Signing first then remove it, it seems can't be downloaded with button, for now just ignore the download button from this page, but better to use the dialogs while you try to build.

    And always Quit Xcode and Re-open it after almost each action you do, After wasting like 2 days, I made it work like this !

    0 讨论(0)
  • 2021-01-30 08:27

    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:

    <key>aps-environment</key>
    <string>development</string>
    

    And I was trying to deploy a development version using the value production instead of development. Changing that value did the trick.

    0 讨论(0)
  • 2021-01-30 08:29

    For me it helped to Import Profile in XCode in General Settings:

    0 讨论(0)
  • 2021-01-30 08:33

    Try deleting and adding your account if that doesn't work out

    try

    Open Terminal

    Type defaults delete com.apple.Xcode and press "Enter." This deletes the customised settings set up.

    Type rm -rf ~/Library/Application\ Support/Xcode and press "Enter." This removes the configuration folders as well.

    This saved my day if problem persists again reinstall Xcode

    0 讨论(0)
  • 2021-01-30 08:34

    I got around it by unchecking and rechecking:

    Project Settings -> General -> Signing -> 'Automatically manage signing'

    0 讨论(0)
提交回复
热议问题