From 7f21aa4cc631dff74ac0ac8c6eb000b42b77b95c Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 8 Nov 2021 09:05:27 +0000 Subject: [PATCH] DemoRunner: Enable bluetooth permission on macOS to fix permissions issue on macOS 11+ --- examples/DemoRunner/Builds/MacOSX/Info-App.plist | 2 ++ examples/DemoRunner/DemoRunner.jucer | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/DemoRunner/Builds/MacOSX/Info-App.plist b/examples/DemoRunner/Builds/MacOSX/Info-App.plist index 1319239b38..b74650ce4e 100644 --- a/examples/DemoRunner/Builds/MacOSX/Info-App.plist +++ b/examples/DemoRunner/Builds/MacOSX/Info-App.plist @@ -7,6 +7,8 @@ This app requires audio input. If you do not have an audio interface connected it will use the built-in microphone. NSCameraUsageDescription This app requires access to the camera to function correctly. + NSBluetoothAlwaysUsageDescription + This app requires access to Bluetooth to function correctly. CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIconFile diff --git a/examples/DemoRunner/DemoRunner.jucer b/examples/DemoRunner/DemoRunner.jucer index 75c144367c..a425ae4f62 100644 --- a/examples/DemoRunner/DemoRunner.jucer +++ b/examples/DemoRunner/DemoRunner.jucer @@ -33,7 +33,8 @@ + microphonePermissionNeeded="1" cameraPermissionNeeded="1" applicationCategory="public.app-category.developer-tools" + iosBluetoothPermissionNeeded="1">