Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What should I do with fastlane match after certificate revoked?

A user has revoked the distribution certificate. After downloading the new certificate (a p12 with the key) I still cannot get

match appstore

to work.

I receive the error:

Certificate 'XXXXXXXXXX' (stored in your git repo) is not available on the Developer Portal for the user [email protected] Make sure to use the same user and team every time you run 'match' for this Git repository. This might be caused by revoking the certificate on the Dev Portal.

It is the same user and team, and I thought the manually downloading the certificate and key would fix this.

Any ideas SO?

like image 812
Scott McKenzie Avatar asked May 30 '16 07:05

Scott McKenzie


Video Answer


1 Answers

Good news: you don't need to use match nuke (which would render any existing Testflight builds undownloadable.)

Instead, you can just manually remove all certificates and provisioning profiles from the match repository (just delete the files, commit and push to origin.)

Next time your run match, it will recreate a new set of certificates and profiles (note: you may have to revoke an existing distribution certificate, if you've reached the maximum allowed number, but that beats revoking EVERYTHING, which is what match nuke does.)

like image 157
Jacek Lampart Avatar answered Sep 26 '22 13:09

Jacek Lampart