diff --git a/cmake/DeployMacros.cmake b/cmake/DeployMacros.cmake
index 7d16b7e3..d157a6a0 100644
--- a/cmake/DeployMacros.cmake
+++ b/cmake/DeployMacros.cmake
@@ -421,6 +421,45 @@ macro(__make_copy _cmd _dirs _files _dest)
endforeach()
endif()
endmacro()
+set(__macos_privacy_text "Application request permission")
+set(__macos_privacies
+ "NFCReaderUsageDescription
+ ${__macos_privacy_text}
+ NSAppleMusicUsageDescription
+ ${__macos_privacy_text}
+ NSBluetoothPeripheralUsageDescription
+ ${__macos_privacy_text}
+ NSCalendarsUsageDescription
+ ${__macos_privacy_text}
+ NSCameraUsageDescription
+ ${__macos_privacy_text}
+ NSContactsUsageDescription
+ ${__macos_privacy_text}
+ NSFaceIDUsageDescription
+ ${__macos_privacy_text}
+ NSHealthShareUsageDescription
+ ${__macos_privacy_text}
+ NSHealthUpdateUsageDescription
+ ${__macos_privacy_text}
+ NSHomeKitUsageDescription
+ ${__macos_privacy_text}
+ NSLocationAlwaysUsageDescription
+ ${__macos_privacy_text}
+ NSLocationWhenInUseUsageDescription
+ ${__macos_privacy_text}
+ NSMicrophoneUsageDescription
+ ${__macos_privacy_text}
+ NSMotionUsageDescription
+ ${__macos_privacy_text}
+ NSPhotoLibraryAddUsageDescription
+ ${__macos_privacy_text}
+ NSPhotoLibraryUsageDescription
+ ${__macos_privacy_text}
+ NSRemindersUsageDescription
+ ${__macos_privacy_text}
+ NSVideoSubscriberAccountUsageDescription
+ ${__macos_privacy_text}"
+ )
#defaultConfig {
# resConfigs "ru"
#}
@@ -629,6 +668,7 @@ macro(deploy_target _T)
set(MACOSX_BUNDLE_INFO_STRING "${${_T}_INFO}")
set(MACOSX_BUNDLE_BUNDLE_VERSION "6.0")
set(MACOSX_BUNDLE_SIGNATURE "????")
+ set(MACOSX_BUNDLE_PRIVACIES "${__macos_privacies}")
set_target_properties(${_T} PROPERTIES MACOSX_BUNDLE TRUE)
set_target_properties(${_T} PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${_modules_dir}/PIMacOSBundle.plist.in")
set(_AGD "${_DEPLOY_DIR}/${_T}.app")
diff --git a/cmake/PIMacOSBundle.plist.in b/cmake/PIMacOSBundle.plist.in
index f25d84c3..fddbcba2 100644
--- a/cmake/PIMacOSBundle.plist.in
+++ b/cmake/PIMacOSBundle.plist.in
@@ -38,5 +38,6 @@
NSSupportsSuddenTermination
+ ${MACOSX_BUNDLE_PRIVACIES}