Skip to content

ci: fix Check workflow scheme name - #2

Merged
ralyodio merged 1 commit into
mainfrom
fix/ci-check-scheme
Aug 3, 2026
Merged

ci: fix Check workflow scheme name#2
ralyodio merged 1 commit into
mainfrom
fix/ci-check-scheme

Conversation

@ralyodio

@ralyodio ralyodio commented Aug 3, 2026

Copy link
Copy Markdown

Problem

The Check workflow fails on every pull request:

xcodebuild: error: The project named "bitchat" does not contain a scheme
named "bitchatTests_iOS".

bitchatTests_iOS is a target in project.yml, not a scheme. XcodeGen
generates exactly two schemes — bitchat (iOS) and bitchat (macOS) — and the
iOS scheme already declares bitchatTests_iOS under its test: block.

This is pre-existing breakage, unrelated to any particular PR's diff. It is
currently the only thing keeping #1 (ci: add ThreatCrush security scan) at
mergeStateStatus=UNSTABLE; every security check on that PR passes.

Fix

Point the test step at the actual scheme:

-          -scheme bitchatTests_iOS \
+          -scheme "bitchat (iOS)" \

Verification

Not runnable locally (no macOS runner), so this PR's own Check run is the
test — it exercises the changed line directly. Confirmed statically that
project.yml defines bitchat (iOS) with test.targets == [bitchatTests_iOS],
and that both YAML files parse.

Once this is green and merged, #1 should become mergeable.

🤖 Generated with Claude Code

xcodebuild was invoked with `-scheme bitchatTests_iOS`, but that is a
target in project.yml, not a scheme. XcodeGen generates two schemes,
"bitchat (iOS)" and "bitchat (macOS)"; the iOS one already lists
bitchatTests_iOS as its test target.

The job therefore failed on every PR with:
  error: The project named "bitchat" does not contain a scheme named
  "bitchatTests_iOS".

Point the test step at the actual scheme.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ralyodio
ralyodio marked this pull request as ready for review August 3, 2026 23:08
@ralyodio
ralyodio merged commit 1cd598d into main Aug 3, 2026
4 checks passed
@ralyodio
ralyodio deleted the fix/ci-check-scheme branch August 3, 2026 23:08
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.

1 participant