Skip to content

fix: App icon not displaying in Finder and DMG - #41

Merged
jatinkrmalik merged 1 commit into
mainfrom
fix/app-icon-display
Mar 6, 2026
Merged

fix: App icon not displaying in Finder and DMG#41
jatinkrmalik merged 1 commit into
mainfrom
fix/app-icon-display

Conversation

@jatinkrmalik

Copy link
Copy Markdown
Member

Problem

VocaMac shows a generic white icon in Finder, Applications folder, and when mounted from DMG — despite the .icns file being present and correctly referenced in Info.plist.

Root Cause

Two issues:

  1. Missing CFBundleIconName key — Modern macOS (13+) requires both CFBundleIconFile and CFBundleIconName in Info.plist for the icon to render. We only had CFBundleIconFile.

  2. Incorrect DPI on @2x icons — The @2x icon variants had 72 DPI instead of the expected 144 DPI, which can confuse macOS's icon rendering.

Fix

  • Added CFBundleIconName key to the Info.plist generated by build.sh
  • Regenerated AppIcon.icns with correct DPI values (72 for 1x, 144 for @2x)

Tested

  • ✅ Icon displays correctly in local .app bundle
  • ✅ Icon displays correctly in DMG
  • ✅ Icon displays correctly in Applications folder after install from DMG

- Add CFBundleIconName to Info.plist alongside CFBundleIconFile — modern
  macOS requires both keys for the icon to render in Finder
- Fix @2x icon DPI from 72 to 144 for proper Retina display support
@jatinkrmalik
jatinkrmalik merged commit 9ef7607 into main Mar 6, 2026
1 check passed
@jatinkrmalik
jatinkrmalik deleted the fix/app-icon-display branch August 22, 2026 05:32
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.

1 participant