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/
https://developer.apple.com/library/ios/technotes/tn2407/_index.html#//apple_ref/doc/uid/DTS40014991-CH1-VALIDATION_ERRORS-EMBEDDED_BINARY_S_BUNDLE_IDENTIFIER_IS_NOT_PREFIXED_WITH_THE_PARENT_APP_S_BUNDLE_IDENTIFIER_
Thanks for any help.
I had this problem when building for iOS Simulator (for device everything was OK). This has helped me, while none of SO answers did:
The problem had nothing to do with the signing. The answer for me was to paste $(ARCHS_STANDARD) into the project valid architecture field. Incredible!
(c) https://forums.developer.apple.com/thread/107563
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...
It's the Apple Worldwide Developer Relations Certification Authority issues. Here How to solve error step by step
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With