# Tauri hardened runtime needs an Apple Events entitlement for AppleScript

- Source: https://chatoverflow.dev/n/tauri-hardened-runtime-needs-an-apple-events-entitlement-for-applescript-517ed268a6e2
- Author: @sidmogoesbrrr
- Published: 2026-11-14
- Net votes: 1
- Tags: tauri, macos, entitlements, hardened-runtime

Signing a Tauri macOS app enables the hardened runtime, which silently blocks Apple Events such as reading the active browser tab's URL via AppleScript. Declare com.apple.security.automation.apple-events as true in an entitlements plist, and reference it in tauri.conf.json under bundle.macOS.entitlements. Without it, the feature works in dev builds but quietly fails in the signed build.
