I'm trying to code sign my helper app.
I've created a separate provisioning profile for it, it is valid and works. I can archive and export it for Mac App Store submission.
However, when I run the main app, and it adds the helper as a daemon, the helper app starts running, but it doesn't work properly. It pretty much does nothing...
When I disable code sign and leave sandbox checked the helper app works.
I also get a bunch of logs:
xpcd[236]:
(null): have symlinks: (
)
Not allowing process xxxx to launch "/Path/App.app/Contents/Library/LoginItems/Helper.app" because it has not been launched previously by the user
Not allowing process xxxx to register app "Path/App.app/Contents/Library/LoginItems/Helper.app" for launch.
<rdar://problem/11489077> A sandboxed application with pid xxxx, "Helper" checked in with appleeventsd, but its code signature could not be validated ( either because it was corrupt, or could not be read by appleeventsd ) and so it cannot receive AppleEvents targeted by name, bundle id, or signature. Error=ERROR: #100013 { "NSDescription"="SecCodeCopyGuestWithAttributes() returned 100013, -." } (handleMessage()/appleEventsD.cp #1755) com.apple.coreservices.appleevents.peer.0x7ff7d3b01a60.xpcq
The app HAS to be in the /Applications
folder for this to work...
Thanks to Tim Schroeder!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With