Code signing helper apps for Apple Sandbox on OSX

Viewed 2579

I have an app I need to run at startup, and I am converting to Sandboxing.

I have a helper app created, and working fine when I do not code sign my app.

To codesign, it looks like I have to create provisioning profiles - one for the helper and one for the actual app.

Since these dont match, I cant get both to match, and am unable to have the helper app launch the main app.

I have tried to re-sign the helper:

codesign -f -vv -s "3rd Party Mac Developer Application:" -i "com.mydomain.myhelper" --entitlements myhelper/myhelper.entitlements myhelper.app

And get the error: object file format unrecognized, invalid, or unsuitable

I have re-created the helper from scratch, with no results.

How can I do this helper app and get it signed? There seems no documentation on this process.

1 Answers
Related