您的位置:首页 > 移动开发

Embedded binary is not signed with the same certificate as the parent app解决方案

2016-07-25 14:48 597 查看
当我编译一款很早之前的一个带有app extension功能的app时,xcode给我报了这个错误。

错误的原因是containingApp和share Extension的证书不匹配。

我在stackoverflow上看到其他小伙伴的解决方式,我发现这个问题可能有多种解决方式,原因也可能响应的不同。

我的错误原因是share Extension的code signing中的provisioning profile选择的是automitic而containingAPP中选择了确定的profile,(大概这样会导致Xcode不能很好的匹配),之后我把share Extension的

profile选择为对应的确定的profile,错误消除。

贴个stackoverflow的链接吧

http://stackoverflow.com/questions/25927604/xcode6embedded-binary-is-not-signed-with-the-same-certificate-as-the-parent-app
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息