Xcode 8 provisioning profile won't download

2020-05-12 04:55发布

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. Xcode 8 "starts" download and button is grey forever 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.

14条回答
2楼-- · 2020-05-12 05:17

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

查看更多
Juvenile、少年°
3楼-- · 2020-05-12 05:18

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.

查看更多
一夜七次
4楼-- · 2020-05-12 05:19

I've had this issue too, and have had some success with renaming the profile. For example, it used to be named "[App Name] Dev", and no matter what I did, renewing, deleting and recreating with the same name, manually installing it, it just would not work at all. Until I renamed the profile to "[App Name] Development".

查看更多
别忘想泡老子
5楼-- · 2020-05-12 05:19

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 !

查看更多
淡お忘
6楼-- · 2020-05-12 05:21

I've come across same problem and nothing solved it, so i found one work around

  1. Download provisioning profile directly from developer account and double tap on it, it will get install in xcode.
  2. Download and install iPhone configuration utility.
  3. Open iPhone configuration utility there you will find all the provisioning profile
  4. Then select the provisioning profile you want to use, then it details of the profile you can see Profile identifier.
  5. Copy that Profile identifier and open xcode.
  6. Navigate to the code signing identity and there in provisioning profile select others and paste the copied Profile identifier.
  7. Bingo!
查看更多
Animai°情兽
7楼-- · 2020-05-12 05:25

I solved it by creating my own development certificate (In Xcode) and assigning it in the development provisioning profile. After I download and double click it I was able to get it working fine.

查看更多
登录 后发表回答