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 10:49

You need to create Provisioning Profile for that target and make sure to include the same certificate in it.

Targets has their own bundle id se you will need to create an AppId also. This solved the same problem that you are having

best

查看更多
欢心
3楼-- · 2019-02-05 10:50

Refreshing my provisioning profiles fixed it for me (Preferences -> Accounts -> Double tap the account -> tap refresh button in lower left)

查看更多
【Aperson】
4楼-- · 2019-02-05 10:50

Open your key chain and It's the Apple Worldwide Developer Relations Certification Authority, if I choose always trust, Xcode archives failed. When I changed to system defaults, Xcode archives successfully. Yes you will enjoy!!

查看更多
再贱就再见
5楼-- · 2019-02-05 10:50

For me this was happening because some of my provisioning profiles were expired. Created new profiles on developer.apple.com, removed the old ones, set them to Automatic in Xcode, and the error went away.

查看更多
太酷不给撩
6楼-- · 2019-02-05 10:51

I tried to run project in iPhone5,but App Extension does'nt support 32-bit architecture.So When I build project in iPhone5S,I can build the project !

查看更多
三岁会撩人
7楼-- · 2019-02-05 10:51

After a whole day it turns out "Apple Worldwide Developer Relations Certification Authority" in the Root Certs had been deleted. I export one from another machine and installed, everything works fine.

查看更多
登录 后发表回答