← ClaudeAtlas

ios-ci-setuplisted

Set up self-hosted CI for a (new or existing) private iOS app repo in one go — Mac runners, PR check (unit tests), TestFlight from any branch, Claude review, and a "PR check must pass" ruleset — using ios-selfhosted-ci's bootstrap-repo.sh. Talks to the user in English or Traditional Chinese. Use when the user asks to set up CI / runners / TestFlight workflow / PR checks / auto review for an app repo (e.g. "set up CI for MyApp", 「新 app 設 CI」「幫 X repo 設 GitHub 環境」).
puyanlin/ios-selfhosted-ci · ★ 6 · Code & Development · score 73
Install: claude install-skill puyanlin/ios-selfhosted-ci
# Set up CI for an iOS app repo Tool: `scripts/bootstrap-repo.sh` in the ios-selfhosted-ci checkout. Settings (owner, Team ID, Xcode, review language, commit trailer) come from `~/.config/ios-selfhosted-ci/config`. ## Language Read `LANGUAGE` from `~/.config/ios-selfhosted-ci/config`: - `zh-TW` → talk to the user in **Traditional Chinese with Taiwan wording** (e.g. 檔案、設定、分支、編譯、送審). - `en` → English. - unset → use the language of the user's messages. This only affects how you talk to the user. Commands, file contents and identifiers stay as they are. ## Before running - The repo must exist on GitHub, be **private** (the script refuses public repos: fork PRs could run code on the Mac), and contain the Xcode project. If it doesn't exist yet, create it (`gh repo create <owner>/<name> --private`) and push the project first. - A CocoaPods project without committed `Pods/` stops the script. Talk to the user: install CocoaPods on the runner, or migrate to SPM. - If `~/.config/ios-selfhosted-ci/config` is missing, help the user create it from `config.example`. ## Run ```bash scripts/bootstrap-repo.sh <repo> [options] ``` | Option | When | |---|---| | `--scheme "A B"` | Auto-detected if omitted. Several candidates = each branch uses the one it has (two apps on different long-lived branches) | | `--project path/X.xcodeproj` | The project isn't at the repo root | | `--branch name` | Extra long-lived branches that also get the workflows and the ruleset | | `--destination d