Hi,
I need to run a daemon helper(launchd) with a custom group id. For this I specify into the plist the group ID and everything works fine.
The problems appear if I delete the group ID. Then the executable will not start anymore and if I want to send an XPC message remoteObjectProxyWithErrorHandler
it will not return any error and the completion blocks are never executed.
What would be the correct way to check handle the above situations?
- recreate group if it was deleted
- detect that the XPC connection cannot be established because the helper doesn't start
Thanks