Aron Nelson
Aron Nelson

Reputation: 858

How to solve: Embedded binary is not signed with the same certificate

My Parent app IS signed correctly. I have verified in every screen. Has anyone seen this?

It's complaining about my watchKit app.

Thanks!

XCode 10.0 beta 6

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: Software Signing
  Parent App Signing Certificate: - (Ad Hoc Code Signed)

Upvotes: 7

Views: 10236

Answers (4)

Brianna Doubt
Brianna Doubt

Reputation: 699

For me I had an embedded App Clip that was targeting iOS 15 and the iOS app was targeting iOS 16. Switching the App Clip to iOS 16 did the trick.

Upvotes: 1

C0C0AL0C0
C0C0AL0C0

Reputation: 365

Had same error in Xcode 12 running on M1 after deleting my

~/Library/Developer/Xcode/DerivedData

as part of clean build. Tried everything above, nothing helped.

Decided to change the Xcode project type from Xcode "12.0-compatible" to "Xcode 8.0-compatible" and then the project started building correctly (again).

Upvotes: 0

gpdawson
gpdawson

Reputation: 711

I had the same error with XCode 12 after adding a widget extension. However all my architectures settings were already set to $(ARCHS_STANDARD).

It turns out that this signing error was spurious and was apparently a side-effect of my having added an undefined symbol in a code module I had added into the widget extension. After removing that code module from the extension it built without any signing error, again.

Upvotes: 1

Aron Nelson
Aron Nelson

Reputation: 858

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!

enter image description here

Upvotes: 30

Related Questions