Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Signed with same certificate but error: Embedded binary is not signed with the same certificate

The embedded binary and the parent app has the same certificate but I am getting the error message: 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.

enter image description here

enter image description here

like image 611
Ing. Ron Avatar asked May 18 '15 19:05

Ing. Ron


2 Answers

This is just Xcode making you go crazy,all what you have to do is

  1. Go to the Preferences->Accounts (Command+,)
  2. Remove the AppleID which is causing the problem
  3. Sign in again with the same AppleID

Enjoy :D

like image 101
Mohammad Allam Avatar answered Oct 02 '22 14:10

Mohammad Allam


There are quite a few reasons the issue may emanate from. Would like to add another plausible check that helped me. Ensure the certificate you are signing with doesn't have 'Always Trust' (you will see a green '+' sign if the setting is such).

  1. Go to Key Chain access, double click on the certificate you are using.
  2. Expand the 'Trust' drop down and change/set to 'Use System Defaults' from 'Always Trust'.

It's especially true if you are using Swift in your project as the 'Always Trust' setting breaks pertinent Swift libraries.

like image 40
John Doe Avatar answered Oct 02 '22 15:10

John Doe