I have some existing code that registers a privileged daemon using SMAppService. In Ventura and Sonoma, the privileged item gets added to Login Items (allow to run in background), and must be toggled on to finish granting privileged access. In 15.0 Beta (24A5264n), the app doesn't show up in the Login Item list.
Is there something I should be doing differently to use this framework in Sequoia?
Hmmm, something weird is going on here. Here’s what I just did:
-
I built a test app that installs a daemon using
SMAppService
. -
I copied it to the Applications folder on a ‘clean’ VM, one that’s never seen my app before. This is running macOS 15.0b1.
-
I ran the app and registered the daemon. The system displayed the ‘run in the background’ notification.
-
I opened System Settings > General > Login Items & Extensions.
-
In the Allow in the Background list, I see my app with the switched turned off.
This seems correct to me, and matches what I’d expect from macOS 14.
It sounds like you’re seeing very different behaviour. Before I send you off to file a bug, I wanna check whether your test is (roughly) equivalent to my test. Specifically, my concern is step 2. Did you start on a clean machine? Or is this a machine you upgraded?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"