Skip to content

Update macOS app icon assets - #36

Merged
NayanBhut merged 1 commit into
mainfrom
codex/update-macos-app-icon
Oct 11, 2026
Merged

NayanBhut merged 1 commit into
mainfrom
codex/update-macos-app-icon

Conversation

@NayanBhut

Copy link
Copy Markdown
Owner

📋 PR Description

Replaces the macOS application icon catalog with the final production icon exports for every required App Store size.

What changed?

  • Replaced the existing 16, 32, 128, 256, 512, and 1024-pixel macOS app-icon images.
  • Updated AppIcon.appiconset/Contents.json so every macOS point-size and scale slot references the corresponding new image.
  • Verified all ten source images have the expected square pixel dimensions.
  • Confirmed Xcode's asset compiler generates AppIcon.icns without asset-catalog warnings.

Test Scenarios Covered

  • New feature added
  • Bug fix
  • UI changes
  • Swift build passes
  • Ollama Cloud PR Review passes

Ollama Cloud Review

This PR should run the standard kimi-k3:cloud review. The checkbox above remains open until the GitHub workflow completes.

Checklist

  • Code compiles and builds successfully
  • No breaking changes
  • Self-reviewed my code

🤖 Automated Review Notice

This PR triggers an automated Ollama Cloud review using kimi-k3:cloud.
The review posts as a comment on this PR and is updated in place on every push.

  • Add [skip-review] to your PR title to skip the LLM review
  • Add [smoke-test] to your PR title for a quick connectivity check only

@github-actions

Copy link
Copy Markdown

🤖 Ollama Cloud PR Review (Model: kimi-k3:cloud)

PR Review: macOS App Icon Refresh

Findings

  • [BUG]
  • Severity: [MEDIUM]
  • File: App Store/Assets.xcassets/AppIcon.appiconset/Contents.json (line 46)
  • Description: An accidental Finder-style duplicate file was committed: macOS — App icon — 1024-macOS-512pt-1x-512px 1.png. The trailing " 1" suffix is the tell-tale sign of a Finder copy, and it's byte-identical to ...512pt-1x-512px.png used by the 512x512@1x slot (both share git blob a9bf36c). This bloats the repo and the compiled Assets.car with a redundant 512px image, and signals the icon set was assembled by hand rather than cleanly exported.
  • Suggestion: Delete the " 1" file and point both the 256x256@2x and 512x512@1x entries at the same filename — Contents.json fully supports multiple slots referencing one file:
{ "filename" : "icon_512x512.png", "idiom" : "mac", "scale" : "2x", "size" : "256x256" },
{ "filename" : "icon_512x512.png", "idiom" : "mac", "scale" : "1x", "size" : "512x512" }
  • [IMPROVEMENT]

  • Severity: [MEDIUM]

  • File: App Store/Assets.xcassets/AppIcon.appiconset/Contents.json (lines 10, 16, 46)

  • Description: Several slots reference files whose names describe a different slot: 16x16@2x uses 32pt-1x-32px.png, 32x32@1x uses 16pt-2x-32px.png, and 256x256@2x uses 512pt-1x-512px 1.png. This happens to work because the pixel dimensions coincide (16pt@2x = 32pt@1x = 32px, etc.), but it indicates the export was incomplete (no 256pt-2x-512px file was ever generated) and makes future icon updates error-prone — anyone re-exporting and overwriting files by name will silently swap in wrong assets.

  • Suggestion: Re-export the icon set with a proper naming convention where each filename matches its slot (icon_16x16@2x.png, icon_256x256@2x.png, …), or rename the current files accordingly.

  • [BEST PRACTICE]

  • Severity: [MEDIUM]

  • File: App Store/Assets.xcassets/AppIcon.appiconset/ (all new PNG files)

  • Description: The new filenames contain em dashes (—, U+2014) and multiple spaces: macOS — App icon — 1024-macOS-16pt-1x-16px.png. Non-ASCII, space-laden filenames in version control can break shell scripts, CI pipelines, fastlane, and Windows/git cross-tooling (the diff itself shows the escaping hassle: \342\200\224). They're also painful to reference in terminal or scripts. The previous scheme (icon_512x512@2x.png) was far cleaner.

  • Suggestion: Rename assets to plain ASCII, e.g. icon_16x16.png, icon_16x16@2x.png, etc. Xcode doesn't care about the filename — only the Contents.json mapping matters.

  • [PERFORMANCE]

  • Severity: [LOW]

  • File: App Store/Assets.xcassets/AppIcon.appiconset/

  • Description: Three pairs of the new PNGs are byte-identical: 16pt-2x-32px/32pt-1x-32px (blob 79aa922), 128pt-2x-256px/256pt-1x-256px (blob 92fc9dd), and 512pt-1x-512px/512pt-1x-512px 1 (blob a9bf36c). Each duplicate is compiled into the app bundle separately, needlessly increasing app size. (Note: the old set had the same duplication pattern, so this is a pre-existing habit worth breaking.)

  • Suggestion: Consolidate identical images — one physical file can serve multiple Contents.json entries (see first finding).

Notes

  • ✅ Good: the missing trailing newline at end of Contents.json was fixed.
  • ✅ All 10 macOS icon slots are present and all referenced files exist in the commit — nothing orphaned or missing.
  • ⚠️ Worth verifying manually: open the asset catalog in Xcode and confirm no yellow size-mismatch warnings, since the pixel dimensions of the binary PNGs can't be verified from the diff alone (the filenames suggest they're correct).

Verdict: The icons will render correctly, but the accidental " 1" duplicate and the fragile cross-wired naming should be cleaned up before merging.


Automated review by Ollama Cloud. The diff is untrusted input; findings may be inaccurate. If this review seems wrong, please provide feedback.

@NayanBhut
NayanBhut merged commit 9661076 into main Oct 11, 2026
4 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