Monday, February 11, 2019

Sandboxed macOS X Login Item With XPC

Uli Kusterer:

I’m currently working on updating the Talking Moose to modern macOS, with an eye on a Mac App Store release. This differs from your stock XPC setup, as the Talking Moose consists of a GUI application for configuring it, and a background process for the animated character, the latter of which should be launched at login and stay running, instead of only being launched on-demand when someone makes explicit requests to the service.

Here are the things I had to do differently from Xcode’s standard XPC Service target template[…]

1 Comment RSS · Twitter

I had to write a something similar not long ago.
What I find devastating is that it is now impossible to find any useful resource in the Apple documentation, despite the fact that a criticaly helpful sample exists.

https://developer.apple.com/library/archive/samplecode/AppSandboxLoginItemXPCDemo/Introduction/Intro.html

Leave a Comment