Repository navigation
feat(signing): automatic signing with gitignored DEVELOPMENT_TEAM - #5
Merged
Merged
Conversation
Wire up Apple Developer signing via an xcconfig that lives outside git, so the public repo can ship a usable Project.swift without exposing the team identifier. Pattern: - Tuist/Signing.xcconfig.example (committed) — template with placeholder - Tuist/Signing.xcconfig (gitignored) — actual DEVELOPMENT_TEAM - Both .debug and .release configurations reference Signing.xcconfig - Project.swift swiftSettings sets CODE_SIGN_STYLE = Automatic On a fresh clone: cp Tuist/Signing.xcconfig.example Tuist/Signing.xcconfig # edit Tuist/Signing.xcconfig and replace YOUR_TEAM_ID_HERE mise exec -- tuist generate For CI / Xcode Cloud: write Signing.xcconfig from a secret environment variable in ci_pre_xcodebuild.sh (deferred until Xcode Cloud workflows land in Phase 10). Defense in depth: - .gitignore explicitly excludes Tuist/Signing.xcconfig - gitleaks scan of full working tree returns 0 leaks - git check-ignore confirms the secret file is excluded - No tracked file contains the team identifier (verified via grep) Verified: - tuist generate: Success - xcodebuild iOS Sudoku scheme (NO CODE_SIGNING_ALLOWED override): ** BUILD SUCCEEDED ** - DEVELOPMENT_TEAM correctly resolved from xcconfig at build time
This was referenced May 21, 2026
wei18
added a commit
that referenced
this pull request
Jun 3, 2026
Skill CR (2026-06-03) found: - description: starts 'Default pattern…' not 'Use when…' (CSO rule) - Cross-ref to architect review file (missing — landed separately 8f8af17) - Multi-app CI_PRODUCT dispatch absent - Smoke-test scope ambiguity (source plist passes against literal $()) - No 'as!' anti-pattern warning - No Project.swift wiring example - No non-Tuist carve-out - No Iron Law disclosure - Migration playbook simplified without disclosure - Anti-pattern 2 vs Migration step 3 internal conflict (fatalError) - Outer .gitignore Tuist/*.xcconfig rule not explicit - Rationalization counters thin Full rewrite: 1. description leads with 'Use when…' + adds GADApplicationIdentifier / GADBannerUnitID / .p8 search keywords (~ 500 chars, under ceiling) 2. New 'Known testing gap' section discloses Iron Law violation 3. New 'Smoke test scope' section with ❌/✅ example showing source-plist trap + runtime-guard fix 4. New 'Multi-app dispatch' section with concrete CI_PRODUCT case-switch bash snippet 5. New 'Non-Tuist projects' carve-out 6. New 'Project.swift wiring' concrete snippet 7. New 'Verification checklist' (parallels apple-public-repo-security) 8. New 'Rationalizations table' with 6 explicit counters (memo + comment + private repo + small-app + 1-time + fatalError-grace) 9. Anti-pattern `as!` force-cast added (#5) 10. Anti-pattern Tuist clobbering unmanaged xcconfigs added (#8) 11. Anti-pattern #2 'fatalError forbidden long-term, allowed as transitional during xcconfig migration cycle' — resolves internal conflict with Migration step 3 12. Migration playbook disclosed as PR1's compressed reality, not Architect's 7-stage plan; cross-references architect review file 13. Cross-refs labelled REQUIRED / SIBLING CR's Critical #1 (broken architect-review cross-reference) addressed via 8f8af17 landing the file separately. Co-Authored-By: Claude Opus 4.7 <[email protected]>
wei18
added a commit
that referenced
this pull request
Jun 17, 2026
…es filed) (#542) Records this session's drivable-case sweep on the current sim: - pass: #5 rapid double-tap Leave, #28 zh-Hant strings (+ earlier #1/#2/#10/ #18/#25/#39 from #536 work) - fail: #22 Dynamic-Type header clip (#540), #34 timer accrues background time (#539) - pend w/ findings: #8 (near-win harness can't model home-return), #23 (digit-pad frames ≥44pt but glyphs render blank, #540), #29 (no tofu, but Purchases section unlocalized, #541) New issues: #539 (solve timer counts background time — leaderboard fairness), #540 (Dynamic Type AX3+ header/digit-pad breakage), #541 (Purchases/IAP section unlocalized; L10n gate misses catalog-less literals). Co-authored-by: Claude Opus 4.8 <[email protected]>
This was referenced Jun 17, 2026
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
Wire up Apple Developer signing via an xcconfig that lives outside git, so the public repo can ship a usable
Project.swiftwithout exposing the team identifier.Pattern
Tuist/Signing.xcconfig.exampleYOUR_TEAM_ID_HEREplaceholder + setup instructionsTuist/Signing.xcconfigDEVELOPMENT_TEAM = <10-char id>Project.swift.debugand.releaseconfigurations referenceTuist/Signing.xcconfig;swiftSettingsaddsCODE_SIGN_STYLE = Automatic.gitignoreTuist/Signing.xcconfigOn a fresh clone
CI / Xcode Cloud
Write
Signing.xcconfigfrom a secret env var inci_pre_xcodebuild.sh. Deferred until Xcode Cloud workflows land in Phase 10.Defense in depth (verified)
git check-ignore Tuist/Signing.xcconfig→ confirmed excludedgit ls-files | xargs grep -l <team-id>→ emptygitleaks dirscan of full 480MB working tree → 0 leaksgit statuspost-stage shows only.gitignore,Project.swift,Tuist/Signing.xcconfig.exampleVerified builds
tuist generate: SuccessxcodebuildiOS Sudoku scheme withoutCODE_SIGNING_ALLOWED=NOoverride:** BUILD SUCCEEDED **DEVELOPMENT_TEAMresolves correctly from the xcconfig at build time🤖 Generated with Claude Code