I want to create a sanboxed XPC service as a part of my App in the app store.
I want to do that, so that other non-sandboxed command line process (which a power user would download from my web page, not from the app store) would be able to access my service.
The design is:
(UI)--->(XPC service)<----(non-sanboxed command line process)
Such an XPC service can be created with the NSXPCListener initWithMachServiceName:
But how can I add the XPC server configuration to /Library/LaunchDaemon?
I want that the XPC service would be configured automatically when the user installs the app
Is that possible with applications in the Mac App Store? Is there a better way to achieve my design? XPC sees to be what apple recommends?
Thanks