Removing old code signing identities (Provisioning Profiles)

You’d think I’d remember this from the past, but after renewing my Dev/Dist Certificates and Provisioning Profiles I get a list of expired ones showing in the “code signing identities” list during a build. There are no issues other than the expired ones in the list.

How do I remove the expired ones so they are no longer part of the list??

Thanks in advance!

Aging developer.

I want an answer to this too.  

I used to be able to clear these out via a command line script, but somewhere along the lines that stopped working.  Nowadays, I just rebuild my mac when it gets out of hand.

Please, if there is an OS X / Mac genius out there with an elegant solution, please share.

One way around the Hell That Is Apple Provisioning Profiles is to use Installr. Excerpt:

We sync with the Apple Developer Portal so you don’t need to waste time and energy keeping provisioning profiles up to date. This also allows testers to install the app in one step. Easier for developers. Easier for testers.

Put the test devices you use for physical installs with Xcode in a provisioning profile you download once. Remote testers’ devices are handled on the fly by Installr. I haven’t had to download another provisioning profile in months.

Downsides? Installr is a paid service. And it only works up to 100, I believe, iOS testers because Apple, sigh, wants to make you use its beta testing service above that figure. Android installs are of course unlimited.

I just go into ~/Library/MobileDevices/Provisioning Profiles/

and get rid of the ones I don’t want.

Rob

Thanks (again) Rob - yours was the easiest.

I want an answer to this too.  

I used to be able to clear these out via a command line script, but somewhere along the lines that stopped working.  Nowadays, I just rebuild my mac when it gets out of hand.

Please, if there is an OS X / Mac genius out there with an elegant solution, please share.

One way around the Hell That Is Apple Provisioning Profiles is to use Installr. Excerpt:

We sync with the Apple Developer Portal so you don’t need to waste time and energy keeping provisioning profiles up to date. This also allows testers to install the app in one step. Easier for developers. Easier for testers.

Put the test devices you use for physical installs with Xcode in a provisioning profile you download once. Remote testers’ devices are handled on the fly by Installr. I haven’t had to download another provisioning profile in months.

Downsides? Installr is a paid service. And it only works up to 100, I believe, iOS testers because Apple, sigh, wants to make you use its beta testing service above that figure. Android installs are of course unlimited.

I just go into ~/Library/MobileDevices/Provisioning Profiles/

and get rid of the ones I don’t want.

Rob

Thanks (again) Rob - yours was the easiest.