Fix microphone under hardened runtime: add audio-input entitlement

The v1.2.0 Developer ID re-sign enabled the hardened runtime but the
entitlements were missing com.apple.security.device.audio-input. Under
the hardened runtime tccd refuses to even prompt for the microphone and
denies kTCCServiceMicrophone outright, so the app recorded pure silence
and whisper hallucinated text on the empty audio. Adding the resource
-access entitlement restores the mic permission prompt.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
hariel1985
2026-06-26 13:34:05 +02:00
szülő 9cd0d3eaa5
commit 3e96a6e394

Fájl megtekintése

@@ -12,5 +12,12 @@
hardened runtime's same-Team-ID check. --> hardened runtime's same-Team-ID check. -->
<key>com.apple.security.cs.disable-library-validation</key> <key>com.apple.security.cs.disable-library-validation</key>
<true/> <true/>
<!-- Hardened-runtime resource-access entitlement. REQUIRED for microphone
access under the hardened runtime: without it tccd refuses to even
prompt and denies kTCCServiceMicrophone outright, so the app records
silence (and whisper hallucinates on the empty audio). Must be present
on any Developer ID / notarized build. -->
<key>com.apple.security.device.audio-input</key>
<true/>
</dict> </dict>
</plist> </plist>