Skip to content

chore(app-icon): drop platform:ios so macOS shares same AppIcon - #70

Merged
wei18 merged 1 commit into
mainfrom
chore/app-icon-shared-mac
May 21, 2026
Merged

wei18 merged 1 commit into
mainfrom
chore/app-icon-shared-mac

Conversation

@wei18

@wei18 wei18 commented May 21, 2026

Copy link
Copy Markdown
Owner

Single shared Project.swift target ([.iPhone, .iPad, .mac]) already shares Assets.xcassets — removing platform:"ios" from the universal 1024×1024 entries lets macOS 26 pick them up too. Resolves §未決 from #63.

Single Project.swift target with destinations [.iPhone, .iPad, .mac]
shares App/Assets.xcassets. Removing platform:"ios" promotes the
1024×1024 universal entries to serve macOS 26 as well.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@wei18
wei18 merged commit 61d0183 into main May 21, 2026
@wei18
wei18 deleted the chore/app-icon-shared-mac branch May 21, 2026 08:30
wei18 added a commit that referenced this pull request May 21, 2026
…der (#74)

Brand audit S1-C (2026-05-21): both finalist SVGs were full-bleed
rectangles. macOS does not auto-apply squircle masking like iOS, so the
icon would ship as hard squares in Dock/Launchpad/Finder. Wrap each SVG's
visible content in a clipPath with 246pt (24%) corner radius. iOS will
still re-apply its own squircle on top — slightly suboptimal double-
rounding, accepted per the icon-as-shared-asset path (#70).

Re-rasterized both PNGs via qlmanage -t -s 1024. Dimensions verified
1024×1024.

Co-authored-by: Claude Opus 4.7 <[email protected]>
wei18 added a commit that referenced this pull request May 23, 2026
…g §未決) (#114)

Resolves the "AppIcon has 3 unassigned children" warning that XCC was
emitting after PR #70 dropped platform:ios for cross-platform support.
Path A: per-platform image sets.

iOS — App/Assets.xcassets/AppIcon.appiconset/Contents.json
  Restored platform:"ios" on 3 entries (light / dark / tinted). Reverts
  the iOS portion of PR #70 — the cross-platform "universal" shape was
  the source of "unassigned children" because AppKit's macOS asset
  pipeline requires a discrete size ladder (16/32/128/256/512 @1x/@2x).

macOS — NEW App/Assets.xcassets/AppIcon-macOS.appiconset/ (10 PNGs)
  Generated from AppIcon-Light.png via Pillow Lanczos at the 10 standard
  Mac icon sizes. PR #74's 24% rounded clip is baked into the source so
  the downscales preserve the shape.

Project.swift
  + appTargetSettings with ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon"
  + SDK-conditional override [sdk=macosx*] = "AppIcon-macOS"
  Switches the App target to .settings(base: appTargetSettings).

Verification:
- mise exec -- tuist generate ✓
- xcodebuild -destination 'generic/platform=iOS' build: SUCCEEDED, no
  unassigned-children warning
- xcodebuild -destination 'platform=macOS' build: SUCCEEDED, no warning

§未決 (impl-notes)
- 16×16/32×32 Lanczos downscale visual review (may smudge detailed Light
  icon — hand-tuned small variants candidate for future iteration)
- macOS currently uses Light at all sizes; dark/tinted variant not
  surfaced on macOS (acceptable — macOS doesn't tint icons like iOS)

Co-authored-by: Claude Opus 4.7 <[email protected]>
wei18 added a commit that referenced this pull request Sep 11, 2026
#1067)

Brings in the catalog-wide skill audit (PR #69), the phase-2 description
rewrites (#70, #71), and the three-review follow-ups (#72): 136 verified
corrections, iOS 26 / macOS 26 baseline, app-icon-rasterize retired
(27 → 26 Apple skills), Swift 6.2 MainActor default, and a SKILL.md format
gate. Pointer-only, matching the previous bumps.

Co-authored-by: Claude Fable 5.1 <[email protected]>
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