Repository navigation
chore(app-icon): per-platform appiconset (closes AppIcon warning §未決) - #114
Merged
Merged
Conversation
…g §未決) 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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Path A from #61 §未決. Splits AppIcon into iOS .appiconset (platform:ios) + macOS .appiconset (10 PNG ladder). Project.swift SDK-conditional ASSETCATALOG_COMPILER_APPICON_NAME. iOS + macOS BUILD SUCCEEDED, warning gone.