Skip to content

Fix tvOS builds with Xcode 27 - #400

Merged
mattt merged 3 commits into
mainfrom
mattt/tvos-build
Nov 6, 2026
Merged

mattt merged 3 commits into
mainfrom
mattt/tvos-build

Conversation

@mattt

@mattt mattt commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

The tvOS 27 SDK includes FoundationModels but marks its model and session APIs unavailable, which causes AnyLanguageModel to fail to build. Exclude SystemLanguageModel and its bridges on tvOS with Swift 6.4 or later, preserve them for earlier compilers, apply matching test gates, and add tvOS builds to CI with Xcode 26.4.1 and 27.0, with a Simulator test build on Xcode 27.0.

@mattt
mattt merged commit b933093 into main Nov 6, 2026
14 checks passed
@mattt
mattt deleted the mattt/tvos-build branch November 6, 2026 14:43
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