Skip to content

fix(ci): write Tuist/Signing.xcconfig from SUDOKU_DEVELOPMENT_TEAM env var (#91) - #93

Merged
wei18 merged 1 commit into
mainfrom
fix/ci-signing-xcconfig-2
May 22, 2026
Merged

wei18 merged 1 commit into
mainfrom
fix/ci-signing-xcconfig-2

Conversation

@wei18

@wei18 wei18 commented May 22, 2026

Copy link
Copy Markdown
Owner

Closes #91.

⚠️ USER ACTION REQUIRED before next Xcode Cloud build: in ASC → Apps → Sudoku → Xcode Cloud → Workflow → Environment Variables, add SUDOKU_DEVELOPMENT_TEAM = your 10-char Apple Developer team ID.

ci_post_clone.sh now writes Tuist/Signing.xcconfig from that env var before tuist install/generate.

Also updates:

  • Tuist/Signing.xcconfig.example comment block
  • docs/v2/v2.5-readiness.md pre-flight checklist

…v var (#91)

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
wei18 merged commit 6c399bd into main May 22, 2026
@wei18
wei18 deleted the fix/ci-signing-xcconfig-2 branch May 22, 2026 12:10
wei18 added a commit that referenced this pull request May 22, 2026
#95)

Per user feedback: Xcode Cloud auto-provides $CI_TEAM_ID
(https://developer.apple.com/documentation/xcode/environment-variable-reference)
so no user-defined env var setup needed. Replaces SUDOKU_DEVELOPMENT_TEAM
introduced in PR #93.

- ci_post_clone.sh: read $CI_TEAM_ID instead
- Tuist/Signing.xcconfig.example: drop user-action note
- docs/v2/v2.5-readiness.md: mark pre-flight step as no-op

bash -n OK.

Co-authored-by: Claude Opus 4.7 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): Xcode Cloud — write Tuist/Signing.xcconfig from env var before tuist generate

1 participant