Revert pinfo.list description and fix entitlements.

This commit is contained in:
Julien Wadel 2023-10-31 13:44:25 +01:00
parent 9344207d0c
commit 92ca29b3cd
3 changed files with 2 additions and 6 deletions

View file

@ -200,7 +200,7 @@ if (WIN32)
# endforeach ()
elseif (APPLE)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/macos/Info.plist.in" "${CMAKE_CURRENT_BINARY_DIR}/../../Info.plist" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/macos/entitlements.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/../../entitlements.xml" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/macos/entitlements.xml.in" "${CMAKE_BINARY_DIR}/entitlements.xml" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/macos/linphone.icns" "${CMAKE_CURRENT_BINARY_DIR}/../../${EXECUTABLE_NAME}.icns" COPYONLY)
set(APP_QT_CONF_PATH "[Paths]\nPlugins = PlugIns\nImports = Resources/qml\nQml2Imports = Resources/qml")

View file

@ -49,6 +49,6 @@ if(APPLE)
#CPack doesn't sign all files.
if (DO_SIGNING)
execute_process(COMMAND bash "@CMAKE_SOURCE_DIR@/linphone-app/tools/sign_package.sh" codesign "@LINPHONE_BUILDER_SIGNING_IDENTITY@" "${CPACK_TEMPORARY_INSTALL_DIRECTORY}/ALL_IN_ONE")
#execute_process(COMMAND codesign --entitlements" "@CMAKE_CURRENT_BINARY_DIR@/../../entitlements.xml" "--force" "--deep" "--timestamp" "--options" "runtime,library" "--verbose" "-s" "@LINPHONE_BUILDER_SIGNING_IDENTITY@" "@APPLICATION_OUTPUT_DIR@/@APPLICATION_NAME@.app")
execute_process(COMMAND codesign "--entitlements" "@CMAKE_BINARY_DIR@/entitlements.xml" "--force" "--deep" "--timestamp" "--options" "runtime,library" "--verbose" "-s" "@LINPHONE_BUILDER_SIGNING_IDENTITY@" "${CPACK_TEMPORARY_INSTALL_DIRECTORY}/ALL_IN_ONE/@APPLICATION_NAME@.app")
endif()
endif()

View file

@ -76,16 +76,12 @@
<key>kTCCServiceMediaLibrary</key>
<string>Used media library as attachement or for the ringer</string>
<key>com.apple.security.device.camera</key>
<string>Used for video call</string>
<true/>
<key>com.apple.security.device.microphone</key>
<string>Used for call and voice messages</string>
<true/>
<key>com.apple.security.device.audio-input</key>
<string>Used for call and voice messages</string>
<true/>
<key>com.apple.security.personal-information.photos-library</key>
<string>Used to display pictures and avatar</string>
<true/>
</dict>
</plist>