macOS Entitlements audio-input vs. microphone
问题 For the macOS sandbox there are two entitlement keys: com.apple.security.device.audio-input com.apple.security.device.microphone I tested both and both allow microphone input. What is the difference between them? 回答1: com.apple.security.device.microphone is a sandbox entitlement. If you want to use the microphone in a sandboxed app, you will need to enable it, com.apple.security.device.audio-input is a hardened runtime entitlement. If you want to use the microphone in an app built with the