我有两个目标,主要目标&扩展目标。现在,当我尝试存档应用程序时,Xcode失败并出现以下错误:
error: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.
Embedded Binary Signing Certificate: - (Ad Hoc Code Signed)
Parent App Signing Certificate: iPhone Distribution: ***. (EAA28CVMQM)
所以我再次检查Build Settings - Code Signing
以确保Embedded binary is signed with the same certificate as the parent app
,
或如下设置:
他们都失败了。无论我如何更改代码签名设置,Embedded Binary Signing Certificate
始终为(Ad Hoc Code Signed)
。
在这篇文章之前,我已经阅读了这些链接:
Xcode6:Embedded binary is not signed with the same certificate as the parent app
Embedded binary is not signed with the same certificate as the parent app yet they are identical
http://aplus.rs/2014/embedded-binary-is-not-signed-with-the-same-certificate-as-the-parent-app/
感谢您的帮助。
答案 0 :(得分:37)
信不信由你!!!!!!!!!!!!
这是Apple Worldwide Developer Relations Certification Authority
,如果我选择always trust
,则Xcode存档失败。当我更改为system defaults
时,Xcode成功归档。
血腥的......
答案 1 :(得分:5)
它是Apple全球开发者关系认证机构发布的问题。 这里如何逐步解决错误
答案 2 :(得分:2)
I had the same issue while working with shared extensions. Even after editing the AWDRC certificate I kept on getting the same error on Xcode 7. However once I upgraded to Xcode 7.2 the problem was solved.
答案 3 :(得分:1)
在为iOS Simulator进行构建时遇到了这个问题(对于设备来说,一切正常。) 这对我有所帮助,尽管没有SO答案:
该问题与签名无关。对我来说答案是 将$(ARCHS_STANDARD)粘贴到项目有效架构字段中。 不可思议!
答案 4 :(得分:0)
对我来说,这是因为我在Computer B
上进行了一个安装,并在Computer A
上使用了Xcode,并要求我吊销证书。我不知道如何在{{1}}上将其撤消,并用Google搜索了3个小时,直到尝试退出并重新打开Xcode。它立即要求我吊销证书,并且一切都重新开始。
Xcode太糟糕了。