`
dawuafang
  • 浏览: 1098802 次
文章分类
社区版块
存档分类
最新评论

解决“certificateidentity 'iphone distribution' appears more than once”错误

 
阅读更多

这是证书重复的错误,需要将钥匙串里重复的证书删掉编译才能通过。但是,如果你重启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。

分享到:
评论

相关推荐

    iphone5s拆解图解

    Despite the trend in almost every other smartphone release, the iPhone 5s display is no bigger, better, or badder than the 5. Step 9 • [size=1em]We quickly extract the home button and Touch ID, ...

    Aspose.word.dll文件,修复The document appears to be corrupted and cannot be loaded问题

    Aspose.word.dll文件,修复The document appears to be corrupted and cannot be loaded问题。 低版本的Aspose.word.dll动态链接库会存在这个bug,通过升级动态链接库就可以完美解决此问题,亲测有效,绝不忽悠你。

    Project--Properties--Java

    peersim.config.IllegalParameterException: Parameter "protocol.lnk": The class peersim.core.IdleProtocol appears more than once in the classpath; please check your classpath to avoid duplications. At ...

    ACM POJ 1002题解摘要

    Generate a line of output for each telephone number that appears more than once in any form. The line should give the telephone number in standard form, followed by a space, followed by the number of ...

    oj题目:电话号码匹配

    Generate a line of output for each telephone number that appears more than once in any form. The line should give the telephone number in standard form, followed by a space, followed by the number of ...

    D11 手册DA11_Manual

    Quickstart Guide- Basic ... Clicking more than once is OK! - Click the right switch up towards “exit” to exit the Setting mode. - Setting example- usb input, output “On,” pin 2 Hot for RCA connection

    Text_Query

    To conclude this chapter, we'll ... If a word occurs more than once on the same line, our program should be smart enough to display that line only once. Lines should be displayed in ascending order.

    Appears012

    AP8012中文技术手册,详细的技术参数,方便技术开发

    Eclipse下PeerSim仿真

    peersim.config.IllegalParameterException: Parameter "protocol.lnk": The class peersim.core.IdleProtocol appears more than once in the classpath; please check your classpath to avoid duplications. At ...

    Jlink-clone解决办法,替换文件.rar

    Jlink-clone解决办法,替换文件

    Aspose.Words2019-07-30.rar

    解决The document appears to be corrupted and cannot be loaded问题

    Sudoku Square — a New Design in Field .pdf

    should be more precise, with a smaller error than that in the Latin square design. The construction and design procedure of Sudoku squares, and the mathematical model and statistical method of data ...

    如何解决fedora启动时greeter crash的问题

    虚拟机Liunx 启动出现: the greeter application appears to be crashing. Attempting to us a different one 错误 点击“OK”重试,还是同样的错误,几次之后就会蓝屏!无法进入X Server,当然也就不能登录了

    Greedy Layer-Wise Training

    more efcient sometimes exponentially than shallow architectures in terms of computational elements required to represent some functions Deep multi layer neural networks have many levels of non ...

    Table Layout in CSS

    Yes, but rather than use tables for layout, this book is about the ways that tables themselves are laid out by CSS, a process more complicated than it appears. This concise guide takes you on a deep ...

    解决最近升级iar出现的问题,J-Link弹出The connected J-Link is defective

    解决最近升级iar出现的问题,J-Link弹出The connected J-Link is defective,将这几个dll复制粘贴替换掉jLink安装目录(.../Segger/JlinkARMV.../)下的dll,实测可行

    Aspose.Words20200216.zip

    Aspose.word.dll文件,修复The document appears to be corrupted and cannot be loaded问题。 低版本的Aspose.word.dll动态链接库会存在这个bug,通过升级动态链接库就可以完美解决此问题,亲测有效,绝不忽悠你。

    A LaTeX2e package for typesetting Matlab code as it appears

    A LaTeX2e package for typesetting Matlab code as it appears in the Matlab editor.zip

    Draw a rotation of the Earth appears to be绘制地球

    绘制一个看起来是旋转的地球Draw a rotation of the Earth appears to be

    POJ 1002 487-3279 telephone numbers

    Generate a line of output for each telephone number that appears more than once in any form. The line should give the telephone number in standard form, followed by a space, followed by the number of ...

Global site tag (gtag.js) - Google Analytics