You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS: Python Launcher app reported in system profiler as "iOS" app rather than "Apple Chips" app #137673
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:
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.
I am unable to reproduce the results shown when using an installation from the python.org macOS installer for Python 3.13.6. What I see is below and that's what I would expect. The results you report are very odd. From where did you obtain the Python 3.13 installed on your system? What is the file system location or path shown in the System Profiler output?
% sudo port dependents python313
glib2 depends on python313
It places a Python 3.13 folder into /Applications/MacPorts
% ls -la /Applications/MacPorts | grep Python
drwxr-xr-x 4 root admin 128 12 Aug 10:42 Python 3.13
with these two Python apps: Python Launcher.app and IDLE.app
% ls -la /Applications/MacPorts/Python\ 3.13
total 0
drwxr-xr-x 4 root admin 128 12 Aug 10:42 .
drwxr-xr-x 4 root admin 128 12 Aug 10:42 ..
drwxr-xr-x 3 root admin 96 12 Aug 10:42 IDLE.app
drwxr-xr-x 3 root admin 96 12 Aug 10:42 Python Launcher.app
Because it initially seemed logical to me to assume that the Info.plist file could be patched via MacPorts, I looked at it and compared it with the upstream version in the Python project's main trunk. Through visual comparison and diffing, I found that they are almost identical, with MacPorts essentially adopting the upstream version of the Info.plist file from the Python project's PythonLauncher app unchanged.
So I came up with the idea of submitting my request directly to the Python project instead of opening a corresponding ticket with MacPorts, so that the relevant Info.plist file could be fixed upstream right away – the relevant MacPorts port would then inherit it and automatically adopt it with the next upstream version update, or so I thought. I hope that was a good idea.
See also separate Issue 137675 #137675 for IDLE.app's Info.plist
as a potentially 'nice to have, but maybe not need to have', if fixed – contrary to the one of PythonLauncher.app, which I think should get fixed preferably upstream – that's, why I've filed the issue here and not at macports.org.
I suspect that most of the difference in here are due to the fact that, AFAIK, MacPorts does not codesign the macOS bundles that they distribute (like IDLE.app and Python Launcher.app) and that can cause some differences in how macOS treats them. I suggest you take this up with them and, if it makes sense to change any upstream code in cpython, I'm sure they will suggest it. Again, as noted in the other issue, the option to launch using Rosetta is a feature that we have no plans to remove.
On thinking about it a bit further, this seems like a harmless enough of a change with some cosmetic benefit. We don't see it with the python.org installer versions because they supply Universal apps (i.e. both Intel and Apple Silicon) so it seems that there is no ambiguity to system_profiler in that case. Likewise, Intel-only apps aren't ambiguous. It's just in the case of ARM (Apple Silicon) only apps that potentially could be either macOS or iOS binaries and, for some reason, system_profiler (or Launch Services) assumes iOS in that case. (I have a MacPorts installation which installs python313 from source with their +universal variant and it doesn't have this problem.)
I suspect that most of the difference in here are due to the fact that, AFAIK, MacPorts does not codesign the macOS bundles that they distribute (like IDLE.app and Python Launcher.app) and that can cause some differences in how macOS treats them.
I disagree.
See also for GIMP.app (codesigned), with the same issue, from today:
Fixed, built a test build, tested, merged into the main trunk, closed within 3 hours.
Also, same issue, also codesigned: Inkscape.app, Signal.app, Zed.app, GitHub Desktop app, Google's Chromium app. All these apps are codesigned. All these apps have the same issue. On all these apps, I've filed the same bug today, the one relating PythonLauncher.app among them. The GIMP developers fortunately have reacted very quickly and have already fixed it nearly instantly:
I suggest you take this up with them and, if it makes sense to change any upstream code in cpython, I'm sure they will suggest it.
I still think it's better to address this issue at the upstream source regarding PythonLauncher than to have MacPorts patch it afterwards. I've decided to try it here first, before I file an issue at MacPorts to have the Info.plist be patched via port file.
Again, as noted in the other issue, the option to launch using Rosetta is a feature that we have no plans to remove.
Having in mind, that Rosetta and Intel architecture will be removed from macOS by Apple in one of the next big OS updates and won't be available in future macOS versions. So I think, it would be wise, any situation, that Rosetta may be called unintentionally for example by a script, packaged sole in an app bundle without a binary, should be avoided in the first place, that has been my thought for issue 137675 #137675 for the IDLE.app's Info.plist. But anyway, if you think, a change is not needed, then it's OK, I've meant it as a proposal.
On thinking about it a bit further, this seems like a harmless enough of a change with some cosmetic benefit. We don't see it with the python.org installer versions because they supply Universal apps (i.e. both Intel and Apple Silicon) so it seems that there is no ambiguity to system_profiler in that case. Likewise, Intel-only apps aren't ambiguous. It's just in the case of ARM (Apple Silicon) only apps that potentially could be either macOS or iOS binaries and, for some reason, system_profiler (or Launch Services) assumes iOS in that case.
Yes. That seems to be the case and the cause for not seeing the issue right away.
See also (firstly hinted to in my given links above in my Additional context section of this issue): microsoft/vscode#121169 (comment)
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.
(I have a MacPorts installation which installs python313 from source with their +universal variant and it doesn't have this >problem.)
And my MacPorts installation is arm64-only, no Universal builds. So, consequently, also no Universal build variant of Python, PythonLauncher.app but arm64. And I prefer to install my MacPorts ports as pre-build arm64 binaries via the -b option of the port command, to keep the dependency and build dependency overhead and footprint as low and lean as possible, which would be much higher, if I let macports build my requested ports inclusive all their dependency and above all their build dependency ports from the sources.
The Info.plist files for the macOS bundles produced for python framework builds, including Python Launcher.app, have been updated to include CFBundleSupportedPlatforms by the PRs for issue #142295 and should be released in 3.15.0b1 (5fcab14) and 3.14.5 (60e145a).
Activity
ned-deily commentedon Aug 12, 2025
I am unable to reproduce the results shown when using an installation from the python.org macOS installer for Python 3.13.6. What I see is below and that's what I would expect. The results you report are very odd. From where did you obtain the Python 3.13 installed on your system? What is the file system location or path shown in the System Profiler output?
sierkb commentedon Aug 12, 2025
It's installed it via MacPorts dependency, the glib2 port needs it:
It places a Python 3.13 folder into /Applications/MacPorts
with these two Python apps: Python Launcher.app and IDLE.app
Because it initially seemed logical to me to assume that the Info.plist file could be patched via MacPorts, I looked at it and compared it with the upstream version in the Python project's main trunk. Through visual comparison and diffing, I found that they are almost identical, with MacPorts essentially adopting the upstream version of the Info.plist file from the Python project's PythonLauncher app unchanged.
So I came up with the idea of submitting my request directly to the Python project instead of opening a corresponding ticket with MacPorts, so that the relevant Info.plist file could be fixed upstream right away – the relevant MacPorts port would then inherit it and automatically adopt it with the next upstream version update, or so I thought. I hope that was a good idea.
PythonLauncher.app Info.plist on Python's GitHub Repository
https://github.com/python/cpython/blob/main/Mac/PythonLauncher/Info.plist.in
IDLE.app Info.plist on Python's GitHub Repository
https://github.com/python/cpython/blob/main/Mac/IDLE/IDLE.app/Contents/Info.plist
See also separate Issue 137675 #137675 for IDLE.app's Info.plist
as a potentially 'nice to have, but maybe not need to have', if fixed – contrary to the one of PythonLauncher.app, which I think should get fixed preferably upstream – that's, why I've filed the issue here and not at macports.org.
ned-deily commentedon Aug 12, 2025
I suspect that most of the difference in here are due to the fact that, AFAIK, MacPorts does not codesign the macOS bundles that they distribute (like
IDLE.appandPython Launcher.app) and that can cause some differences in how macOS treats them. I suggest you take this up with them and, if it makes sense to change any upstream code in cpython, I'm sure they will suggest it. Again, as noted in the other issue, the option to launch using Rosetta is a feature that we have no plans to remove.ned-deily commentedon Aug 12, 2025
On thinking about it a bit further, this seems like a harmless enough of a change with some cosmetic benefit. We don't see it with the python.org installer versions because they supply Universal apps (i.e. both Intel and Apple Silicon) so it seems that there is no ambiguity to system_profiler in that case. Likewise, Intel-only apps aren't ambiguous. It's just in the case of ARM (Apple Silicon) only apps that potentially could be either macOS or iOS binaries and, for some reason, system_profiler (or Launch Services) assumes iOS in that case. (I have a MacPorts installation which installs python313 from source with their +universal variant and it doesn't have this problem.)
Thanks for reporting it.
sierkb commentedon Aug 12, 2025
I disagree.
See also for GIMP.app (codesigned), with the same issue, from today:
https://gitlab.gnome.org/GNOME/gimp/-/issues/14665
Fixed, built a test build, tested, merged into the main trunk, closed within 3 hours.
Also, same issue, also codesigned: Inkscape.app, Signal.app, Zed.app, GitHub Desktop app, Google's Chromium app. All these apps are codesigned. All these apps have the same issue. On all these apps, I've filed the same bug today, the one relating PythonLauncher.app among them. The GIMP developers fortunately have reacted very quickly and have already fixed it nearly instantly:
https://gitlab.gnome.org/GNOME/gimp/-/issues/14665
Also a first reaction from the Signal developers with a first request to me:
signalapp/Signal-Desktop#7449
I still think it's better to address this issue at the upstream source regarding PythonLauncher than to have MacPorts patch it afterwards. I've decided to try it here first, before I file an issue at MacPorts to have the Info.plist be patched via port file.
Having in mind, that Rosetta and Intel architecture will be removed from macOS by Apple in one of the next big OS updates and won't be available in future macOS versions. So I think, it would be wise, any situation, that Rosetta may be called unintentionally for example by a script, packaged sole in an app bundle without a binary, should be avoided in the first place, that has been my thought for issue 137675 #137675 for the IDLE.app's Info.plist. But anyway, if you think, a change is not needed, then it's OK, I've meant it as a proposal.
sierkb commentedon Aug 12, 2025
Yes. That seems to be the case and the cause for not seeing the issue right away.
See also (firstly hinted to in my given links above in my Additional context section of this issue):
microsoft/vscode#121169 (comment)
And my MacPorts installation is arm64-only, no Universal builds. So, consequently, also no Universal build variant of Python, PythonLauncher.app but arm64. And I prefer to install my MacPorts ports as pre-build arm64 binaries via the -b option of the port command, to keep the dependency and build dependency overhead and footprint as low and lean as possible, which would be much higher, if I let macports build my requested ports inclusive all their dependency and above all their build dependency ports from the sources.
ned-deily commentedon May 7, 2026
The
Info.plistfiles for the macOS bundles produced for python framework builds, includingPython Launcher.app, have been updated to includeCFBundleSupportedPlatformsby the PRs for issue #142295 and should be released in 3.15.0b1 (5fcab14) and 3.14.5 (60e145a).