Fix TestFlight archive: declare a shared Continuity scheme - #138
Closed
ShawnMadadha wants to merge 1 commit into
Closed
ShawnMadadha wants to merge 1 commit into
ShawnMadadha wants to merge 1 commit into
Conversation
Every TestFlight run since PR #127 died in the Archive step after ~30s with xcodebuild exit 65: "The project named "Continuity" does not contain a scheme named "Continuity"". project.yml declared no schemes, and XcodeGen only emits schemes a target asks for; the runs had been relying on xcodebuild auto-creating one, which Xcode 26.x no longer does (same XcodeGen 2.46.0 + Xcode 26.6 locally reproduces the failure, and the declared scheme makes `xcodebuild archive -scheme Continuity` succeed). Records the scheme gotcha in AGENTS.md / CLAUDE.md so it isn't rediscovered. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Collaborator
|
you are a bum |
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
Every TestFlight run on
mainsince PR #127 has failed in the Archive step after ~30s with xcodebuild exit 65:project.ymldeclared no schemes, and XcodeGen only emits schemes a target asks for. Earlier runs got by on xcodebuild auto-creating one, which Xcode 26.x no longer does. (PR #125's run is unrelated: its archive succeeded and only the upload hit Apple's daily upload cap.)Fix
project.yml: theContinuitytarget declares a sharedscheme:, so-scheme Continuityalways exists on a fresh checkout / CI.AGENTS.md/CLAUDE.md: record the gotcha so it isn't rediscovered.Verification (local, same XcodeGen 2.46.0 + Xcode 26.6 as the
macos-26runner)xcodebuild archive -scheme Continuityreproduces the exact CI error (exit 65).xcodebuild archive -project Continuity.xcodeproj -scheme Continuity -destination 'generic/platform=iOS'→ ARCHIVE SUCCEEDED.Follow-up (separate PR, needs a token with
workflowscope): bumpactions/checkoutto v5 to clear the Node 20 deprecation warning, and correct the workflow header to say the ASC key must be Admin role.🤖 Generated with Claude Code