删除老的 provisioning profile 如何删除xcode中的多余证书

xcode5 如果切换开发者账号,老的provisioning 还会在生成ipa时选择provisioning看到(很讨厌吧),需要手动删除

xcode5 provisioning profile path: ~/Library/MobileDevice/Provisioning Profiles

打开并日期排序,删除老的 provisioning profile 文件即可

在xcode 中不小心导入了多余的provisionprofile,在编译项目的时候会提示有重复的证书,每次在keychain

access中的我的证书中删除多余的以后就可以正常编译项目,但是重新启动后,证书又回来了。。。

在网上查了一下,是如下原因

Point is, it is the private key that xcode looks for for the
certificates that you already have. Since you have a private key, xcode
lists that as a available option for signing. So, its the private
key that you want to delete and not the certi. So go to Keys section in
the keychain access, find the culprit key, and shoot it.

最后在keychain access 中的密钥 section中将多余的private key
删除就可以了。

这下重启计算机后,多余的证书就不会在回来了。


你可能感兴趣的:(IOS,开发学习笔记)