JW.
JW.

Reputation: 51668

Permanently remove Xcode provisioning profiles

How do I permanently delete the provisioning profiles that Xcode creates and manages?

I tried:

But then when I go to Xcode's Accounts settings and click Download All, the deleted profiles re-appear. Where are they coming from? How do I get rid of them?

Upvotes: 1

Views: 501

Answers (2)

JW.
JW.

Reputation: 51668

I have no idea if this is safe, but I deleted the files ~/Library/Developer/Xcode/DeveloperPortal*. After doing that, the profiles are no longer re-created when I click Download All. This worked on two separate machines.

After doing this, I had to delete and re-add the Apple IDs to Xcode, so that it could find their teams again. I didn't notice any other problems.

Upvotes: 0

Bartłomiej Semańczyk
Bartłomiej Semańczyk

Reputation: 61840

  • First delete them from the Apple Developer Site.
  • Do not allow Xcode to manage it via Automatic option (most important thing). Always choose provisionings you create manually in Developer Site.:

enter image description here

  • you may remove them via Accounts Preferences (right click on item -> Move to Trash):

enter image description here

Upvotes: 2

Related Questions