From 25df6b7c073f4ed3e69e6036f192c96d0dde44a7 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 8 Dec 2021 15:16:52 +0100 Subject: [PATCH] macOS: Fix requesting missing permissions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Bluetooth key changed. Keep the old one for compatibility. Keys for requesting access to various folders on disk were added in macOS 10.15. Fixes: QTCREATORBUG-26666 Change-Id: Ieb5686fe129f795319132a36269bc34bc07a13a4 Reviewed-by: Tor Arne Vestbø Reviewed-by: Timur Pocheptsov Reviewed-by: --- src/app/app-Info.plist | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/app/app-Info.plist b/src/app/app-Info.plist index 95863741ac6..eba0ea7a61d 100644 --- a/src/app/app-Info.plist +++ b/src/app/app-Info.plist @@ -256,8 +256,22 @@ ${MACOSX_DEPLOYMENT_TARGET} NSAppleEventsUsageDescription This application wants to run AppleScript. + NSDesktopFolderUsageDescription + This application wants to access the Desktop folder. + NSDocumentsFolderUsageDescription + This application wants to access the Documents folder. + NSDownloadsFolderUsageDescription + This application wants to access the Downloads folder. + NSNetworkVolumesUsageDescription + This application wants to access network volumes. + NSRemovableVolumesUsageDescription + This application wants to access removable volumes. + NSFileProviderDomainUsageDescription + This application wants to access files from a provider. NSBluetoothPeripheralUsageDescription A user application wants to access bluetooth. + NSBluetoothAlwaysUsageDescription + A user application wants to access bluetooth. NSCalendarsUsageDescription A user application wants to access calendars. NSCameraUsageDescription