Repository navigation
Description
What happens
In Developer ID-signed releases, the calendar provider never gets Calendars access. No access prompt appears, StableBar is never listed in System Settings → Privacy & Security → Calendars, so the user cannot grant access by hand either. Calendar widgets stay on No calendar access with fields.access = notDetermined.
Steps to reproduce
- Install a Developer ID-signed release (v0.5.0-beta.94 or later, here v0.5.0-beta.113) on a Mac where StableBar never had Calendars access.
- Enable a widget that uses the
calendarprovider (for example thecalendar-agendapackage). - Wait for it to update, or restart StableBar.
Expected
macOS asks for Calendars access the first time the provider updates, as the README says ("A calendar provider asks for Calendars access the first time it updates"), and StableBar appears in the Calendars privacy pane.
Environment
- StableBar 0.5.0-beta.113 (build 113), notarized Developer ID build from the DMG
- macOS 26.6.2 (25G83), Apple M4 Pro
- Displays: built-in Liquid Retina XDR (notch) and an external 2560×1440
- AeroSpace 0.21.3-Beta
Evidence
tccd refuses the request because of the hardened runtime, without prompting:
tccd [com.apple.TCC:access] Prompting policy for hardened runtime; service: kTCCServiceCalendar requires entitlement com.apple.security.personal-information.calendars but it is missing for accessing={TCCDProcess: identifier=org.stablebar.app, ..., binary_path=/Applications/StableBar.app/Contents/MacOS/StableBar}, requesting={TCCDProcess: identifier=com.apple.calaccessd, ...}
tccd [com.apple.TCC:access] Handling access request to kTCCServiceCalendar, from Sub:{org.stablebar.app} ..., ReqResult(Auth Right: Unknown (None), promptType: 1, DB Action:None, UpdateVerifierData)
The app is signed with the hardened runtime and carries no entitlements:
$ codesign -dv /Applications/StableBar.app
CodeDirectory v=20500 size=21277 flags=0x10000(runtime) ...
Authority=Developer ID Application: Sébastien Graf (278M87RK3R)
$ codesign -d --entitlements :- /Applications/StableBar.app
(empty)
$ StableBar --query calendar-agenda | jq -c .fields
{"access":"notDetermined","icon":"calendar","text":"No calendar access"}
There is no practical local workaround: re-signing the app ad-hoc with the entitlement and the hardened runtime makes dyld refuse the Developer ID-signed Sparkle.framework (mapping process and mapped file (non-platform) have different Team IDs), and re-signing Sparkle ad-hoc too still fails library validation.
Diagnosis
scripts/build.sh (origin/main, 17feb6e) signs the app with the hardened runtime but passes no entitlements file:
sign=(codesign --force --options runtime --timestamp --sign "$SIGNING_IDENTITY")
...
$sign "$app"Under the hardened runtime, Calendars access requires com.apple.security.personal-information.calendars. NativeMetrics.eventStore calls requestFullAccessToEvents, which tccd denies without a prompt, so EKEventStore.authorizationStatus(for: .event) stays .notDetermined (Sources/StableBar/NativeMetrics.swift).
#25 listed this as a known gap ("Developer ID builds sign with the hardened runtime but without the com.apple.security.personal-information.calendars entitlement, so they would be denied Calendars access. CI builds are ad-hoc signed and unaffected."). Since b2a2745 (#100), CI signs releases with the Developer ID, so every release from v0.5.0-beta.94 on is affected.
A likely fix: add an entitlements file (for example Resources/StableBar.entitlements) with
<key>com.apple.security.personal-information.calendars</key>
<true/>and sign the app with it in scripts/build.sh ($sign --entitlements Resources/StableBar.entitlements "$app"). A release test could check that the signed app's entitlements include the key, so future signing changes keep it.
Related
- feat: add a calendar provider for the next meeting and today's agenda #25 / Add a calendar provider for the next meeting and today's agenda #18: the calendar provider; feat: add a calendar provider for the next meeting and today's agenda #25 noted this gap before releases were Developer ID-signed.
- feat: check for and install updates in the app, on a stable or beta track #100: started signing releases with the Developer ID (b2a2745), which turned the gap into a release bug.
- Sign releases with a Developer ID and notarize them #76: still open, though its proposal shipped in feat: check for and install updates in the app, on a stable or beta track #100; it mentions re-granting Calendars access after updates, not this denial.
- Copy a bug report with versions, displays and permissions #93: a permissions section in the bug report would have shown
Calendars: notDeterminedhere.
Triaged by Claude Code (Claude Opus 5.5).
Activity
Seb-GRAF commentedon Oct 20, 2026
Thanks, @alexandrebucci, for the detailed report and the TCC logs. They pinpointed the missing Calendars entitlement. I'm adding it to the Developer ID app signature and checking the signed build before opening the fix PR.
stablebar-releases commentedon Oct 21, 2026
🎉 This issue has been resolved in version 0.5.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀