Gitk doesn't work on macOS Mojave
- From
- Evgeny Cherpak <cherpake@me.com>
- Date
- Jul 19, 2018, 18:05 UTC
- Message-ID
- <D295145E-7596-4409-9681-D8ADBB9EBB0C@me.com>
Hi
You have probably heard this by now already, but gitk doesn’t work on macOS 10.14 - because it uses Apple Events, And apps on 10.14 require user to give them permissions to control other apps with Apple Events.
Here is what I get when I try running it on my machine with beta 4 installed:
Error in startup script: 58:102: execution error: Not authorized to send Apple events to System Events. (-1743)
while executing
"exec osascript -e [format {
tell application "System Events"
set frontmost of processes whose unix id is %d to true
end te..."
invoked from within
"if {[tk windowingsystem] eq "aqua"} {
exec osascript -e [format {
tell application "System Events"
set frontmost of processes ..."
(file "/usr/local/bin/gitk" line 12212)And Apple doesn’t allow to add apps to “Automation” :(
Best regards. And thanks for git :)