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
App bundle executable filename whitespace is lost during plist decoding #765
An ordinary macOS app bundle can declare a CFBundleExecutable with meaningful leading or trailing whitespace. Both XML and binary Info.plist forms preserve that value, as native plutil confirms.
Actual Clang-generated Mach-O programs named App exist under Contents/MacOS, but the public inspect-macho command currently reports app program file missing for both forms. Ordinary App controls succeed. BinaryTargetResolver trims the declared string in both decoding paths.
Preserve the XML string and use native plutil -n to suppress its producer newline while retaining the executable value. Existing name and containment checks should remain intact. This is file resolution; no target execution or deep provider claim.
Fixed on main (#815), after 4.1.0. The XML path uses the decoded CFBundleExecutable string unchanged. The binary path uses plutil -extract CFBundleExecutable raw -n, so plutil's newline is suppressed and the value is never trimmed. The existing name-safety and containment checks are unchanged.
Checked on current main: inspect-macho on an .app whose CFBundleExecutable is App resolves Contents/MacOS/ App (subject name App) for both xml1 and binary1 Info.plist forms. The App controls still resolve.
Activity
kaoru0822-kitauji commentedon Oct 7, 2026
Fixed on
main(#815), after 4.1.0. The XML path uses the decodedCFBundleExecutablestring unchanged. The binary path usesplutil -extract CFBundleExecutable raw -n, so plutil's newline is suppressed and the value is never trimmed. The existing name-safety and containment checks are unchanged.Checked on current
main:inspect-machoon an.appwhoseCFBundleExecutableisAppresolvesContents/MacOS/ App(subject nameApp) for bothxml1andbinary1Info.plist forms. TheAppcontrols still resolve.This ships in the next release (release PR #771).