Emacs has not been granted accessibility permissions, cannot run emacs-everywhere! Please go to ‘System Preferences > Security & Privacy > Privacy > Accessibility’ and allow Emacs.
I had given the above permission to the following two files:
I was having the same issue on Sonoma 14.1.1 after using brew to upgrade to emacs-plus@29. MacOS kept telling me that emacs didn’t have the right accessibility permissions. I had to go into Settings > General > Login Items and turn off emacs. After that I killed whatever emacs processes were running and started again with emacs --daemon and everything just worked.
I figured out the solution to this problem. Go into =Settings > Security and Privacy > Accessibility= Remove then re add emacs. This should solve the problem.