Repository navigation
fix(settings): seed Root.plist so acknowledgements actually appear in iOS Settings - #748
Merged
Merged
Conversation
Closes #721. Two coupled bugs kept the LicensePlist-generated Acknowledgements page invisible / fragile: Bug A - Settings.bundle had no Root.plist entry point. iOS requires Root.plist as the Settings.bundle entry pane; without it Settings.app shows no custom page at all, so the (correctly generated) com.mono0926.LicensePlist.plist was never reachable. LicensePlist never writes Root.plist itself (verified against its source + README: the developer must add the PSChildPaneSpecifier manually). Fix: commit a static Root.plist seed per app containing the `PSChildPaneSpecifier { Title: Acknowledgements, File: com.mono0926.LicensePlist }` entry, with a precise .gitignore negation so only Root.plist is tracked while all generated bundle content stays ignored. Verified LicensePlist re-runs leave the seed byte-identical (force: true only rewrites its own output files). Bug B - `packagePaths:` in both license_plist.yml resolved relative to the config file's directory (App/<App>/), not the repo root (same rule as outputPath, LicensePlist GeneralOptions.load(_:configBasePath:)), so the configured Packages/... paths silently matched nothing. The list was populated anyway on CI/tf:upload only because LicensePlist's default `*.xcworkspace` CWD fallback picked up Game.xcworkspace's Package.resolved after tuist generate - shipped archives were never empty (Jul-8 archive: 7 real license entries) - but a bare `mise run gen:acknowledgements` without a generated workspace emitted an EMPTY list. Fix: climb to the repo root with `../../Packages/...`. Verified with the workspace hidden: Sudoku now lists 6 licenses + group header; Minesweeper lists AdMob + UMP (the only third-party SDKs in its committed resolved graph - Packages/MinesweeperKit has no committed Package.resolved). CI is unaffected: ci_post_clone.sh cd's to the repo root and generates the workspace before gen runs. End-to-end verified on iPhone 17 Pro simulator: built Sudoku.app carries Settings.bundle/Root.plist + populated LicensePlist plists; Settings.app -> Apps -> Sudoku shows the Acknowledgements row and the license list renders with real entries. Co-Authored-By: Claude Fable 5 <[email protected]>
wei18
enabled auto-merge (squash)
July 10, 2026 12:22
wei18
added a commit
that referenced
this pull request
Jul 10, 2026
Records the composition rename (#739/#745), settings-persistence inventory + LastSelectionStore fill (#720/#746), the two-round Acknowledgements diagnostic (#721/#748), the #700/#738 ASCRegister apply closeout (11 achievements + 77 loc, 21 leaderboard-loc UPDATEs), and the #713 upkeep-triage disposition including the unreconciled 13-vs-15 finding-count discrepancy. Co-authored-by: Claude Fable 5 <[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.
Closes #721 — the owner-reported bug: no Acknowledgements page under iOS Settings → app. Two coupled root causes, both fixed:
Bug A — no Settings.bundle entry point (why the page NEVER showed, since #433)
LicensePlist only generates the child-pane content file; iOS requires a
Root.plistentry point to display ANY custom pane — and the whole Settings.bundle dir was gitignored/regenerated, so nobody ever seeded one. Fix: commit a minimalRoot.plistper app directly containing thePSChildPaneSpecifier { File: com.mono0926.LicensePlist }entry (LicensePlist never writes Root.plist, so the seed is stable — verified sha256-identical across re-gens), plus a precise.gitignoreexception whitelisting onlyRoot.plist(live-tested: generated files stay ignored).Bug B — packagePaths resolved relative to the config dir
license_plist.yml'spackagePathsresolve relative toApp/<App>/(confirmed by reading LicensePlist's Config source, not trial-and-error), so a workspace-less localgen:acknowledgementsfound no packages and emitted an empty list. Fixed with../../Packages/...paths. Ship-state conclusion: the shipped license DATA was never empty — CI and tf:upload both run gen after the workspace exists, and LicensePlist's*.xcworkspacefallback filled the list; only the display entry point was missing.Verification
plutil -lintboth plists; workspace-less gen now yields 7 (Sudoku) / 3 (MS) specifiers; .gitignore exception live-tested.Follow-ups (non-blocking, tracked in #747): MS Package.resolved parity for local gens, Settings.bundle string l10n (Root.strings mechanism), test-only deps appearing in the list.
🤖 Generated with Claude Code