-
-
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
Crash and service failed to start on Sonoma 14.1 #1954
Comments
same issue. Second point is a dup #1936 |
First problem sounds like codesign issue. You can try two things to fix it:
|
I tried this but it doesn't work, even if I used
Yes this works like a magic! I wonder if the macports version might not sign the binary correctly? My skhd is also using macports version, but it doesn't have any issue with accessibility permision... |
That is probably the case, but I haven't had time to look further into it. FWIW, you can check the signature with |
Thanks for the pointer. Yeah inspection on
and
|
For future references: it turns out that the pre-built binary provided by macports have different codesign situation:
|
Can you @ me in any github issues/PRs you might find on this? I've done some MacPorts work before, and looking into yabai codesigning is on my backlog. |
The only ticket I found is https://trac.macports.org/ticket/51504, which is still pending, so it seems that there is currently no support for codesign, which is a bit confusing because some of their pre-built binaries are signed |
Thanks @JensenJiang. I know MacPorts doesn't want to add generic codesign support, because it would partly defeat the purpose of codesigning and undermine its intended use. It can still produce signed binaries, if eg. upstream build includes signing or maintainer of a given port has explicitly added signing. Apple has been slowly tightening the noose on it, and it's getting to a point where MacPorts need to thoroughly revisit this topic. |
The binaries I release (for yabai) are codesigned, and it is what is installed by default when using homebrew, unless the user explicitly opts to install directly by building from the master branch ( |
MacPorts is a source-based package manager and tightly coupled with building from source. Prebuilt binaries are available (and preferred by default), but never without corresponding Portfile for reproducing the build. |
Well the build can be reproduced easily, so that shouldn't be an issue? Every yabai release is tagged alongside its source commit. e.g: prebuilt: source: |
If I'm reading the Makefile correctly, This is a problem for MacPorts to solve, how to handle software which require signing to run on newer macOS versions. But distributing a binary it can't build is a non-starter for any source-based package manager, even if the difference is merely the signature. |
Hi all, I am observing 2 issues on Sonoma 14.1:
yabai --start-service
to start the service, it keeps requesting Accessibility permission, although the permission is already granted.yabai_jensen.err.log
showsyabai: could not access accessibility features! abort..
yabai -m window --focus east
. When I run yabai in terminal and sendyabai -m window --focus east
, it segfault:My config is mostly same as the example, with some app specific rules. Please lemme know if any other information is needed for triage.
The text was updated successfully, but these errors were encountered: