Xcode build fails

238 views Asked by At

Getting "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." after I add NotificationServiceExtension as a target to my project.

Solutions I have tried:

  1. Ensured Code signing identity is same for Main app and Notification service Extension -> Didn't work build still fails.
  2. Switched to legacy build system to see if the build succeeds -> Build fails.
  3. Enabled Copy only when installing in Embed App Extensions -> Build succeeds with this but rich media push notifications won't work anymore.
  4. Set $(ARCHS_STANDARD) as the the valid architecture for the Extension target. -> Build fails
  5. Deleted derived data -> Still fails

Am I missing something?

0

There are 0 answers