Repository navigation
chore(ci): integrate LicensePlist for Settings.bundle Acknowledgements - #153
Merged
Merged
Conversation
Generates the iOS Settings.app Acknowledgements page from the SwiftPM dep graph (AdMob + UMP via AppMonetizationKit) via LicensePlist invoked from `ci_scripts/ci_post_clone.sh`. Settings.bundle output is `.gitignore`'d; `license_plist.yml` is the source of truth (regenerated on every Xcode Cloud build). Files: - `.mise.toml` — pin `ubi:mono0926/LicensePlist` (with `exe` override because the tarball binary is lowercase-hyphen `license-plist`) - `license_plist.yml` — `options:` block, camelCase keys per upstream README; scans both Packages/*/Package.swift - `ci_scripts/ci_post_clone.sh` — append `license-plist` step 3.3 after `tuist generate`, before xcodebuild bundles resources - `Project.swift` — `.glob(pattern: …/Settings.bundle/**)` in App target resources (glob tolerates missing dir on dev machines) - `.gitignore` — exclude `App/Resources/Settings.bundle/` - `docs/foundations.md §4` — document the CI invocation path Supersedes the SwiftUI in-app approach drafted on `wip/licenseplist-preflight-v1` (per user pivot 2026-05-26). Co-Authored-By: Claude Opus 4.7 <[email protected]>
… gap Inline-applied from CR review: - N1: docs/foundations.md §4 — add one sentence clarifying that the Settings.bundle is NOT regenerated on local dev (`.glob` tolerates the empty match so App still builds; if dev wants to verify Acknowledgements page, run the mise exec command manually). Prevents "missing on my machine" confusion for future contributors. - N2: .mise.toml — pin LicensePlist `latest` → `3.27.9` (the version Leader pre-flight verified). Aligns with other mise pins (gitleaks 8.30.1, tuist 4, xcbeautify 2) — CI reproducibility invariant. Nit 3 (schema URL pinning) intentionally skipped — optional cosmetic. Co-Authored-By: Claude Opus 4.7 <[email protected]>
3 tasks done
wei18
added a commit
that referenced
this pull request
May 26, 2026
…og+draft) (#174) Per user decision: 「目前有的全部 backlog 轉成 github issues (state draft) & related labels, 以後就用這方式記錄」. §Backlog is now an index table with two halves: - Active backlog → GH issues #166–#173 (labels: backlog + draft + ci/modules/testing/documentation/devx topics) - Resolved/cancelled/superseded history (LicensePlist done #153, skills-gap done #152, swiftformat CANCELLED, Telemetry/GC/Persistence PARTIAL (Telemetry done #161, Stage 3 in-session), GH Actions umbrella superseded by Phase 1 + #156/#157/#158) Going forward: `gh issue create --label "backlog,draft,<topic>"`. Title holds the short subject; body keeps the Date / description / Trigger / 代價 structure. 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.
Summary
Implements user-locked design 2026-05-26 for LicensePlist integration:
7 files (+121/-1):
Code Reviewer verdict: APPROVE-WITH-NITS
0 must-fix. 3 nits, 2 applied inline:
CR praise
v2.5★ ship requirement
This closes the `docs/foundations.md §Backlog` LicensePlist entry — needed before v2 ships to App Store (third-party SDK license disclosure per Apple guidelines).
Closes
Test plan
🤖 Generated with Claude Code