-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Description
Bug report
Bug description:
Description
macOS Python Launcher 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:
- Open System Profiler app ('/System/Applications/Utilities/System Information.app')
- Go to Section "Software" -> "Applications"
- Select row of Python Launcher app in column "Application Name" and have a look look at column "Kind"
Alternatively, via Terminal:
% system_profiler SPApplicationsDataType -xml | grep 'Python Launcher' -A 8 -B 2
or resp.
% system_profiler SPApplicationsDataType -xml | grep 'Python Launcher' -A 8 -B 2 | head -n 5 | grep -A 1 arch_kind
Expected Behavior:
Python Launcher app is shown as "Apple Chips" resp. "arch_arm"
Actual Behavior:
Python Launcher 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>
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:
Python Launcher app (arm64):
3.13.6
System:
% uname -m
arm64
% machine
arm64e
% /usr/bin/sw_vers
ProductName: macOS
ProductVersion: 15.6
BuildVersion: 24G84
CPython versions tested on:
3.13
Operating systems tested on:
macOS