Embedded helper app fails to launch

I recently changed the architecture of my app by moving some of the logic into a helper app, which is embedded together with the main app.

The main app's bundle looks like this:

Main.app
- Contents
   - MacOS
      - Main
      - Helper.app

It all works fine during development, and I could successfully archive and notarize it. However, when I try to launch the notarized version of the helper app, it fails with the signing issues.

failed to fetch 
Main.app/Contents/MacOS/Helper.app/Contents/_CodeSignature/CodeRequirements-1 error=-10

I have tried a few things, but could not find any working solution. Any help is appreciated!

Answered by endore8 in 802270022

I found out that the issue was not with the signing but with a missing framework dependency in the helper app. Fixed it by adding the dependency in General -> Frameworks, Libraries, and Embedded Content.

Accepted Answer

I found out that the issue was not with the signing but with a missing framework dependency in the helper app. Fixed it by adding the dependency in General -> Frameworks, Libraries, and Embedded Content.

Embedded helper app fails to launch
 
 
Q