macOS Alarm Fix: Shortcuts Workaround | Generated by AI
Summary
The Root Problem
On macOS 26, Clock.app alarms are managed entirely by the mobiletimerd daemon via XPC (com.apple.MobileTimer.alarmserver). The daemon keeps alarms in-memory. Neither the plist nor the SQLite database is the source of truth — the daemon IS.
What doesn’t work (all tested and confirmed):
- Writing to
~/Library/Preferences/com.apple.mobiletimerd.plist— daemon ignores it, Clock.app shows “No Alarms” - Writing to
~/Library/Group Containers/group.com.apple.mobiletimerd/local.sqlite— same result - Calling
MTAlarmManager.addAlarm_()via pyobjc — XPC rejected:"not entitled" - Compiled Swift binary calling MobileTimer framework — same
"not entitled"error - Donating
MTCreateAlarmIntentviaINInteraction— donates to Siri suggestions but doesn’t create the alarm
The entitlements are Apple-private. Only Apple-signed processes (Clock.app, Shortcuts.app, Siri) can talk to mobiletimerd.
What DOES Work
Shortcuts.app has the correct entitlements and can create alarms. The shortcuts CLI can run shortcuts:
shortcuts run "shortcut-name" --input-path /tmp/input.txt
What I’ve Done
- Created and signed a
.shortcutfile — discovered that.shortcutis a plain binary plist (not a ZIP), andshortcuts signaccepts it - Imported
ww-create-alarm-signedinto Shortcuts.app — it exists but has no actions - Cleaned up
alarm.py— rewrote it to use SQLite (correct approach conceptually, but insufficient without the daemon)
What’s Needed (One-Time Manual Setup)
The user needs to add a “Create Alarm” action to the shortcut in Shortcuts.app:
- Open Shortcuts.app → find “ww-create-alarm-signed”
- Click to edit → add action → search “Create Alarm” (from Clock app)
- Configure it to accept Shortcut Input as text (format:
HH:MM label) - Save
Then update alarm.py to call:
subprocess.run(["shortcuts", "run", "ww-create-alarm-signed", "--input-path", tmpfile])
Want me to delete the empty shortcut, create a fresh one with proper setup instructions, and update alarm.py to use the shortcuts run approach? You’d just need to do a 2-minute manual step in Shortcuts.app to add the “Create Alarm” action.