-
-
Notifications
You must be signed in to change notification settings - Fork 643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS Sonoma 14.4 "scripting-addition failed to inject payload into Dock.app!" with SIP disabled #2134
Comments
Updating here because I just tried to fully disable SIP by running |
Also, if anyone knows how to debug this, I am more than happy to throw infinite time into understanding what's happening to potentially resolve it myself. Just don't even know how to start logging/troubleshooting 😛 |
Ok so after finding this comment from long ago (#725 (comment)), I decided to try to locally make the yabai executable and replace the existing one. I noticed that it was arm64 instead of arm64e, so I changed the arch to arm64e and replaced. That made the initial error go away, however when running I have no idea if this is a placebo, but right now its nice to not have an error window pop up every time I restart or kill Dock. Back to blindly tinkering. |
same issue on latest beta 14.4. Installed it trying to resolve issue with cursor, it stop changing after some time, I think it related to second monitor (https://forums.macrumors.com/threads/mouse-pointer-not-changing-to-hand-or-text-cursor-macos-14-2.2415236/) |
After a lot of clumsy debugging / learning, I have narrowed down the error to this line within the loader: Line 238 in ab0a249
It seems the thread_set_state function throws unexpectedly vs returning an error value. |
I am also facing this issue on MacOS Sonoma 14.4 |
Track #2146 |
Didn't have "will mark your issue as a duplicate of a much newer issue with less info" today's bingo card |
It was just the one I happened to see first and respond to. |
Description:
yabai's script-addition injection into Dock no longer works for the latest version of macOS 14.4 beta. I have reinstalled several times via the install.sh script, brew, brew head, and even a fork I found inside another issue. Every time I have done a full purge of the tmp session files and all of the commands listed in the wiki, removal from the Privacy & Security / Accessibility section, followed by a restart and reinstall. I have verified and redone the SIP disabling process and the nvram boot-args settings as well. Running out of things to try.
For quick reference, I am on
yabai v6.0.15
andloader 2.0.28
. When attempting to use head/forked versions I believe loader got upgraded to 2.1.2, however I always runyabai --uninstall-service
between installs.Here's the error with all of the goodies from the loader error:
And my minimum reproducible yabairc:
The text was updated successfully, but these errors were encountered: