Whenever I try to build my helper app, it fails with the error "Embedded binary not signed with the same certificate as parent app", however when I try to build it again, it works. This isn't really a problem for testing and prototyping, however when I try to make an archive of the app, it always fails, even though both apps are signed with the same certificate. I've tried getting it to work with automatic signing on and off, and while the main app builds flawlessly, the helper app still doesn't work. The only difference in the signing section of the app is the bundle identifier, which is just [mainapp]-helper (and also the "info" section but that shouldn't matter)
In the build log, it also says
Embedded Binary Signing Certificate: Not Code Signed
Parent App Signing Certificate: Apple Distribution: [my name] (my team id)
even though the helper app is signed.