please look at the following screenshot
As you see there are two certificates. All are mine, with maching user's ID and common name.
Whenever I build the application and launch it in Xcode for device I receive the fatal, that this certificate is duplicated. So I delete the expired one and launch the application again - it's being installed and debugged on device without any problems.
But when I launch other project or reboot that expired certificate is shown in the keychain again and again and it's becoming a little bit annoying.
What causes that the expired certificate is being readded to the keychain? How can I dissable it?
iOS settings.Click Apple certificates. The current certificate details are displayed: the unique identifier (UID), the Apple ID, and expiration date. Click Renew Certificate.
If your certificate expires, passes that are already installed on users' devices will continue to function normally. However, you'll no longer be able to sign new passes or send updates to existing passes. If your certificate is revoked, your passes will no longer function properly.
After renewing your Distribution Certificate, you will need to upload it to the mag+ Publish portal, rebuild your app, and submit an update to iTunes Connect. The steps below will guide you through the process of renewing an iOS Distribution Certificate and creating a . p12 file.
The problem is you have not only the duplicate provisioning certificate, but also a duplicate developer public/private key pair.
You need to delete the matching public/private key for the certificate in addition to the provisioning certificate, then it will not be re-added.
So, find the certificate you generated and uploaded to the "certificates" section of the provisioning portal and delete it (WARNING: this certificate is never sent to Apple, and it's a huge stuffup if you delete a distribution private key that you need. Make a backup before deleting it, incase you accidentally delete something that you need).
Thanks to @dermdaly for posting this workaround. You can find more details at his blog.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With