macOS widget is registered but never appears in Widget Gallery
Summary
CodexBar installs correctly on macOS, and the widget extension is present and registered, but no CodexBar widgets appear in the Widget Gallery at all.
Searching for CodexBar returns nothing, and there is no CodexBar section in the widget list.
Environment
- CodexBar version:
0.18.0-beta.3 - macOS version:
26.2 (25C56) - Install location:
/Applications/CodexBar.app
What I checked
- The widget extension exists:
/Applications/CodexBar.app/Contents/PlugIns/CodexBarWidget.appex
- PlugInKit sees it and marks it as elected:
com.steipete.codexbar.widget
- Code signing verification passes for both the app and the widget extension
- I restarted
pkd,Dock, andNotificationCenter - I also re-added the widget with
pluginkitand re-seeded LaunchServices
Actual behavior
When opening the Widget Gallery, chronod attempts to load com.steipete.codexbar.widget, but the extension exits immediately and the gallery never shows any CodexBar widgets.
Relevant logs
chronod ... [com.steipete.codexbar::com.steipete.codexbar.widget] scheduling query
chronod ... [com.steipete.codexbar::com.steipete.codexbar.widget] performing query
containermanagerd ... [com.steipete.codexbar.widget] requesting [group.com.steipete.codexbar]: REJECTED.
Requestor's signature does not allow it to access a TCC-protected group container.
Group containers identifiers should be prefixed by requestor's team ID to allow access on this platform.
chronod ... query failed - will try lazy reload later:
Error Domain=NSCocoaErrorDomain Code=4099
"The connection to service with pid -1 named (null) was invalidated."
Fixed on current main.
The reported failure was the legacy app group group.com.steipete.codexbar being rejected by macOS. Current builds use the team-prefixed app group for both app and widget: Y5PE65HELJ.com.steipete.codexbar.
Proof from the current packaged app:
CodexBar.appentitlementcom.apple.security.application-groups:Y5PE65HELJ.com.steipete.codexbarCodexBarWidget.appexentitlementcom.apple.security.application-groups:Y5PE65HELJ.com.steipete.codexbar- widget Info.plist includes
CodexBarTeamID = Y5PE65HELJ
Relevant fixes: 2f7a6752, d4cb9677, 592cfd56.
Verified with:
swift test --filter 'AppGroupSupportTests|WidgetSnapshotTests|CodexBarWidgetProviderTests'