Skip to content

TextMate app reported in system profiler as "iOS" app rather than "Apple Chips" app #7

@sierkb

Description

@sierkb

Summary

TextMate 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

TextMate 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 TextMate app in column "Application Name" and have a look look at column "Kind"

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

Expected Behavior:
TextMate app is shown as "Apple Chips" resp. "arch_arm"
Actual Behavior:
TextMate 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)

GIMP issue #14665: macOS GIMP app reported in system profiler as "iOS" app rather than "Apple Chips" app
https://gitlab.gnome.org/GNOME/gimp/-/issues/14665

Python Launcher issue #137673: macOS: Python Launcher app reported in system profiler as "iOS" app rather than "Apple Chips" app
python/cpython#137673

Servo issue #40025: macOS: Servo.app (aarch64) reported in system profiler as "iOS" app rather than "Apple Chips" app on Apple Silicon
servo/servo#40025

Zed issue #36037: macOS: Zed app reported in system profiler as "iOS" app rather than "Apple Chips" app
zed-industries/zed#36037

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.

TextMate Version and System Specs

TextMate: -dev, v2.15.8
OS: macOS 26.5 (25F71)
Architecture: aarch64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions