Skip to content
86% off$349 $48.86code BF2026

Guides

SMAppServiceErrorDomain Code=1: menu bar item won't show

Menu bar item won't appear and macOS shows SMAppServiceErrorDomain Code=1 "Operation not permitted"? Steps to try in order, and what to send the developer.

TroubleshootingUpdated 5 min read

On this page

You updated macOS or the app, the menu bar item vanished, and turning it back on pops up this message:

text
Error Domain=SMAppServiceErrorDomain Code=1 "Operation not permitted" UserInfo={NSLocalizedFailureReason=Operation not permitted}

The one public report we found is from October 2022. A user on macOS Ventura 13.0 with coconutBattery 3.9.10 saw its battery-time menu bar icon disappear, and a second person replied "Same". The thread has no answer. Everything below is general troubleshooting for this error class, not a verified cure for that app.

Why it happens

SMAppService is part of Apple's Service Management framework. It registers login items and background items for an app, and a menu bar app that runs at login or keeps a helper alive may use it. It exists on macOS 13 Ventura or later.

The error text doesn't say why registration failed. These are the plausible causes, most likely first. We haven't confirmed any of them for the coconutBattery report.

  1. The background item is switched off or in a stale state. macOS keeps its own record of which items an app may run, and that record can conflict with a new registration.
  2. The app is running from a place macOS doesn't treat as installed, such as a disk image or Downloads, or a second copy is confusing the lookup.
  3. The app's helper is missing or mismatched. If the app was updated over an older copy, the bundle may not contain what the registration call names. Only the developer can fix this.
  4. A bug in the app's registration code on that macOS release. A fix would then need to come from a new build.
  5. A managed Mac. On a work or school Mac, an administrator may control background items through a configuration profile.
CauseSymptomWhat to try
Item off or staleApp listed but off, or listed twiceStep 1, then Step 6
Running from a DMG or DownloadsApp not listed at allStep 3
Old build on a new macOSError began right after an OS updateStep 2
Broken helper in the app bundleError persists after every stepContact the developer
Managed MacToggle greyed out or revertsAsk your administrator

Step-by-step fixes

Step 1: Toggle the item in Login Items & Extensions

  1. Open the Apple menu, choose System Settings, click General, then click Login Items & Extensions. Apple documents this path in its Login Items & Extensions help page.
  2. Find the app in the background list. The section label differs between macOS versions.
  3. If it's off, switch it on.
  4. If it's already on, switch it off, wait a few seconds, then switch it on again.
  5. Quit the app completely from its app menu, reopen it, and try the menu bar option again.

If the app doesn't appear in the list at all, it probably never registered successfully. Go on to Step 2.

Step 2: Update the app and macOS

The 2022 report involved an app build from the first Ventura release. A newer build may behave differently, though we haven't verified that any version fixes this error.

  1. Download the latest build from the app's developer site, not a mirror.
  2. Update macOS: System Settings > General > Software Update.
  3. Open the new build from Applications and try again.

Step 3: Keep exactly one copy in Applications

  1. Quit the app.
  2. In Finder, open Applications and check there is only one copy. Remove extras from Downloads or the Desktop.
  3. If you installed from a DMG, drag the app into Applications again and replace the old one. Eject the DMG.
  4. Open the app from Applications, never from the DMG, and try again.

Step 4: Restart the Mac

Use Restart, not sleep. A restart can clear transient state after an OS update. After it starts up, repeat Step 1.

Step 5: Add the app to Open at Login by hand

If you only need the app to start with your Mac, you can bypass its own toggle.

  1. Open System Settings > General > Login Items & Extensions.
  2. Under Open at Login, click the add button below the list and choose the app from Applications.

This starts the app at login. It may not bring back the menu bar item if that item depends on a separate background helper the app must register itself.

Step 6: Reset the background item database (last resort)

Apple's deployment documentation on login items and background tasks describes the sfltool command, including a reset option. It is aimed at testing, so treat it as a last resort.

text
sudo sfltool resetbtm

This clears stored login and background item state for all apps, not just this one. Restart afterward and expect to approve background items again.

Step 7: Check whether a profile is managing your Mac

If the Mac belongs to an employer or school, an administrator may manage background items through a configuration profile. If the toggle won't stay on, ask them.

Checklist before you try again

  • The app is in Applications, one copy only, opened from there.
  • It is the latest build from the developer's site.
  • macOS is up to date and you have restarted since the last update.
  • The app appears under Login Items & Extensions and its switch is on.
  • The Mac isn't managed, or your administrator allows the item.

If nothing works

Contact the app's developer. A registration failure may come from inside their app, and a precise report helps them. Include:

  • The exact error text, copied as shown above.
  • Your macOS version (Apple menu > About This Mac) and the app's version.
  • Where the app is installed.
  • Whether the app appears in Login Items & Extensions, and whether its switch is on.
  • Which steps above you tried, and whether you ran sfltool resetbtm.
  • Whether the Mac is personal or managed.
text
Subject: Menu bar item won't appear: SMAppServiceErrorDomain Code=1

Hello,

The menu bar item in [app name] [version] doesn't appear. When I switch it on,
macOS shows:

Error Domain=SMAppServiceErrorDomain Code=1 "Operation not permitted"
UserInfo={NSLocalizedFailureReason=Operation not permitted}

macOS version: [version]
Install location: /Applications
Listed under Login Items & Extensions: [yes/no, on/off]
Already tried: toggling the item, reinstalling to Applications, restarting,
updating the app and macOS.

Can you tell me whether this is a known issue and whether a fix is planned?

Thanks

In the meantime, open the app by hand from Applications when you need it.

Common questions

Is this a macOS bug or an app bug?

We can't tell from the error alone. The message says the request failed but not why. If the same app works on another Mac with the same macOS version, local state is the more likely cause, so Steps 1, 4 and 6 apply.

Can I just delete the app and reinstall it?

Yes, and it's a reasonable test. Quit the app, move it to the Trash, empty it, restart, then install a fresh download into Applications. Check its switch in Login Items & Extensions afterward.

Does this error mean a virus or a security problem?

Nothing in the error suggests that. It reads as a refused registration request, not a sign of malware.

Every app.
One purchase.