Service Management framework supports installing and uninstalling services, including Service Management login items, launchd
agents, and launchd
daemons.
General:
-
DevForums tag: Service Management
-
Service Management framework documentation
-
Daemons and Services Programming Guide archived documentation
-
Technote 2083 Daemons and Agents — It hasn’t been updated in… well… decades, but it’s still remarkably relevant.
-
EvenBetterAuthorizationSample sample code
-
SMJobBless sample code
-
Sandboxing with NSXPCConnection sample code
-
WWDC 2022 Session 10096 What’s new in privacy introduces the new
SMAppService
facility, starting at 07˸07 -
BSD Privilege Escalation on macOS DevForums post
-
Background items showing up with the wrong name DevForums post
Related tags include:
-
XPC, Apple’s preferred inter-process communication (IPC) mechanism
-
Inter-process communication, for other IPC mechanisms
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"