Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

removing provisioning profile from xcode

Tags:

iphone

How can I remove a previously installed development provisioning profile from xcode?

like image 533
ebaccount Avatar asked May 28 '09 19:05

ebaccount


People also ask

What is Xcode provisioning profile?

A provisioning profile links your signing certificate and App ID so that you can sign apps to install and launch on iOS devices. You must have a development provisioning profile to sign apps for use with iOS Gateway version 3.4 and later.


2 Answers

They're stored in: ~/Library/MobileDevice/Provisioning Profiles

You'll want to restart XCode to refresh the list.

like image 128
Ramin Avatar answered Sep 23 '22 21:09

Ramin


Xcode keeps provisioning profiles at following directory:

~/Library/MobileDevice/Provisioning\ Profiles 

To remove old profile from Xcode just delete it's file and restart Xcode. Profile file names are somewhat cryptic, so use the following command to show their real names:

grep -a -A1 "<key>Name</key>" *.mobileprovision | grep -v "<key>Name</key>" | grep -v "^--" 

If you need more than a name, for example list of UDIDs, this command shows all content of particular provisioning profile:

security cms -D -i xxx.mobileprovision  

Update: recently Apple added ability to preview *.mobileprovision files with standard Finder app.

like image 34
Alexander Vasenin Avatar answered Sep 22 '22 21:09

Alexander Vasenin