tdf#158038 fix opening pdf files in appstore ver (sandbox issue w/ helper tool)
commitef26985c45aa1ce9d205fbe5afba6717450b3961
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Thu, 2 Nov 2023 09:30:34 +0000 (2 10:30 +0100)
committerMichael Weghorn <m.weghorn@posteo.de>
Thu, 2 Nov 2023 15:31:30 +0000 (2 16:31 +0100)
tree2f907d5b1ab16480d483efbc6d5315310504ac7b
parent46bbc6ff0f99f664ec4957cd29943b0627cbf2ba
tdf#158038 fix opening pdf files in appstore ver (sandbox issue w/ helper tool)

https://developer.apple.com/documentation/xcode/embedding-a-helper-tool-in-a-sandboxed-app

"Adding other entitlements to the tool can cause problems. If the tool
immediately crashes with a code signing error when your app runs the
tool, check that the tool is signed with just these two entitlements:
com.apple.security.app-sandbox and com.apple.security.inherit."

This is indeed what happened..

Change-Id: Id03948c03b7d453aae4ca58719f582576e30a16f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158790
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
(cherry picked from commit 2c3fe12e0ffc59be7c28d9b9908db881adb0f1ea)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158708
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
solenv/bin/macosx-codesign-app-bundle
sysui/desktop/macosx/sandbox_inherit.entitlements [new file with mode: 0644]