Delete provisioning profile from Xcode 5

前端 未结 13 753
余生分开走
余生分开走 2020-12-22 19:00

I\'ve struggling with this for hours. I have 2 same provisioning profiles I\'ve created and the new profile didn\'t substitute the old one (which expires 6 days earlier than

相关标签:
13条回答
  • 2020-12-22 19:32

    If you delete the profile from the Apple development a/c and hit refresh in XCode (Using xcode>Preferences>Accounts) then these profiles will be gone.

    You can remove them from the this directory on your machine: "~/Library/MobileDevice/Provisioning\ Profiles"

    0 讨论(0)
  • 2020-12-22 19:32

    In my case this worked: Right click on a provisioning profile in the accounts tab -> view details panel. Click the option show in finder -> delete them directly in finder.

    0 讨论(0)
  • 2020-12-22 19:33

    To remove any reference to an unwanted provisioning profile from XCODE 5 here is what I did:

    1) Browse into the YOURAPP.xcodeproj directory

    2) With vi I opened up the project.pbxproj file

    3) Find PROVISIONING_PROFILE="ID_OF_THE_PROV_PROFILE_YOU_WANT_TO_DELETE"

    In every instance I saw this in the file I just set it to "" and XCODE never gave me an error again.

    0 讨论(0)
  • 2020-12-22 19:36

    From my experimentation i believe that Xcode pulls the provisioning profiles straight from the dev center.

    i say this because i created a new provisioning profile from the dev center and it appeared in Settings > Accounts before i double-clicked the .mobileprovision file.

    So basically, delete the profiles from developer.apple.com

    0 讨论(0)
  • 2020-12-22 19:45

    You probably don't need to delete the duplicate profiles. Just go to Xcode / Preferences / Accounts / / View Details and hit the refresh button.

    I did this and my duplicate provisioning profiles disappeared. Now when I post builds to TestFlight the distribution lists are all correct.

    0 讨论(0)
  • 2020-12-22 19:48

    For all the people who are seeing the profiles magically reappear after deleting them and hitting refresh, simply wait a few minutes after deleting and before hitting the refresh button.

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