Open magicdude4eva opened 6 years ago
iTerm2 author here: I'm at a loss—the terminal emulator shouldn't have any effect on this. Do you have any idea what might be going on?
Ah, after more investigation I see what's going on—the terminal needs to provide reason strings for every possible permission. Sigh. I'll take this one :)
Thanks @gnachman - could you perhaps post an update here once this is fixed in iTerm2?
Is fixed in 3.2.1 and nightly build.
@gnachman I am running 3.2.2b1 and I can't get it to work. It does work in Terminal and here I notice that I have Terminal granted permission for both Calendars and Reminders.
Not sure how to debug this.
Do you get a window saying "iTerm2" would like to access your calendar
? If not you need to go to System Prefs > Security & Privacy, pick Calendars on the left, and then make sure iTerm2 is enabled on the right.
iTerm is there, but Reminders did never prompt:
I did a full uninstall/reinstall of iTerm2 and icalBuddy. icalBuddy works in the stock-terminal app.
I think I found one issue with iTerm2: I reset all Calendar and Reminders access via:
tccutil reset Calendar
tccutil reset Reminders
After a reboot, starting iTerm2 and then doing a icalBuddy calendars
I get prompted for Calendar access and this works:
In comparison, "Terminal" prompts for both "Calendars" and "Reminders":
icalBuddy works under Terminal, but not iTerm2:
Are you on 3.2.2? I added a usage description for calendars and after doing tccutil reset Calendar; icalBuddy calendars I get:
I am on 3.2.2beta3. I do get the prompt for Calendars:
I think that iTerm2 should also prompt for Reminders though.
After allowing icalBuddy, when using icalBuddy calendars
, I get no output:
Doing the same on Terminal, icalBuddy shows them:
I am using the same shell (zsh) on both iTerm2 and Terminal, so I am not quite sure what else could be different:
brew install zsh
sudo sh -c "echo $(which zsh) >> /etc/shells"
chsh -s $(which zsh)
I added all the prompts I could find. Calendars, reminders, camera, location, etc.
Thanks @gnachman - I think you have done enough. It does not look like @ali-rantakari is monitoring issues and since last release was in 2014, I doubt we will be able to further troubleshoot or fix.
It is just quite strange that the stock-terminal app works, but iTerm2 does not. I don't have the time to fork the iCalBuddy project and debug it.
Thanks for all your help....
FWIW, running iTerm2 3.2.6beta4 and when I ran icalBuddy I received two prompts, one for calendar access and one for reminders.
Mojave introduces stricter privacy controls and icalBuddy sigterms when being used on iTerm2.
To reproduce:
Result:
On regular Terminal the above works. Not sure if iTerm2 requires some specific handling to support this. I logged iTerm2 issue as well.