Xcode expired certificate problem

佐手、 提交于 2019-12-04 03:12:45

This is a known bug in Xcode 4. Xcode restores the deleted profile on restart everytime. See http://openradar.appspot.com/9173280 for more information about this. I have the problem too, but still don't know how to solve it.

Abhi Beckert

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.

I was dealing with same problem once. And I have solved it by removing unused provisioning profile from Organizer tab in xcode. Actually Keychain will get that certificate from this provisioning profile which is either expired certificate or the build by revoked certificate.

So you just have to delete this provisioning profile from Organizer tab. Organizer is on right-top side button of xcode Open it and than in Organizer remove the provisioning profiles that you don't using.

Here is the screenshot,

And don't forget to remove extra certificate from the keychain but after that those certificate does not appear again.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!