macOS 27 Golden Gate: Accessibility onboarding stuck despite Accessibility and PostEvent being granted
Description
On macOS 27 (Golden Gate), Espanso 2.4.1 can get permanently stuck on the "Enable Accessibility" onboarding screen even though macOS reports the required TCC permissions as granted.
This appears to affect only some users/machines running macOS 27. Other machines with the same Espanso version and management configuration work normally.
Closing the Accessibility onboarding window quits Espanso, so the normal launcher cannot be used.
Steps to reproduce
Launching Espanso normally shows the onboarding screen:
Enable Accessibility To function properly, Espanso needs Accessibility permissions.
The screen never considers Accessibility enabled.
Closing the window exits Espanso.
TCC state
On the affected machine:
tccutil list -s Accessibility -b com.federicoterzi.espansoreports:
grantedand:
tccutil list -s PostEvent -b com.federicoterzi.espansoalso reports:
grantedComparison with working machine
A working macOS 27 machine has:
Accessibility: granted
PostEvent: grantedand Espanso starts normally without displaying the Accessibility onboarding page.
The affected machine ultimately has the same reported Accessibility/PostEvent state, but Espanso's launcher still considers Accessibility unavailable.
Direct daemon test
Bypassing the launcher and starting the daemon directly:
/Applications/Espanso.app/Contents/MacOS/espanso daemonallows Espanso to start rather than displaying the onboarding screen.
This suggests the failure is specifically related to the Accessibility check in the launcher rather than the wizard completion state itself.
In 2.4.1 the launcher appears to make this decision using:
let is_accessibility_page_enabled = if cfg!(target_os = "macos") {
!accessibility::is_accessibility_enabled()
} else {
false
};which eventually calls:
AXIsProcessTrustedWithOptions(...)It therefore appears that AXIsProcessTrustedWithOptions() may be returning
false on affected macOS 27 systems even though tccutil reports Accessibility
as granted.
macOS 27-specific observation
macOS 27 changed the Privacy & Security UI and now presents this area under "Device Control and Data Access".
The problem has only been reproduced on macOS 27 so far, and only for some users.
This may be related to macOS 27's changes to TCC / Accessibility management, especially on MDM-managed machines, rather than the UI rename itself.
Things already tested
- Reinstalled Espanso
- Reset Accessibility TCC state
- Reset PostEvent TCC state
- Re-granted Accessibility
- Verified
Accessibility = granted - Verified
PostEvent = granted - Verified Espanso bundle ID
- Verified Espanso code signature/designated requirement
- Restarted Espanso after granting permissions
- Compared against another working macOS 27 machine
- Confirmed this is not fixed by marking the normal wizard as completed
Expected behavior
If macOS reports Accessibility permission as granted for
com.federicoterzi.espanso, Espanso should pass the Accessibility preflight and
continue launching.
Screenshots
No response
Logs
No response
Your environment
- Operating system and version (e.g., Ubuntu 20.04.2 LTS): macOS 27.0
- Espanso version (e.g., 2.1.4-beta): 2.4.1
Source: espanso/espanso