Skip to content

Fix TestFlight archive: declare a shared Continuity scheme - #138

Closed
ShawnMadadha wants to merge 1 commit into
mainfrom
claude/testflight-shared-scheme
Closed

ShawnMadadha wants to merge 1 commit into
mainfrom
claude/testflight-shared-scheme

Conversation

@ShawnMadadha

Copy link
Copy Markdown
Contributor

Problem

Every TestFlight run on main since PR #127 has failed in the Archive step after ~30s with xcodebuild exit 65:

xcodebuild: error: 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. 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: the Continuity target declares a shared scheme:, so -scheme Continuity always 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-26 runner)

  • Without the change: xcodebuild archive -scheme Continuity reproduces the exact CI error (exit 65).
  • With it: xcodebuild archive -project Continuity.xcodeproj -scheme Continuity -destination 'generic/platform=iOS' → ARCHIVE SUCCEEDED.
  • Simulator Debug build: 0 warnings. ContinuityCore: 211/211 tests pass. ContinuityKit simulator tests: all pass. App launches and restores the last session on iPhone 17 sim.

Follow-up (separate PR, needs a token with workflow scope): bump actions/checkout to 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

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>
@sanylax2

Copy link
Copy Markdown
Collaborator

you are a bum

@sanylax2 sanylax2 closed this Sep 11, 2026
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.

2 participants