ServiceManagement macOS 12.3 to 13.0 API Differences
SMAppService.h
Added
SMAppServiceStatus
Added
SMAppServiceStatusNotRegistered
Added
SMAppServiceStatusEnabled
Added
SMAppServiceStatusRequiresApproval
Added
SMAppServiceStatusNotFound
Added
SMAppService
Added
+[SMAppService loginItemServiceWithIdentifier:]
Added
SMAppService.mainAppService
Added
+[SMAppService agentServiceWithPlistName:]
Added
+[SMAppService daemonServiceWithPlistName:]
Added
-[SMAppService registerAndReturnError:]
Added
-[SMAppService unregisterAndReturnError:]
Added
-[SMAppService unregisterWithCompletionHandler:]
Added
SMAppService.status
Added
+[SMAppService statusForLegacyURL:]
Added
+[SMAppService openSystemSettingsLoginItems]
SMErrors.h
Added
kSMErrorLaunchDeniedByUser
Added
kSMErrorAlreadyRegistered