Repository navigation
fix(minesweeper): tf:upload regenerates acknowledgements + add Minesweeper.storekit (#433) - #437
Merged
Merged
Conversation
…eeper.storekit (#433) Two MS build-parity gaps. Part A — tf:upload now regenerates the Acknowledgements Settings.bundle. mise-tasks/tf/upload archived locally but never ran gen:acknowledgements, so the gitignored Settings.bundle (normally regenerated by Xcode Cloud's ci_post_clone.sh) was absent at archive time → installed builds showed an empty iOS Settings → Acknowledgements page. The script now runs the three phases in the order both LicensePlist and Tuist require: tuist install (resolve) → gen:acknowledgements (populate bundle from the resolved SwiftPM graph) → tuist generate (re-glob the now-populated bundle) → archive. While fixing this, found a latent regression from #393: when the license_plist configs were co-located under App/<App>/, their outputPath stayed `App/<App>/Resources/Settings.bundle` but LicensePlist resolves outputPath relative to the config file's own directory, so the bundle was written to `App/<App>/App/<App>/Resources/Settings.bundle` — a path Tuist's resource glob never sees. Corrected both configs to the config-dir-relative `Resources/Settings.bundle`. Part B — added App/Minesweeper/Resources/Minesweeper.storekit (mirrors Sudoku.storekit; productID com.wei18.minesweeper.iap.remove_ads, Remove Ads, 2.99) and wired it into the Minesweeper scheme's runAction options via storeKitConfigurationPath, so Simulator/Xcode IAP testing finds the product. Simulator-only; the TestFlight "product not found" is a separate ASC-data issue (#432). Verification: - mise run tf:upload minesweeper ios --archive-only → archived Minesweeper.app/Settings.bundle/com.mono0926.LicensePlist.plist lists 7 real entries (GoogleMobileAds 13.4.0, GoogleUserMessagingPlatform 3.1.0, Yams, swift-syntax, swift-snapshot-testing, swift-custom-dump, xctest-dynamic-overlay) + matching child-pane plists — not empty. - mise exec -- tuist generate --no-open succeeds (new .storekit path resolves). - mise run scan:l10n PASS. Co-Authored-By: Wei18 <[email protected]> Co-Authored-By: Claude Opus 4.8 <[email protected]>
wei18
added a commit
that referenced
this pull request
Jun 9, 2026
…f:upload acks step (#442) Meeting log for the GameAudio P1/P2 + Minesweeper TestFlight-QA + ops-skills session. Also updates the local-testflight-upload skill pipeline to include the gen:acknowledgements step added in #437 (order: install -> gen -> generate -> archive). Co-authored-by: Claude Opus 4.8 <[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.
Closes #433 — two Minesweeper build-parity gaps.
Part A —
tf:uploadregenerates the Acknowledgements bundle (the bug)mise-tasks/tf/uploadarchived locally but never rangen:acknowledgements, so the gitignoredSettings.bundle(normally regenerated by Xcode Cloud'sci_post_clone.sh) was absent at archive time → installed builds showed an empty iOS Settings → Acknowledgements page.The script now runs three phases in the order both LicensePlist and Tuist require:
tuist install— resolve packages (LicensePlist enumerates the dependency graph from the resolved SwiftPM state; with noPackage.resolvedit emits an empty list).gen:acknowledgements— populate theSettings.bundlefrom the resolved graph.tuist generate— re-glob the now-populated bundle (theSettings.bundle/**resource glob captures file refs at generate time, not build time)..app.Latent regression fixed along the way
While fixing this I found a regression from #393: when the
license_plist.ymlconfigs were co-located underApp/<App>/, theiroutputPathstayedApp/<App>/Resources/Settings.bundle, but LicensePlist resolvesoutputPathrelative to the config file's own directory — so the bundle was written toApp/<App>/App/<App>/Resources/Settings.bundle, a path Tuist's resource glob never sees. Both configs corrected to the config-dir-relativeResources/Settings.bundle. (Never caught before because the bundle is gitignored and its only consumer is exactly this archive path.)Part B —
Minesweeper.storekitfor Simulator IAP testing (parity)Added
App/Minesweeper/Resources/Minesweeper.storekit(mirrorsSudoku.storekit; productIDcom.wei18.minesweeper.iap.remove_ads, referenceName "Remove Ads", 2.99, same display config, fresh UUIDs) and wired it into the Minesweeper scheme'srunActionoptions(storeKitConfigurationPath:). Fixes Simulator/Xcode IAP testing only; the TestFlight "product not found" is the separate ASC-data issue #432.Verification
Part A — archive evidence (
mise run tf:upload minesweeper ios --archive-only):The archived
Minesweeper.app/Settings.bundle/com.mono0926.LicensePlist.plistis populated with 7 real license entries (not empty):plus the matching child-pane detail plists under
Settings.bundle/com.mono0926.LicensePlist/. Pipeline log confirmed ordering:tuist install→regenerate Acknowledgements→re-generate project→Archive Succeeded→Export Succeeded.Other gates:
mise exec -- tuist generate --no-opensucceeds — the new.storekitpath resolves and the scheme is valid.mise run scan:l10nPASS (both catalogs 0 placeholders, all 7 locales complete).git statusclean except the 5 intended files;build/, the generatedSettings.bundle, andGame.xcworkspaceremain gitignored.🤖 Generated with Claude Code