Reply to CGEventTapCreateForPid fails to get event tap My test app wasn’t sandboxed. This part is important! Event taps targeting pids does not work in the sandbox. UI Frameworks AppKit Jun ’24