Remove entitlements (no longer needed for Qt 5.15)

This commit is contained in:
Jason Rhinelander 2020-11-17 21:08:38 -04:00
parent c2858fe08d
commit 4f322dfcc5
2 changed files with 1 additions and 12 deletions

View File

@ -119,8 +119,7 @@ if(APPLE)
COMMAND echo "Running qt magic macos deploy script"
COMMAND "${qt_dir}/macdeployqt" LokinetGUI.app -always-overwrite -qmldir=${PROJECT_SOURCE_DIR}/res
COMMAND echo "Signing LokinetGUI.app and everything inside it"
COMMAND codesign -s "${MACOS_SIGN}" --deep --strict --options runtime
--entitlements ${PROJECT_SOURCE_DIR}/tools/lokinet-gui-entitlements.plist --force -vvv LokinetGUI.app
COMMAND codesign -s "${MACOS_SIGN}" --deep --strict --options runtime --force -vvv LokinetGUI.app
)
else()
add_custom_command(TARGET lokinet-gui

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- apparently needed by some parts of Qt as of 5.14.2; Qt 5.15 is rumoured to improve things
w.r.t. notarization and signing so possibly revisit this. -->
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
</dict>
</plist>