iPhone — renew team provisioning profile

前端 未结 16 1179
暖寄归人
暖寄归人 2020-12-29 18:16

In the provisioning portal, the \"renew\" button for my team provisioning profile is grayed out. And said profile is expired.

How can I renew it?

EDIT: I

相关标签:
16条回答
  • 2020-12-29 18:33

    Do these things if you want to really solve the problem:

    (1) Are you using the certificate for which you made provisional profile from your mac? Or you are using the certificate from other mac machine. If that is the thing then please get .p12 file from there and install in your keychain.

    (2) If your certificate in the keychain is the same for which you made the provisional profile then it's fine. Otherwise you have to create new provisional profile for the certificate.

    (3) Please make sure that you have set the app id in the target > properties > identifier. If no then please set and choose the provisional profile from the target > build > code signing identity.

    (4) Then clean and build your project.

    If you find any problem then please let me know. I would like to solve this problem.

    0 讨论(0)
  • 2020-12-29 18:41

    As always.... "grep -ir profile ." and the cmd line are always your best friend when you want to fix an Apple frustrating, inconvenience and pain in the ass.... Spent almost an hour poking around xcode trying to find that option to enter the new provisioning profile number, and none to be found... Only when I grep'd for it, was I able to fix, yet another apple pain in the ass.... I can't tell you how many times I've spend hours going through xcode, stuck, because it won't compile because of some stupid invalid setting, profile or argument, only to fix it when I fell back on grep & ssed...

    0 讨论(0)
  • 2020-12-29 18:42

    I had the issue that Xcode didn't refresh or renew it's managed Team Provisioning Profile and tried a very long time. I always hit refresh in the Library->Provisioning Profiles - section. Then I tried out the Teams section and after hitting the refrsh button there my Team Provisioning Profile which was managed by Xcode was renewed successfully. Hope this helps some of you.

    One more thing: I used the same Apple-ID in three teams. So maybe Xcode failed to separate them while refreshing.

    0 讨论(0)
  • 2020-12-29 18:45

    Refresh and removing the iOS devices did not help on my installation.

    But I found that the error messages was misleading. I am also member of the Mac developer program and after choosing "My Mac" under DEVICES and pressing the (+) Add to Portal button, the error message "Your team has no devices for which to generate a provisioning profile." did no longer appear.

    So it looks like the error message covers the Mac and not iOS devices even that the URL at the end of the error message links to the iOS development center.

    0 讨论(0)
  • 2020-12-29 18:45

    Is the certificate it is based on expired? Did you delete the device it was for?

    0 讨论(0)
  • 2020-12-29 18:45

    I made the mistake of looking in Wrong place in Organizer.

    On the left is LIBRARY then below that DEVICES

    I had clicked on my Iphone under DEVICES > Prov profile. No refresh button there.

    Correct place is

    On the left in ORGANIZER is Library > Provisioning Profiles

    then Team provision Profile is here

    Click on it and hit refresh if expired

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