Xcode6:Embedded binary is not signed with the same

2019-02-05 10:14发布

After I add Today App Extension Target,I become impossible to compile project. below is error:

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: iPhone Developer: (Developer name) (number)

Parent App Signing Certificate: iPhone Developer: (Developer name) (number)

but Embedded binary certificate and parent app's cerificate are the same. So I'm confusing now...

28条回答
聊天终结者
2楼-- · 2019-02-05 11:12

I solved it by deleting my Apple ID account in

Preferences -> Accounts

and then logging back in again with my Apple ID

查看更多
Luminary・发光体
3楼-- · 2019-02-05 11:13

This issue might arise in the case where the embedded app targets like extensions or watchapp does not have the matching team selected in the General section, as the main iOS app.

Selecting the right team for all relevant targets fixed the issue for me.

查看更多
Root(大扎)
4楼-- · 2019-02-05 11:13

Just let Xcode handle the provisioning work. This solved the same issue in my case. http://aplus.rs/2014/embedded-binary-is-not-signed-with-the-same-certificate-as-the-parent-app/

查看更多
Melony?
5楼-- · 2019-02-05 11:14

In my case my App and my Widget profile were signed with different certificate. So I had to go to to iOS Developer site, select parent app provisioning profile->Edit and choose the same certificate as the widget. Then click "generate" and "download". Onece you have download it, double click on it to install in XCode. Then select the new provisioning profile for your parent app in Build Settings->Provisionig Profile. Finally Rebuild your project!

查看更多
登录 后发表回答