I want to write a command line tool in Swift 5 for macOS that adds events to the calendar. How do I give the app permission to access the calendar(s)? All the docs I've found are for GUI apps with access to an info.plist and a string to display to the user. Command line apps don't show an info.plist in Xcode. (How would the app display that alert anyway?)
Asked
Active
Viewed 268 times
4
-
did you ever find a solution to this? – swalkner Aug 09 '21 at 19:29
-
No. Never got an answer. – MACE Aug 10 '21 at 20:55