解决“certificateidentity 'iphone distribution' appears more than once”错误
2013-09-13 15:34
501 查看
这是证书重复的错误,需要将钥匙串里重复的证书删掉编译才能通过。但是,如果你重启Xcode ,会发现之前删除的证书又回来了。但当重新启动Xcode时,Xcode里的证书会被导进钥匙串,所以仅仅是删除钥匙串中重复证书是无效的。
相信许多同学对 Xcode 的这个 Bug 深恶痛绝了,但除了反复地(但是徒劳地)从钥匙串中删除证书,也没有别的办法。
其实,也不能光怪 Xcode,而是跟”iPhone 配置使用工具“也有一定的关系。
Xcode中的这些“残留”证书不以常规的形式存在。如果你安装了“iPhone 配置实用工具”,这些证书实际上存在于/Users/yourname/Library/MobileDevice/Applications/目录下的.app 文件中,这些.app 实际上是 “iPhone配置实用工具”——“应用程序”中的所导入的 app。你可以用Finder ——“显示包内容”来查看.app 。其中一个名叫“embedded.mobileprovision”的文件,就是“残留”的重复证书。你可以逐一删除这些
.app,也可以干脆把该目录下的所有.app 都删除(反正只要项目文件存在,你随时可以编译出这些 .app并导入到“iPhone 配置实用工具”中)。最后,还要将 Orgnizer 中的重复证书也删除,然后重启Xcode。
分享到:
原文 http://blog.csdn.net/kmyhy/article/details/11630113
相信许多同学对 Xcode 的这个 Bug 深恶痛绝了,但除了反复地(但是徒劳地)从钥匙串中删除证书,也没有别的办法。
其实,也不能光怪 Xcode,而是跟”iPhone 配置使用工具“也有一定的关系。
Xcode中的这些“残留”证书不以常规的形式存在。如果你安装了“iPhone 配置实用工具”,这些证书实际上存在于/Users/yourname/Library/MobileDevice/Applications/目录下的.app 文件中,这些.app 实际上是 “iPhone配置实用工具”——“应用程序”中的所导入的 app。你可以用Finder ——“显示包内容”来查看.app 。其中一个名叫“embedded.mobileprovision”的文件,就是“残留”的重复证书。你可以逐一删除这些
.app,也可以干脆把该目录下的所有.app 都删除(反正只要项目文件存在,你随时可以编译出这些 .app并导入到“iPhone 配置实用工具”中)。最后,还要将 Orgnizer 中的重复证书也删除,然后重启Xcode。
分享到:
原文 http://blog.csdn.net/kmyhy/article/details/11630113
相关文章推荐
- 解决“certificateidentity 'iphone distribution' appears more than once”错误
- 【xcode】错误之Certificate identity 'iPhone Developer: XXX' appears more than once in the keychain
- 解决Xcode-Code Sign error: Certificate identity 'iPhone Developer: My Name (xxx)' appears more than on
- CodeSign error: Certificate identity 'iPhone Developer:xxx appears more than once in the keychain.
- CodeSign error: Certificate identity 'iPhone Developer:**** appears more than once in the keychain.
- ios解决bug--“Pushing the same view controller instance more than once is not supported”
- MYSQL存储过程出现Result consisted of more than one row 错误的解决方法
- AVR Option -H must not be defined more than once: -H1895 【已解决】
- 【问题解决:时区】连接MySQL时错误The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone
- updates is listed more than once in the configuration 的解决
- appears more than once in the keychain The codesign tool requires there only be one
- 解决 YUM Repository updates is listed more than once in the configuration 的问题
- 'block' tag with name 'content' appears more than once
- Result consisted of more than one row 错误的解决
- 解决 YUM Repository updates is listed more than once in the configuration 的问题
- iOS--错误集锦--pushing the same view controller instance more than once is not supperted
- appears more than once in the keychain. The codesign tool requires there onl
- 【Xcode】Certificate identity 'iPhone Developer: XXXXXXXX' appears more than once in the keychain
- Library Publication 时遇到 "more than one library with package name" 错误的解决方法
- CodeSign error: Certificate identity 'iPhone Developer: XXXX appears more than once