I have two targets, the main target & an extension target. Now when I'm trying to archive the app, Xcode failed with the following 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: - (Ad Hoc Code Signed)
Parent App Signing Certificate: iPhone Distribution: ***. (EAA28CVMQM)
So I checked the Build Settings - Code Signing
again and again to ensure Embedded binary is signed with the same certificate as the parent app
,
Or settings like below :
They all failed into the same reason. No matter how I change the Code Signing settings, the Embedded Binary Signing Certificate
is always (Ad Hoc Code Signed)
.
Before this post, I've read these links:
Xcode6:Embedded binary is not signed with the same certificate as the parent app
Embedded binary is not signed with the same certificate as the parent app yet they are identical
http://aplus.rs/2014/embedded-binary-is-not-signed-with-the-same-certificate-as-the-parent-app/
Thanks for any help.
Believe it or not!!!!!!!!!!!!
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.
Bloody h...