Repository navigation
chore: zero out xcodebuild warnings (public import + redundant await) - #4
Merged
Merged
Conversation
xcodebuild was warning on 10 'public import X was not used in public
declarations or inlinable code' under InternalImportsByDefault, plus
1 'no async operations occur within await expression'. swift build
didn't surface these (silent on the warning) so they hid in plain sight.
Changes (10 files):
- GameCenterClient/Leaderboard/Slice.swift public import Foundation -> internal
- GameCenterClient/Live/AuthDriver.swift public import Foundation -> internal
- GameCenterClient/Live/LiveGameCenterClient.swift public import Foundation -> internal
drop redundant await on same-actor call
- GameState/GameSessionError.swift public import SudokuEngine -> internal
- GameState/NotesGrid.swift public import SudokuEngine -> internal
- SudokuKitTesting/Persistence/FakeAccountProvider public import Foundation -> internal
- SudokuKitTesting/Persistence/PuzzleFixtures public import GameState -> internal
- SudokuUI/Practice/PracticeHubView.swift public import SudokuEngine -> internal
- SudokuUI/Theme/DefaultTheme.swift public import SwiftUI -> internal
- Telemetry/OSLogSink.swift public import os -> internal
Verified:
- swift build clean
- swift test: 319/319 pass (full suite, 0 regression)
- xcodebuild: ** BUILD SUCCEEDED ** with 0 compiler warnings
(only remaining stderr line is appintentsmetadataprocessor noting
AppIntents.framework is not linked — not addressable in source)
Side note: PracticeHubViewTests.overThresholdDrawShowsShimmer is
timing-flaky; passed on second run with no source change. Out of
scope here — deferred to follow-up with a manual clock instead of
wall-time threshold.
wei18
added a commit
that referenced
this pull request
May 20, 2026
…42) Option (a) chosen: commit-once-and-accept. Per impl-notes, the file is already 2,686 lines (expanded JSON, Xcode-reformatted on prior build, not yet committed). Committing as-is makes future Xcode reformats idempotent → no more git diff noise after macOS builds. §未決 (Leader to verify post-merge): one clean Xcode macOS build + `git status` should show NO modification to this file. If it does, escalate to Option (b) (lefthook normalizer). Hit us twice before — PR #4 (zh-en flow cleanup) and PR #14 (ASCRegister error context) both accidentally swept the reformatted file into their commits. impl-notes: meetings/2026-05-20_xcstrings-reformat-decision.impl-notes.md
This was referenced May 21, 2026
wei18
added a commit
that referenced
this pull request
May 22, 2026
…v var (#91) (#93) Fixes #91. Build #4 failed: Configuration file not found at /Volumes/workspace/repository/Tuist/Signing.xcconfig Tuist/Signing.xcconfig is gitignored (contains DEVELOPMENT_TEAM secret). Xcode Cloud has no copy → tuist generate fatal lints. Generate it from $SUDOKU_DEVELOPMENT_TEAM env var in ci_post_clone.sh, BEFORE tuist install/generate. Consolidate cd to repo root (block #3 common prefix for both Signing + tuist). Also update: - Tuist/Signing.xcconfig.example: reference ci_post_clone.sh + the env var - docs/v2/v2.5-readiness.md: pre-flight bullet for ASC env var setup USER ACTION REQUIRED before next Xcode Cloud build: ASC → Apps → Sudoku → Xcode Cloud → Workflow → Environment Variables Add: SUDOKU_DEVELOPMENT_TEAM = <10-char team id> Closes #91. bash -n OK. Co-authored-by: Claude Opus 4.7 <[email protected]>
wei18
added a commit
that referenced
this pull request
May 22, 2026
…adient (#94) Brand audit S3 items (#81): S3-A — light: removed 2 stacked shadow rects per design-system "no skeuomorphic shadows" contract S3-B — both: thickened grid strokes for 60px legibility light: stroke-width 12 → 16 dark: stroke-width 14 → 18 S3-C — dark: flattened radialGradient to solid #2A3B5C per design-system flat-surfaces convention PNG re-rasterized via qlmanage -t -s 1024. Dimensions 1024×1024 verified. File sizes: AppIcon-Light.png: 22KB → 29KB (thicker strokes) AppIcon-Dark.png: 592KB → 33KB (gradient flattened, 18× smaller) §未決 (impl-notes) - 60px legibility eye-check on real device; if amber strokes still thin on navy, escalate dark to stroke-width 20 in follow-up Closes #81 (S3 portion; S2 mostly resolved by #78 + accepted §未決 #4(a)). Co-authored-by: Claude Opus 4.7 <[email protected]>
wei18
added a commit
that referenced
this pull request
Jun 2, 2026
Phase 1: extract Settings monetization UI from SudokuUI into new AppMonetizationKit/MonetizationUI target. Replaces @Environment(\.theme) with tintColor: Color init params. ~50 LOC added, ~430 modified/moved. Phase 2: extend ASCRegister with MS IAP product entry + xcstrings mirror. ~30 LOC. Phase 3: wire MinesweeperAppComposition.Live with IAPStoreKit2 + AdGate + NoopAdProvider (real LiveAdMobBridge deferred to U15). MS SettingsView consumes extracted MonetizationUI. ~120 LOC. Snapshot risk: LOW (1-pixel anti-aliasing class for 3 SudokuKit tests). 10 Open Questions for Leader; 9 pre-decided per mirror principle + karpathy guidelines, awaiting user ack on the substantive ones (#3 mirror Sudoku $2.99, #4 mirror "Purchases" header). Note: original proposal doc lost to worktree force-remove race; content reconstructed from Developer subagent's return summary. Co-Authored-By: Claude Opus 4.7 <[email protected]>
wei18
added a commit
that referenced
this pull request
Jun 16, 2026
…nv block (#538) Marks #18 (board chrome vs row0 safe-area) pass: chrome bottom y=201 < board row0 top y=218, no overlap, content below the Dynamic Island. Annotates #4 (ResumePill clause) / #19 / #20 as blocked by the signed-out simulator: latestInProgress() returns nil by #515 graceful-degrade design when iCloud is signed out, so no ResumePill renders — these need an iCloud-signed-in sim to verify. Now 21 pass / 0 fail / 22 pend. Co-authored-by: Claude Opus 4.8 <[email protected]>
This was referenced Jun 17, 2026
wei18
added a commit
that referenced
this pull request
Jun 17, 2026
…544 (#546) After signing iCloud + Game Center into the sim, verified the previously env-gated cases: - pass: #34 background pause (#539 shipped — timer freezes), #38 ResumePill VoiceOver (single combined button), #40 ATT primer (sheet → system prompt → dismiss), #4 Leave (cover dismiss + ResumePill now appears with iCloud) - fail: #19 resume restore → #544 (ResumePill opens an EMPTY board, moves + elapsed lost, subtitle always 0:00; Practice + Daily, 30s poll rules out read-timing) - blocked by #544: #20 (resume clear), #12 (airplane autosave elapsed/restore) New issue #544 (resume restores empty board). Now 27 pass / 2 fail / 15 pend. Co-authored-by: Claude Opus 4.8 <[email protected]>
Closed
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.
Summary
xcodebuildwas reporting 11 warnings thatswift buildwas silent on. They hid in plain sight because we'd only been running the SwiftPM build. Sweep brings the Xcode side to clean.Changes
10 files, 11 line edits:
GameCenterClient/Leaderboard/Slice.swiftpublic import Foundation→internalGameCenterClient/Live/AuthDriver.swiftpublic import Foundation→internalGameCenterClient/Live/LiveGameCenterClient.swiftpublic import Foundation→internal; drop redundantawaiton same-actor callGameState/GameSessionError.swiftpublic import SudokuEngine→internalGameState/NotesGrid.swiftpublic import SudokuEngine→internalSudokuKitTesting/Persistence/FakeAccountProvider.swiftpublic import Foundation→internalSudokuKitTesting/Persistence/PuzzleFixtures.swiftpublic import GameState→internalSudokuUI/Practice/PracticeHubView.swiftpublic import SudokuEngine→internalSudokuUI/Theme/DefaultTheme.swiftpublic import SwiftUI→internalTelemetry/OSLogSink.swiftpublic import os→internalThe downgrades are correct because the imported modules' types appear only in
internaldeclarations or function bodies — not in anypublicAPI surface.Verified
swift buildcleanswift test: 319/319 pass (full suite, 0 regression)xcodebuildiOS scheme:** BUILD SUCCEEDED **with 0 compiler warnings(only remaining stderr is
appintentsmetadataprocessornoting noAppIntents.framework— informational, not addressable in source)Side note (out of scope, deferred)
PracticeHubViewTests.overThresholdDrawShowsShimmeris timing-flaky — passed on second run with no source change. Out of scope for this sweep; deferred to a follow-up with a manual clock instead of wall-time threshold.🤖 Generated with Claude Code