Amethyst
Amethyst copied to clipboard
Building and running locally always requests permission
Describe the bug When building and running the Amethyst project locally, I can't get the app to accept that I've granted it permission.
Applications: Amethyst, Xcode, Mac OS System Settings
To Reproduce Steps to reproduce the behavior:
- Build and run locally, either using "fastlane" from the project's root directory on the command-line, or using the Amethyst build in Xcode.
- Tap any of the keyboard shortcuts.
Expected behavior The system should ask for permission once and accept my input. Instead, the system asks for permission and never seems to accept that it's been granted.
Screenshots
I keep seeing this dialog:
The permission is already granted:
I'm also seeing the console spew a bunch of "processNotFound" errors each time I tap a keyboard shortcut and the permission isn't recognized.
Versions:
- macOS: 14.5
- Amethyst:
Debug Info
$ /Applications/Amethyst.app/Contents/MacOS/Amethyst --debug-info [--include-apps]
Note: --include-apps will list your manageable applications, but is optional if you don't want to list that.
Version: 0.21.2 (112)
OS version: Version 14.5 (Build 23F79)
Screens:
(0.0, 0.0, 5120.0, 1440.0) [(0.0, 0.0, 5120.0, 1440.0)]
Configuration:
follow-space-thrown-windows: 1
mod1: (
option,
shift
)
screen-padding-top: 0
float-small-windows: 1
screen-padding-right: 0
ignore-menu-bar: 0
mouse-follows-focus: 0
window-margins: 0
window-margin-size: 0
floating-is-blacklist: 1
new-windows-to-main: 0
enables-layout-hud-on-space-change: 1
window-minimum-width: 0
window-minimum-height: 0
layouts: (
"middle-wide",
"centered-resizable-pane-with-cols",
"4column-left",
"uniform-columns",
fullscreen
)
use-canary-build: 0
window-resize-step: 5
floating: (
)
screen-padding-left: 0
focus-follows-mouse: 0
window-max-count: 0
mod2: (
option,
shift,
control
)
enables-layout-hud: 1
screen-padding-bottom: 0
debug-layout-info: 1
restore-layouts-on-launch: 1
Manageable applications:
iTerm2 (com.googlecode.iterm2)
Spotify (com.spotify.client)
Finder (com.apple.finder)
Notion (notion.id)
Google Chrome (com.google.Chrome)
Arc (company.thebrowser.Browser)
Cursor (com.todesktop.230313mzl4w4u92)
Reminders (com.apple.reminders)
Console (com.apple.Console)
Xcode (com.apple.dt.Xcode)
@adambossy: I had this happen too! I bought a developer license and then signed the code with a real certificate and it worked.
I'm not sure if Apple has a special case for dev certs or maybe xcode generates a new one each run? I don't know a ton about mac signing.
Pretty sure it has to do with signing, yeah. If you don't have a development team, then it's not tied to anything persistent.
Hmm I ran into this issue out of nowhere as well. Amethyst was working fine yesterday, but today it kept asking for permissions even with the permission already granted. I installed mine via homebrew.
FWIW: I was jus trying to build/run Amethyst locally and got the same issue. I renamed the project to "Amethyst-Palmer", which seems to have kicked the OSX accessibility dialog in the right way to show an additional instance. I can turn that instance on and my local Amethyst appears to be working.
Hmm I ran into this issue out of nowhere as well. Amethyst was working fine yesterday, but today it kept asking for permissions even with the permission already granted. I installed mine via homebrew.
I think this is an install problem, and this thread is discussing building from source.
I'm not sure there's much I can do here. It might be possible to have some editable build configuration or something, but I don't think I have the bandwidth for that.