sysui/desktop/macosx/Info.plist.in |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 562a40f453caa003187ff28c7798647d9e0b4ded
Author:     Patrick Luby <guibmac...@gmail.com>
AuthorDate: Mon Apr 28 19:10:24 2025 -0400
Commit:     Patrick Luby <guibomac...@gmail.com>
CommitDate: Tue Apr 29 15:10:12 2025 +0200

    tdf#144200 Add CFBundleSupportedPlatforms key with MacOSX as its only 
platform
    
    The necessity of including the CFBundleSupportedPlatforms key in an
    application that does not include the Intel architecture is described
    in the following post:
    
    https://github.com/microsoft/vscode/issues/121169#issuecomment-820653677
    
    The above post is quoted below:
    
    "Its just an issue with which attribute the storage info queries to
    decide the kind, the output of system_profiler SPApplicationsDataType -xml
    shows the arch_kind is arch_ios. I think these look for
    CFBundleSupportedPlatforms attribute and if not present default to the ios
    kind for arm64 executables.
    
    Given the universal and intel labels show up correctly, and considering
    the output of other apple silicon apps in the image posted. I don't think
    this needs a fix, but leaving it open for anyone to address as a good
    first issue."
    
    Change-Id: Ic96ce4407e060fbb0cb8c7b0b72dcf8f61dade19
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184738
    Tested-by: Jenkins
    Reviewed-by: Patrick Luby <guibomac...@gmail.com>
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>

diff --git a/sysui/desktop/macosx/Info.plist.in 
b/sysui/desktop/macosx/Info.plist.in
index 91b43b21ec21..480466be67fc 100644
--- a/sysui/desktop/macosx/Info.plist.in
+++ b/sysui/desktop/macosx/Info.plist.in
@@ -1965,6 +1965,10 @@
     <string>@MACOSX_XCODE_BUILD_VERSION@</string>
     <key>DTSDKBuild</key>
     <string>@MACOSX_SDK_BUILD_VERSION@</string>
+    <key>CFBundleSupportedPlatforms</key>
+    <array>
+        <string>MacOSX</string>
+    </array>
 </dict>
 </plist>
 <!-- vim:set shiftwidth=4 softtabstop=4 expandtab: -->

Reply via email to