嵌入式二进制文件没有使用与父应用程序相同的证书进行签名,但它们是相同的

时间:2014-12-03 14:14:25

标签: ios xcode code-signing

应用扩展程序导致代码签名问题。这个应用程序已经在Appstore上(有了这个扩展名),因为某些原因,当我回到这个应用程序时我已经过了enter image description here

一个奇怪的错误,因为它在所述错误消息中显示两个完全相同的证书而自相矛盾。

我试过了 清理并重新启动,删除派生数据,重新生成配置文件,删除和创建新配置文件。同时使用xcode 6.1和xcode beta以及This

我也搜索了SO Xcode6:Embedded binary is not signed with the same certificate as the parent app并且没有提供解决方案

(删除应用扩展程序会删除错误)

7 个答案:

答案 0 :(得分:2)

因此,如果有人遇到这个神秘的消息,那么" App Group"由于某种原因,关闭应用程序扩展的功能。把它重新打开,一切都很好。修复任何"问题"如果它要求你这样做

答案 1 :(得分:2)

我试过以下解决方案今天早上正在工作!请试一试!

  

这里唯一的解决方案就是我去了Developer Portal,删除了   所有配置文件,然后通过Finder删除所有下载的配置文件,做了   清理项目和Clean Build文件夹,关闭并重新打开Xcode。

     

然后我打开了我的项目,去了app和扩展目标 - 在那里   点Xcode意识到没有配置文件存在,因此去了   获得它们的Developer Portal。因为没有什么可下载的,所以   浏览您帐户中的每个应用ID并创建   每个人的发展概况。

http://aplus.rs/2014/embedded-binary-is-not-signed-with-the-same-certificate-as-the-parent-app/

答案 2 :(得分:2)

我的问题是我有一个复制文件后构建步骤导致问题(不知何故)。

删除了“复制文件”阶段后,此错误就消失了。

答案 3 :(得分:1)

When I had this issue I went to the Apple Member Center and realized that the Provisioning Profile (for the extension) that I had created was marked as 'Invalid'. I just re-created the Provisioning Profile with the same certificate that the app is signed with and then downloaded it via Xcode > Preferences > Account > refresh.

Once I had the new provisioning profiles I selected them in the build settings. I selected the provisioning profile that was just created and also selected the corresponding certificate in the Code signing entity in the build settings and that fixed the issue.

Note that the extension has its own app id and hence its own provisioning profile.

答案 4 :(得分:0)

对我来说,没有在Developer Portal上的所有App ID上正确设置应用程序组。因此,应用程序中的应用程序组无法正常工作,从而导致此问题。

答案 5 :(得分:0)

为我解决的问题是:

  1. 在首选项中重新登录我的帐户 - >帐户。

  2. 在两个(主应用+键盘扩展程序)目标(在目标 - >功能下)关闭应用程序组,然后将其重新打开并重新选择/重新检查应用程序组。

答案 6 :(得分:0)

我有同样的问题。这是在我的证书在一年后过期的那天开始的。以下步骤对我有用:

  1. 从钥匙串中删除旧的过期证书(您将能够在证书图标上看到红叉)
  2. 重新启动Mac