CodexBar icon indicating copy to clipboard operation
CodexBar copied to clipboard

Widget missing on macOS 26: app group rejected unless Team-ID-prefixed

Open meghanto opened this issue 11 months ago • 0 comments

Summary

On macOS 26.2 (25C56), CodexBar’s widget extension registers (pluginkit sees it) but never appears in the widget gallery. The widget process launches and exits immediately. Logs show the app group group.com.steipete.codexbar is rejected because it is not Team-ID-prefixed.

Environment

  • macOS: 26.2 (25C56)
  • Hardware: MacBookPro16,2 (Intel)
  • CodexBar: 0.17.0 (official release + local builds)

Steps to reproduce

  1. Install and launch CodexBar.
  2. Open Notification Center → Edit Widgets.
  3. Search for “CodexBar”.

Expected

CodexBar widgets appear in the widget list.

Actual

CodexBar widgets are not listed.

Evidence

pluginkit sees the extension:

com.steipete.codexbar.widget(0.17.0)
Path = /Applications/CodexBar.app/Contents/PlugIns/CodexBarWidget.appex

Chronod/containermanagerd logs when opening the widget gallery:

containermanagerd ... requesting [group.com.steipete.codexbar]: REJECTED.
Group containers identifiers should be prefixed by requestor's team ID

Then the widget process exits and chronod fails getAllDescriptors with Code 4099:

chronod ... Session operation: `getAllDescriptors` error result: Error Domain=NSCocoaErrorDomain Code=4099

Hypothesis

macOS 26 requires the app group to be Team-ID-prefixed (e.g. Y5PE65HELJ.group.com.steipete.codexbar). The current entitlements use the unprefixed group, so the widget can’t access its container and is killed early.

Proposed direction

  • Use Team-ID-prefixed app group in entitlements for signed builds.
  • Resolve the app group at runtime from entitlements (fallback to legacy group), so both old/new IDs work.

drafted with codex assistance

meghanto avatar Jan 02 '26 09:01 meghanto