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:
- Ensured Code signing identity is same for Main app and Notification service Extension -> Didn't work build still fails.
- Switched to legacy build system to see if the build succeeds -> Build fails.
- Enabled Copy only when installing in Embed App Extensions -> Build succeeds with this but rich media push notifications won't work anymore.
- Set $(ARCHS_STANDARD) as the the valid architecture for the Extension target. -> Build fails
- Deleted derived data -> Still fails
Am I missing something?