Browse Source

DemoRunner: Enable bluetooth permission on macOS to fix permissions issue on macOS 11+

v6.1.6
ed 3 years ago
parent
commit
7f21aa4cc6
2 changed files with 4 additions and 1 deletions
  1. +2
    -0
      examples/DemoRunner/Builds/MacOSX/Info-App.plist
  2. +2
    -1
      examples/DemoRunner/DemoRunner.jucer

+ 2
- 0
examples/DemoRunner/Builds/MacOSX/Info-App.plist View File

@@ -7,6 +7,8 @@
<string>This app requires audio input. If you do not have an audio interface connected it will use the built-in microphone.</string> <string>This app requires audio input. If you do not have an audio interface connected it will use the built-in microphone.</string>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>This app requires access to the camera to function correctly.</string> <string>This app requires access to the camera to function correctly.</string>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>This app requires access to Bluetooth to function correctly.</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string> <string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>


+ 2
- 1
examples/DemoRunner/DemoRunner.jucer View File

@@ -33,7 +33,8 @@
<EXPORTFORMATS> <EXPORTFORMATS>
<XCODE_MAC targetFolder="Builds/MacOSX" smallIcon="YyqWd2" bigIcon="YyqWd2" <XCODE_MAC targetFolder="Builds/MacOSX" smallIcon="YyqWd2" bigIcon="YyqWd2"
customXcodeResourceFolders="../Assets&#10;../Audio &#10;../DSP &#10;../GUI &#10;../Utilities" customXcodeResourceFolders="../Assets&#10;../Audio &#10;../DSP &#10;../GUI &#10;../Utilities"
microphonePermissionNeeded="1" cameraPermissionNeeded="1" applicationCategory="public.app-category.developer-tools">
microphonePermissionNeeded="1" cameraPermissionNeeded="1" applicationCategory="public.app-category.developer-tools"
iosBluetoothPermissionNeeded="1">
<CONFIGURATIONS> <CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug" recommendedWarnings="LLVM"/> <CONFIGURATION isDebug="1" name="Debug" recommendedWarnings="LLVM"/>
<CONFIGURATION isDebug="0" name="Release" recommendedWarnings="LLVM"/> <CONFIGURATION isDebug="0" name="Release" recommendedWarnings="LLVM"/>


Loading…
Cancel
Save