Reputation: 3085
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.
Upvotes: 287
Views: 260932
Reputation: 556
If you not find your target Provisioning Profile in
/Users/<UserName>/Library/MobileDevice/Provisioning Profiles
,
try the/Users/<UserName>/Library/Developer/Xcode/UserData/Provisioning Profiles
(Xcode 16.1)
Upvotes: 0
Reputation: 2900
For Xcode 16
~/Library/Developer/Xcode/UserData/Provisioning Profiles
Remove Update
rm -rf ~/Library/Developer/Xcode/UserData/Provisioning\ Profiles
Ref:https://github.com/xamarin/xamarin-macios/issues/20771
Upvotes: 3
Reputation: 260
I have found all my Distribution Profiles here:
username -> libraries -> MobileDevice -> Provisioning Profiles
Here I can check all profiles and kill expired.
Upvotes: 11
Reputation: 11462
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.
Upvotes: 624
Reputation: 662
Here is how I do it.
Open Finder
Enable it to show hidden files (CMD_SHIFT_.)
Go to ~/Library/MobileDevice/Provisioning\ Profiles
Delete the profile you wish ...
Upvotes: 1
Reputation: 1744
. 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.
Upvotes: 16
Reputation: 21
Post deleting and adding your new profile, you can verify if the profile is active and been take by your project by running below command.
grep -i "yourproject" *.mobileprovision
Upvotes: 2
Reputation: 464
open your terminal then use this command
cd /Users/youruser/Library/MobileDevice/Provisioning\ Profiles/
check first inside your folder by use this command
ls
then if all files not use, delete by use this command
rm *
Upvotes: 7
Reputation: 543
With Xcode 9.3, this seems to be resolved by cleaning the project, quitting and restarting Xcode, and, after the restart, cleaning the build folder (hold Option and select Product->Clean Build Folder).
During the restart I happened to have the Xcode signing-info panel open on the Project navigator and saw a transient message that Xcode was rebuilding the signing profile. Upon trying to run my project on a device, I got a runtime exception due to a Swift framework file having an invalid signature. The second "Clean Build Folder" cleared that up and all works fine now.
Upvotes: -1
Reputation: 1917
For XCode 9.3, the following steps worked for me.
Upvotes: 2
Reputation: 1189
-Download iPhone configuration utility tool
-open it-> In Library section:- select provisioning profile(Left side of tool)
-select provisioning profile(which you want to delete) using back space delete it.
Upvotes: 3
Reputation: 20
I found out how to find provisioning profiles in Xcode 8. Archive your project (Product -> Archive) and then hit the validate button. Xcode will prepare the binary and the entitlements. When the summary windows comes up just hit the little arrow at the right of the window. A finder window will open with all your downloaded profiles.enter image description here
Upvotes: -1
Reputation: 72825
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
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:
Upvotes: 98
Reputation: 30144
For Xcode 7, brandonscript has the correct answer.
For earlier versions:
View Details...
Upvotes: 8
Reputation: 1034
In Xcode 6, you can do this mostly right in Xcode:
Upvotes: 81
Reputation: 189
In Xcode 7:
Upvotes: 7
Reputation: 2468
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.
Upvotes: 26
Reputation: 21
I was able to delete my Provisioning Profile from XCode 6 by using the Member Center online. I then just did a refresh/Sync in XCode 6 and it disappeared.
In the Apple Developer Member Center I had to do two things to make it happen:
Identifiers -> AP IDs
I had to first delete the old AP ID still using the old Provisioning Profile that I wanted to delete.
Provisioning Profiles
I then deleted the unwanted provisioning profile.In XCode:
View Details...
I Sync'd my online provisioning profiles. Upvotes: 2
Reputation: 1614
In xcode 6, provisioning profiles are stored under Xcode > Preferences > accounts. Press "View details". On selecting your profile, you will get option to revoke it under settings(gear) icon below.
Upvotes: -2
Reputation: 4552
Provisioning profiles are stored under settings > accounts. Just press the "View details..." for the developer account you want and the provisioning profiles will be listed there.
Upvotes: 1