我有两个目标,主要目标和扩展目标。现在,当我尝试归档应用程序时,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:嵌入式二进制文件未使用与父应用程序相同的证书进行签名
嵌入式二进制文件未使用与父应用程序相同的证书进行签名,但它们是相同的
http://aplus.rs/2014/embedded-binary-is-not-signed-with-the-same-certificate-as-the-parent-app/
谢谢你的帮助。