0ihsan / mcal

Manage macOS Calendar from command line interface.
MIT License
15 stars 2 forks source link

Permission issues . "no event found until midnight" despite "Full Access" to Calendar #6

Open oschrenk opened 1 week ago

oschrenk commented 1 week ago

Not a bug report, more an observation and comment if other people also run into this issue.

TL;DR

The terminal requires "Full Access" to Calendar AND access to "Reminders"


Thank you for building the software. It scratches a very particular itch.

An issue I encountered is that enabling "Full Access" to the Calendar was not enough.

The app always reported that there were no events

./mcal next
no event found until midnight

iCalBuddy also reported that there were no events today:

icalBuddy -f -sd eventsToday
error: No calendars.

This is despite granting Full Access to the Terminal (Alacritty in my case).

Screenshot 2024-06-25 at 19 24 44

Only after ALSO granting access to "Reminders"

Screenshot 2024-06-25 at 19 18 59

Both apps, mcal and iCalBuddy were able to find events.

It's funny that

https://github.com/0ihsan/mcal/blob/ee06a64690c0da03a1aef14ea43932ed075e9539/mcal.swift#L44C1-L47C157

Actually, does the right check (to my eyes), but macOS still only allows to get calendar entries if you also grant access to Reminders.

macOS 14.5 (23F79)

0ihsan commented 1 week ago

thank you. apple integrated reminders(w/dates) to show in calendar on macos 15.0 sequoia. not sure why you had encountered this in macos 14.5 though... cr