From 09db21fa6ce9dfccf7926b8380def89add4e3ed7 Mon Sep 17 00:00:00 2001 From: Seth Bashford Date: Tue, 11 Oct 2022 10:34:08 -0500 Subject: [PATCH] Here goes nothing --- av-speech-in-noise.entitlements | 8 ++++++++ macos/CMakeLists.txt | 1 + 2 files changed, 9 insertions(+) create mode 100644 av-speech-in-noise.entitlements diff --git a/av-speech-in-noise.entitlements b/av-speech-in-noise.entitlements new file mode 100644 index 00000000..d459cb2c --- /dev/null +++ b/av-speech-in-noise.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.device.audio-input + + + diff --git a/macos/CMakeLists.txt b/macos/CMakeLists.txt index ec6e864a..a02d33bc 100644 --- a/macos/CMakeLists.txt +++ b/macos/CMakeLists.txt @@ -37,6 +37,7 @@ function(add_macos_bundle target identifier output_name) "${AV_SPEECH_IN_NOISE_MACOS_CODE_SIGN_IDENTITY}" XCODE_ATTRIBUTE_OTHER_CODE_SIGN_FLAGS "${AV_SPEECH_IN_NOISE_MACOS_OTHER_CODE_SIGN_FLAGS}" + XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS ${CMAKE_SOURCE_DIR}/av-speech-in-noise.entitlements XCODE_ATTRIBUTE_CODE_SIGN_INJECT_BASE_ENTITLEMENTS NO XCODE_ATTRIBUTE_SWIFT_OBJC_BRIDGING_HEADER ${CMAKE_CURRENT_SOURCE_DIR}/objective-c-bridge.h)