iOS error "Embedded binary is not signed with the same certificate as the parent app"

The embedded binary is referring to a widget that you are deploying alongside with your app.

In your case, you are not signing your widget with any Signing Identity (since your error says "Not Code Signed").

To resolve this, go to your Project file, find your widget's target, and under the Build Setting tab, find the Code Signing Identity value. Choose the same code signing identity that you are using for your main app's target.

You will also need to create and configure a provisioning profile specifically for your widget when you want to release it.


Sometimes none of the solution on Stackoverflow works. In that case,

Solution

  1. Make sure that there is no red mark/issue in any of the sections of Signing(Debug), Signing(Release) and Enabled capabilities in both of MainApp and EmbeddedApp
  2. Make sure that both certificates and provisioning profiles are installed under login/system keychain.

enter image description here

  1. Make sure that your certificate is never ever set as Always Trust. Access must be kept as Use System Default

enter image description here


Swift 5 . Simple way in my case check this screen shot i am done

enter image description here