tdf#158038 fix opening pdf files in appstore ver (sandbox issue w/ helper tool)
commita2f298adf5b6aae54bd9c20a7fbfd007dd356617
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Thu, 2 Nov 2023 09:30:34 +0000 (2 10:30 +0100)
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Thu, 2 Nov 2023 09:33:37 +0000 (2 10:33 +0100)
tree64046ab3a041911ff874f5f4d5487fdbb4f11058
parentc96680125fc377e6a21e98ce14ce2359d89b02c8
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>
solenv/bin/macosx-codesign-app-bundle
sysui/desktop/macosx/sandbox_inherit.entitlements [new file with mode: 0644]