Skip to content

macOS GitHub Desktop app reported in system profiler as "iOS" app rather than "Apple Chips" app #20881

@sierkb

Description

@sierkb

The problem

macOS GitHub Desktop app reported in system profiler as "iOS" app (resp. "arch_ios") rather than "Apple Chips" (resp. "arch_arm") app on an Apple Silicon System.

Description

macOS GitHub Desktop app reported in system profiler as "iOS" app (resp. "arch_ios") rather than "Apple Chips" (resp. "arch_arm") app on an Apple Silicon System.

Steps to reproduce:

  1. Open System Profiler app ('/System/Applications/Utilities/System Information.app')
  2. Go to Section "Software" -> "Applications"
  3. Select row of GitHub Desktop app in column "Application Name" and have a look look at column "Kind"

Alternatively, via Terminal:
% system_profiler SPApplicationsDataType -xml | grep 'GitHub Desktop' -A 9 -B 2
or resp.
% system_profiler SPApplicationsDataType -xml | grep 'GitHub Dektop' -A 6 -B 2 | head -n 5 | grep -A 1 arch_kind

Expected Behavior:
GitHub Desktop app is shown as "Apple Chips" resp. "arch_arm"
Actual Behavior:
GitHub Desktop app is shown as "iOS" resp. "arch_ios"

Proposed simple fix/solution:

Add a CFBundleSupportedPlatforms key with MacOSX as its only platform to the app's Info.plist file:

<key>CFBundleSupportedPlatforms</key>
<array>
    <string>MacOSX</string>
</array>

Release version

GitHub Desktop Version 3.5.2 (arm64)

Operating system

macOS 15.6 (24G84)

Log files

No response

Screenshots

No response

Additional context

See also discussions/fixes around this issue on:

LibreOffice Bug 144200: LibreOffice 7.2 for ARM on Apple Silicon claims its an iOS application
https://bugs.documentfoundation.org/show_bug.cgi?id=144200
LibreOffice Commit: Add CFBundleSupportedPlatforms key with MacOSX as its only platform
https://git.libreoffice.org/core/+/562a40f453caa003187ff28c7798647d9e0b4ded%5E%21

Microsoft issue #157551: VS Code Apple Silicon build is identified as an iOS app in macOS system info
microsoft/vscode#157551

Microsoft issue #121169, issuecomment 820653677: M1 VSCode binary can be run on iOS?
microsoft/vscode#121169 (comment)

BTW: Apple's own macOS apps and most third party apps contain that key in their Info.plist, so, it can't be wrong or invalid and is there for a reason, although not or poorly documented by Apple.

Software:

GitHub Desktop Version 3.5.2 (arm64)

System:
% uname -m
arm64

% machine
arm64e

% /usr/bin/sw_vers
ProductName: macOS
ProductVersion: 15.6
BuildVersion: 24G84

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions