Info.plist: declare CFBundleSupportedPlatforms = [MacOSX] (fixes #8) - #10
Merged
Conversation
On Apple Silicon, System Profiler classified TextMate.app as an iOS app (arch_ios) instead of Apple Chips (arch_arm) because the bundle lacked the CFBundleSupportedPlatforms key. Declare macOS as the sole supported platform, matching the fix adopted by LibreOffice, VS Code, GIMP, Zed, Servo, and CPython. Fixes #8.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8.
On Apple Silicon,
TextMate.appwas reported by System Profiler (Software ▸ Applications ▸ Kind) as an iOS app (arch_ios) rather than Apple Chips (arch_arm). The cause is a missingCFBundleSupportedPlatformskey in the bundle'sInfo.plist; without it, LaunchServices / System Profiler can misclassify a native arm64 macOS app as iOS.Fix
Declare macOS as the only supported platform:
This is the same one-key metadata fix adopted for the identical symptom by LibreOffice, VS Code, GIMP, Zed, Servo, and CPython (references in #8). Apple's own apps ship this key. The change is additive static metadata and does not affect code signing or notarization.
Test plan
system_profiler SPApplicationsDataType -xml | grep TextMate -A 9 -B 2→ showsarch_arm/ "Apple Chips".Thanks to @sierkb for the detailed report and the proposed fix.