Skip to content

Build the rich copy test with Xcode 26 - #47

Merged
servercimen merged 1 commit into
mainfrom
fix/ci-xcode-26
Nov 25, 2026
Merged

servercimen merged 1 commit into
mainfrom
fix/ci-xcode-26

Conversation

@servercimen

Copy link
Copy Markdown
Owner

Summary

CI on main fails, because the test target TranscriptKitTests does not build with Xcode 26.6. In RichCopyTests, a constant named font was made from a call of the helper font(_:at:) inside #require. In the expansion of the macro, Xcode 26.6 takes font in that call to be the new constant, a CTFont, and stops with "cannot call value of non-function type 'CTFont'". Xcode 27 builds the code.

  • The constant now has the name found. The test checks the same thing as before.

Tests

  • The error is in the "iOS view tests" job of the last CI run on main, at RichCopyTests.swift:197.
  • This Mac has only Xcode 27.2, so the CI run of this PR is the check for Xcode 26.6.

🤖 Generated with Claude Code

In one test a constant named font was made from a call of the helper
font(_:at:). Xcode 26.6 takes the name in that call to be the new
constant, so the test target did not build in CI. The constant now has
another name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@servercimen
servercimen merged commit 78cf45e into main Nov 25, 2026
2 of 3 checks passed
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