Trying to open a PDF file in LibreOffice obtained from the macOS appstore results in a General input/output error, no matter what method is used (File|Open or Insert Text from File, dragging from finder) Cause: pdf import is realized using a helper utility (xpdfimport, from poppler) that resides alongside the soffice executable in the Contents/MacOS folder Those additional utilities/helpers were signed with the same entitlements like the main program, and that's an error. Helper utilities must be signed with only the sandbox and inherit entitlements in order to run in the same sandbox context. 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."
Christian Lohmaier committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a2f298adf5b6aae54bd9c20a7fbfd007dd356617 tdf#158038 fix opening pdf files in appstore ver (sandbox issue w/ helper tool) It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Christian Lohmaier committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/ef26985c45aa1ce9d205fbe5afba6717450b3961 tdf#158038 fix opening pdf files in appstore ver (sandbox issue w/ helper tool) It will be available in 7.6.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Christian Lohmaier committed a patch related to this issue. It has been pushed to "libreoffice-7-5": https://git.libreoffice.org/core/commit/99ce6ffc2a9a672bc3df32419e5e6d7b09e5ea08 tdf#158038 fix opening pdf files in appstore ver (sandbox issue w/ helper tool) It will be available in 7.5.9. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.