Skip to content

Compile Swift sources in CI against Xcode 26 and 27 #33

Open

Description

@corasan

Why

CI runs only TypeScript tests, lint, and build on Ubuntu. No job compiles the Swift code. iOS 27 symbols now sit behind #if compiler(>=6.4), so a typo in either branch of that guard ships unnoticed: Xcode 26 users compile one branch, Xcode 27 users the other.

Proposal

  • macOS job that runs bun run test:swift (host Swift tests for ToolSchemaBuilder and the stream accumulator).
  • macOS job that type-checks package/ios/*.swift against the iOS SDK with the latest Xcode and the oldest supported Xcode (26.x), e.g. xcodebuild on the example app or swiftc -typecheck with Nitro headers.
  • Optional: a smoke run on an iOS 27 simulator. Apple Intelligence availability on hosted runners is unknown; the job must pass when the model is unavailable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions