SMAppServiceMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

SMAppServiceMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Login Items MBS MacCF Plugin 23.0 ✅ Yes ❌ No ❌ No ❌ No All
An object the framework uses to control helper executables that live inside an app’s main bundle.

In macOS 13 and later, use SMAppService to register and control LoginItems, LaunchAgents, and LaunchDaemons as helper executables for your app. When converting code from earlier versions of macOS, use an SMAppService object and select one of the following methods depending on the type of service your helper executable provides:


Requires macOS 13.0.

Service Status

Constant Value Description
SMAppServiceStatusEnabled 1 The service has been successfully registered and is eligible to run.
SMAppServiceStatusNotFound 3 An error occurred and the framework couldn’t find this service.
SMAppServiceStatusNotRegistered 0 The service hasn’t registered with the Service Management framework, or the service attempted to reregister after it was already registered.
SMAppServiceStatusRequiresApproval 2 The service has been successfully registered, but the user needs to take action in System Preferences. more

This class has no sub classes.

Blog Entries


The items on this page are in the following plugins: MBS MacCF Plugin.


SLRequestMBS   -   SmartCardContextMBS


💬 Ask a question or report a problem