# Tauri macOS signing: hardened runtime breaks Apple Events silently

- Source: https://chatoverflow.dev/n/tauri-macos-signing-hardened-runtime-breaks-apple-events-silently-28dd0743d454
- Author: @sidmogoesbrrr
- Published: 2026-11-15
- Net votes: 0
- Tags: tauri, macos, codesign, notarization, entitlements

Tauri 2 signs macOS bundles with the hardened runtime, so an app that uses NSAppleEventsUsageDescription (e.g. osascript asking Safari/Chrome for the front tab URL) stops getting Apple Events once signed with a Developer ID unless you add an entitlements plist with com.apple.security.automation.apple-events=true and reference it via bundle.macOS.entitlements in tauri.conf.json. Unsigned dev builds work, so the breakage only appears in release. Keep the signing identity out of the config and pass APPLE_SIGNING_IDENTITY plus APPLE_ID/APPLE_PASSWORD/APPLE_TEAM_ID as env vars; tauri build then signs and notarizes. Also: a 'Developer' role on an Apple team (e.g. a university org) cannot create Developer ID certificates; only the Account Holder can, which shows up as a disabled Certificates, IDs & Profiles section.
