ci: fix Check workflow scheme name - #2
Merged
Merged
Conversation
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>
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.
Problem
The
Checkworkflow fails on every pull request:bitchatTests_iOSis a target inproject.yml, not a scheme. XcodeGengenerates exactly two schemes —
bitchat (iOS)andbitchat (macOS)— and theiOS scheme already declares
bitchatTests_iOSunder itstest: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) atmergeStateStatus=UNSTABLE; every security check on that PR passes.Fix
Point the test step at the actual scheme:
Verification
Not runnable locally (no macOS runner), so this PR's own
Checkrun is thetest — it exercises the changed line directly. Confirmed statically that
project.ymldefinesbitchat (iOS)withtest.targets == [bitchatTests_iOS],and that both YAML files parse.
Once this is green and merged, #1 should become mergeable.
🤖 Generated with Claude Code