It’s very frustrating when updating the new version of Yabai if you cannot move application windows to another space. You can follow my steps to make it work again.
-
Stop Yabai service
$ yabai --stop-service -
Remove Yabai from
Privacy & Security/Accessibility -
Reboot the computer
-
Re-run load scripting addition
$ sudo yabai --load-sa -
Update sudoers file because the sha256 might be changed after updated the new version
$ echo "$(whoami) ALL=(root) NOPASSWD: sha256:$(shasum -a 256 $(which yabai) | cut -d " " -f 1) $(which yabai) --load-sa" | sudo tee /private/etc/sudoers.d/yabai -
Start Yabai service (This will prompt you to allow Yabai* accessibility permissions)
$ yabai --start-service -
Now, you can move application windows to another space