Skip to content

Fix macOS app icon rendering - #53

Merged
Lazarus-931 merged 1 commit into
mainfrom
ppc/fix-macos-app-icon
Jul 23, 2026
Merged

Fix macOS app icon rendering#53
Lazarus-931 merged 1 commit into
mainfrom
ppc/fix-macos-app-icon

Conversation

@Blaizzy

@Blaizzy Blaizzy commented Jul 23, 2026

Copy link
Copy Markdown
Owner

What changed

  • add a native Icon Composer app-icon package targeted specifically at macOS
  • regenerate the legacy app-icon assets from an opaque canvas so macOS owns the final mask
  • remove the runtime applicationIconImage override that bypassed the system icon stack
  • register the new icon resource and synchronize the existing Swift source references in the Xcode project

Why

The app was supplying a pre-shaped legacy icon and replacing the bundle icon at runtime. On current macOS versions, that path is treated as compatibility artwork, producing an oversized black square inside a gray plate in the Dock and during launch/quit animations.

The app now lets macOS render the native icon composition and apply its own mask, sizing, and lifecycle effects.

Impact

Nativ now displays a correctly sized black rounded icon without the gray border in the Dock, Applications, and app launch/quit transitions.

Validation

  • xcodebuild -project Nativ.xcodeproj -scheme Nativ -configuration Debug -derivedDataPath build/IconVerify CODE_SIGNING_ALLOWED=NO build
  • launched the resulting Debug app
  • visually verified the live Dock icon after clearing stale Launch Services/icon caches

@Blaizzy
Blaizzy marked this pull request as ready for review July 23, 2026 00:50
@Lazarus-931

Copy link
Copy Markdown
Collaborator

lgtm!

@Lazarus-931
Lazarus-931 merged commit 68f3f8a into main Jul 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants