How to remove provisioning profiles from Xcode
Solution 1
It's simple, go to this folder:
~/Library/MobileDevice/Provisioning\ Profiles/
Open finder on your mac, and click on Go -> Go to Folder ... Just paste this into the search bar and hit Open. It will show the list of provisioning profiles present in Xcode. Delete all provisioning profiles.
Solution 2
Update for Xcode 8.3
This no longer works in Xcode 8.3. It appears to be related to Apple's move to automate provisioning profile and certificate generation:
The simplest "solution" (or workaround) is to make sure Xcode is closed, then via Terminal:
rm ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision
In Xcode 7 & 8:
Open Preferences > Accounts
Select your apple ID from the list
On the right-hand side, select the team your provisioning profile belongs to
Click View Details
Under Provisioning Profiles, right-click the one you want to delete and select Move to Trash:
Solution 3
In Xcode 6, you can do this mostly right in Xcode:
- Go to Xcode -> Preferences -> Accounts.
- Choose your Apple ID in the left column.
- In the right pane, click the "View Details..." button.
- Right-click on the provisioning profile you want to delete, then click "Show Details".
- A Finder window will open up with the provisioning profile highlighted.
- Delete the selected provisioning profile.
Solution 4
- Open Terminal
- cd ~/Library/MobileDevice/
- open ./
Now the finder window will be open with Provisioning Profiles folder. Delete all or any provisioning profiles from here and it will reflect in Xcode.
Solution 5
. Simple Steps:
1:Click finder
2:Right click on Finder
3:click on goto folder
4: Paste in Search : ~/Library/MobileDevice/Provisioning Profiles
5:Click on Go
6:List of the Profiles .you can delete any one
Thanks
You'll want to restart XCode to refresh the list.
Related videos on Youtube
vaibhav silar
Updated on May 25, 2021Comments
-
vaibhav silar almost 3 years
Does anyone know how to remove previously installed provisioning profiles from Xcode?
I have seen this link, but I am not able to find that location in my system.
So I think there must be some other way to remove provisioning profiles.
-
benhorgen about 6 yearsGreat question, applicable across all versions of Xcode. And there are some good answers here for previous versions, but for Xcode 9.1 none of answers seem to apply and/or work. Can someone provide an answer for the current version of Xcode? Thanks in advance!
-
-
Kay about 9 yearsDoesn't work for me. After deleting the provisioning profile in finder it shows up again when I hit refresh
-
David about 9 yearsThis doesn't work. When I hit refresh they come back. I've even tried wishab's suggestion - deleting them on disk AND online. They won't die. Provisioning profiles are the bane of my existence.
-
Daniel Ryan about 9 yearsSame as Kay, even if I also delete them off the website.
-
Daniel Ryan about 9 yearsI don't see a gear for provisioning profiles, only for signing identities.
-
Jannie Theunissen about 9 years@David sorry to hear that. Maybe I'm the only lucky developer in the universe then: it works for me.
-
Michel almost 9 yearsI also am having issues with my provisioning profile and APNs, using Xcode 6.3.2. But how can you delete an app ID? I aways thought and read it was not possible.
-
Chris Allinson almost 9 yearsYou need to right click on a profile and "view in finder". You can delete the actual file ... which is what worked for me! :D
-
user523234 almost 9 yearsThis is ridiculous that one has to to this manually every time a renewal of provisional profiles is involved. Apple, what has happened to you?
-
Geoff H almost 9 years@David I totally agree with you & am having the same problem. They just won't die. Did you figure out the source of the problem yet? It's like a fungal infection.
-
Chris over 8 yearsIf you're using the terminal already, why not just use
rm
to remove profiles? Seems like a roundabout way to open finder -
n.by.n over 8 yearsYou are right. This is just a visually satisfying way to delete any specific group of provisioning profile from Finder.
-
Matz over 8 yearsgreat. Thank you very much!
-
bruce1337 over 8 yearsNote the the right-click menu is not available in Xcode 7.1. Instead, try the Finder-based solution by RIYAZ below.
-
Duncan C over 8 years@bruce1337, I just right-clicked on a provisioning profile in Xcode 7.1.1 and it showed a popup menu with the options "show in finder" and "move to trash".
-
bruce1337 over 8 years@DuncanC you're right! For some reason Xcode doesn't recognize ctrl-click as equivalent to a right-click, even though Safari and other apps do.
-
Duncan C over 8 years@bruce1337, oh man, that's awful! Standard Apple equipment (Like Macbooks, or any trackpad device) often doesn't have a right mouse button. We should all file a radar bug about that.
-
DIJ over 8 yearsDouble finger tap on a selected item will get you the menu to "delete" or "show in finder" on a device with a trackpadI keep forgetting this. I always try a tap with a button combination which does not work.
-
Mike Gledhill almost 8 yearsBlimey. It's now 2016, we're up to Xcode 7.3.1, and it still demands you do this. What a complete pile of cr-
-
DeyaEldeen about 7 yearsit's 2017, it's still needed !
-
Shaik Riyaz about 7 years@AlexHall , do you want to remove single provisional profile ?
-
Alex Hall about 7 yearsI got it sorted, thx. I was making an unhelpful comic reference to what the AI says in the film "2001: a space odyssey."
-
Philipp Sumi about 7 yearsI don't even have the "View Details" button. When I select my team, I'm seeing a "Download All Profiles" and "Manager Certificates..." button. Any idea?
-
UncaughtException about 7 years@PhilippSumi With XCode 8.3 it is less simple to manually manage Provisioning profiles. The best thing to do is go to Finder>Go To Folder... and type in` ~/Library`. Once in the Library, navigate to /Library/MobileDevice/Provisioning Profiles. Here you can remove or add any profiles you want. If you want complete control, download individual profiles from your Apple Developer Portal and add those.
-
TechSavvySam almost 7 yearsin 8.3.3 I removed the .mobileprovision files from the directory and they keep getting recreated in xcode when I click on "Download All Profiles" even though I've deleted all of the provisioning profiles on the apple web site
-
TechSavvySam almost 7 yearsAlso around version 8.3.3, the "View Details" option was removed and replaced with "Manage Certificates..."
-
brandonscript almost 7 yearsRight, but that's just certificates now - it's no longer provisioning profiles.
-
Wayne over 6 yearsIt's $current_year and this still sucks
-
nacho4d over 6 yearsIf you want to do it ALL visually, no need Terminal.app. Just go to the Finder and press
Cmd
+Shift
+g
and paste:~/Library/MobileDevice/Provisioning Profiles/
. Now you are in the right folder to remove your provisioning profiles at your own will :) -
Muhammad Rizwan about 6 yearsEasiest option i find in this page.
-
Kejsi Struga almost 6 yearsFor me this did not work, but after I did this and cleaned the project, I was able to run without any errors of Provisioning Profile xD. So if this alone doesn't work, make sure you clean the project afterwards. Thanks!
-
Ananta K Roy almost 6 yearsThanks for sharing that! Yes, there is little clarity on what actually works given the frequent updates to Xcode too.
-
ibuprofane over 5 yearsThis broke Pods for me. I was able to compile but when loading I received dyld: Library not loaded: @rpath/{framework} Reason: image not found. Revered back to system defaults and it worked fine.
-
Alejandro Iván over 5 years
pkill -9 Xcode && rm ~/Library/MobileDevice/Provisioning\ Profiles/* && open -a Xcode
-
Atomhax over 5 yearsOctober 2018 and I just had to do this.
-
Agilanbu over 5 yearstry to highlight the keywords and be clear with the format it will help to reach out your answer for others Please Take the Tour
-
Hamza Hasan over 5 yearsJan 2019, still looked for this answer
-
savante over 4 yearsGreetings from Aug 2019
-
Thomas Hilbert over 4 yearsMarty: "Doc! I have to tell you about the future!"
-
Sem over 4 years2019 Sept hahaha...yea I am not able to delete specific provisioning profile
-
Potassium Ion almost 4 yearsJune 2020, after WWDC20 and this is still somehow a thing in Xcode 12!
-
Ahmad Labeeb almost 4 yearscan you add a screen shot
-
Suresh Varma over 3 yearsSEP-2020 and yet nothing has changed
-
Nostromo over 3 yearsDecember 2020 and still saxo.
-
BeardOverflow over 3 yearsHello from January 2021!
-
Suraneti about 3 yearsHello World from March 2021
-
Kenneth Murerwa about 3 yearsApril 2021 on Xcode 12 and it still works. Apple really doesn't change much in the Xcode updates.
-
Mikhail Vasilev almost 3 yearsCheers to folks from 2042 in advance. Now it's july 2021, WWDC21 passed and profiles are still crap.
-
Neil Galiaskarov over 2 yearswho is from 2021?
-
dentemm over 2 yearsThis feel like time traveling, except that nothing changed in the past 6 years. Xcode still being Xcode
-
Shashikant More about 2 yearsIt's 2022 and continues...
-
Arno Teigseth about 2 yearsI'm suspecting this is to have ppl buy a new mac when they can't figure this. Greetings from April 2022