The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HybridRouterKit, reference main (4e4033), with Swift 6.4 for tvOS using Xcode 27.0 on 7 Nov 2026 19:16:18 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme HybridRouterKit-Package -destination generic/platform=tvOS

Build Log

6 |     public var metadata: [String : GeneratedContent] { get }  }
  |                `- note: 'metadata' has been explicitly marked unavailable here
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift:156:13: error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
154 |   public var claudeServerToolActivities: [ClaudeServerToolActivity] {
155 |     ClaudeServerToolActivity.derive(
156 |       from: flatMap { entry -> [TurnRecord.Block] in
    |             `- error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
157 |         guard case .response(let response) = entry else { return [] }
158 |         return TurnRecord(metadata: response.metadata).blocks
FoundationModels.Transcript:3:11: note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | extension Transcript : RandomAccessCollection {
   |           `- note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 4 |     public typealias Index = Int
 5 |     public subscript(index: Transcript.Index) -> Transcript.Entry { get set }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift:158:46: error: 'metadata' is unavailable in tvOS
156 |       from: flatMap { entry -> [TurnRecord.Block] in
157 |         guard case .response(let response) = entry else { return [] }
158 |         return TurnRecord(metadata: response.metadata).blocks
    |                                              `- error: 'metadata' is unavailable in tvOS
159 |       }
160 |     )
FoundationModels.Transcript.Response.metadata:6:16: note: 'metadata' has been explicitly marked unavailable here
4 |     @backDeployed(before: iOS 27.0, macOS 27.0, visionOS 27.0)
5 |     @available(tvOS, unavailable)
6 |     public var metadata: [String : GeneratedContent] { get }  }
  |                `- note: 'metadata' has been explicitly marked unavailable here
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:39:14: error: 'LanguageModelError' is unavailable in tvOS
37 |     }
38 |     if let url = error as? URLError, url.code == .timedOut {
39 |       return LanguageModelError.timeout(.init(debugDescription: url.localizedDescription))
   |              `- error: 'LanguageModelError' is unavailable in tvOS
40 |     }
41 |     if let image = error as? ClaudeImage.Error {
FoundationModels.LanguageModelError:3:13: note: 'LanguageModelError' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public enum LanguageModelError : LocalizedError {
   |             `- note: 'LanguageModelError' has been explicitly marked unavailable here
 4 |     case contextSizeExceeded(LanguageModelError.ContextSizeExceeded)
 5 |     case rateLimited(LanguageModelError.RateLimited)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:39:42: error: 'init(debugDescription:metadata:)' is unavailable in tvOS
37 |     }
38 |     if let url = error as? URLError, url.code == .timedOut {
39 |       return LanguageModelError.timeout(.init(debugDescription: url.localizedDescription))
   |                                          `- error: 'init(debugDescription:metadata:)' is unavailable in tvOS
40 |     }
41 |     if let image = error as? ClaudeImage.Error {
FoundationModels.LanguageModelError.Timeout.init:3:8: note: 'init(debugDescription:metadata:)' has been explicitly marked unavailable here
1 | enum LanguageModelError {
2 |   struct Timeout {
3 | public init(debugDescription: String, metadata: [String : any Sendable] = [:])  }
  |        `- note: 'init(debugDescription:metadata:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:42:14: error: 'LanguageModelError' is unavailable in tvOS
40 |     }
41 |     if let image = error as? ClaudeImage.Error {
42 |       return LanguageModelError.unsupportedTranscriptContent(
   |              `- error: 'LanguageModelError' is unavailable in tvOS
43 |         .init(
44 |           unsupportedContent: [],
FoundationModels.LanguageModelError:3:13: note: 'LanguageModelError' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public enum LanguageModelError : LocalizedError {
   |             `- note: 'LanguageModelError' has been explicitly marked unavailable here
 4 |     case contextSizeExceeded(LanguageModelError.ContextSizeExceeded)
 5 |     case rateLimited(LanguageModelError.RateLimited)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:43:10: error: 'init(unsupportedContent:debugDescription:metadata:)' is unavailable in tvOS
41 |     if let image = error as? ClaudeImage.Error {
42 |       return LanguageModelError.unsupportedTranscriptContent(
43 |         .init(
   |          `- error: 'init(unsupportedContent:debugDescription:metadata:)' is unavailable in tvOS
44 |           unsupportedContent: [],
45 |           debugDescription: image.errorDescription ?? "Image could not be prepared for upload."
FoundationModels.LanguageModelError.UnsupportedTranscriptContent.init:3:8: note: 'init(unsupportedContent:debugDescription:metadata:)' has been explicitly marked unavailable here
1 | enum LanguageModelError {
2 |   struct UnsupportedTranscriptContent {
3 | public init(unsupportedContent: [Transcript.Entry], debugDescription: String, metadata: [String : any Sendable] = [:])  }
  |        `- note: 'init(unsupportedContent:debugDescription:metadata:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:72:14: error: 'LanguageModelError' is unavailable in tvOS
70 |       // The API doesn't say when capacity returns, so no reset date is
71 |       // fabricated — callers pick their own backoff.
72 |       return LanguageModelError.rateLimited(.init(resetDate: nil, debugDescription: detail))
   |              `- error: 'LanguageModelError' is unavailable in tvOS
73 |     case .requestTooLarge:
74 |       // The API reports neither the window nor the prompt's token count.
FoundationModels.LanguageModelError:3:13: note: 'LanguageModelError' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public enum LanguageModelError : LocalizedError {
   |             `- note: 'LanguageModelError' has been explicitly marked unavailable here
 4 |     case contextSizeExceeded(LanguageModelError.ContextSizeExceeded)
 5 |     case rateLimited(LanguageModelError.RateLimited)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:72:46: error: 'init(resetDate:debugDescription:metadata:)' is unavailable in tvOS
70 |       // The API doesn't say when capacity returns, so no reset date is
71 |       // fabricated — callers pick their own backoff.
72 |       return LanguageModelError.rateLimited(.init(resetDate: nil, debugDescription: detail))
   |                                              `- error: 'init(resetDate:debugDescription:metadata:)' is unavailable in tvOS
73 |     case .requestTooLarge:
74 |       // The API reports neither the window nor the prompt's token count.
FoundationModels.LanguageModelError.RateLimited.init:3:8: note: 'init(resetDate:debugDescription:metadata:)' has been explicitly marked unavailable here
1 | enum LanguageModelError {
2 |   struct RateLimited {
3 | public init(resetDate: Date?, debugDescription: String, metadata: [String : any Sendable] = [:])  }
  |        `- note: 'init(resetDate:debugDescription:metadata:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:75:14: error: 'LanguageModelError' is unavailable in tvOS
73 |     case .requestTooLarge:
74 |       // The API reports neither the window nor the prompt's token count.
75 |       return LanguageModelError.contextSizeExceeded(
   |              `- error: 'LanguageModelError' is unavailable in tvOS
76 |         .init(contextSize: 0, tokenCount: 0, debugDescription: detail)
77 |       )
FoundationModels.LanguageModelError:3:13: note: 'LanguageModelError' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public enum LanguageModelError : LocalizedError {
   |             `- note: 'LanguageModelError' has been explicitly marked unavailable here
 4 |     case contextSizeExceeded(LanguageModelError.ContextSizeExceeded)
 5 |     case rateLimited(LanguageModelError.RateLimited)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:76:10: error: 'init(contextSize:tokenCount:debugDescription:metadata:)' is unavailable in tvOS
74 |       // The API reports neither the window nor the prompt's token count.
75 |       return LanguageModelError.contextSizeExceeded(
76 |         .init(contextSize: 0, tokenCount: 0, debugDescription: detail)
   |          `- error: 'init(contextSize:tokenCount:debugDescription:metadata:)' is unavailable in tvOS
77 |       )
78 |     case .invalidRequest where error.message.lowercased().contains("context"):
FoundationModels.LanguageModelError.ContextSizeExceeded.init:3:8: note: 'init(contextSize:tokenCount:debugDescription:metadata:)' has been explicitly marked unavailable here
1 | enum LanguageModelError {
2 |   struct ContextSizeExceeded {
3 | public init(contextSize: Int, tokenCount: Int, debugDescription: String, metadata: [String : any Sendable] = [:])  }
  |        `- note: 'init(contextSize:tokenCount:debugDescription:metadata:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:79:14: error: 'LanguageModelError' is unavailable in tvOS
77 |       )
78 |     case .invalidRequest where error.message.lowercased().contains("context"):
79 |       return LanguageModelError.contextSizeExceeded(
   |              `- error: 'LanguageModelError' is unavailable in tvOS
80 |         .init(contextSize: 0, tokenCount: 0, debugDescription: detail)
81 |       )
FoundationModels.LanguageModelError:3:13: note: 'LanguageModelError' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public enum LanguageModelError : LocalizedError {
   |             `- note: 'LanguageModelError' has been explicitly marked unavailable here
 4 |     case contextSizeExceeded(LanguageModelError.ContextSizeExceeded)
 5 |     case rateLimited(LanguageModelError.RateLimited)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeServerToolActivity.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ErrorMapper.swift
SwiftCompile normal arm64 Compiling\ AppAttestSession.swift,\ AppAttestStore.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestSession.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestStore.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestSession.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AppAttestSession.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestStore.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AppAttestStore.swift
SwiftCompile normal arm64 Compiling\ AttestationService.swift,\ AuthMode.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AttestationService.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AuthMode.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AttestationService.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AttestationService.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AuthMode.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AuthMode.swift
SwiftCompile normal arm64 Compiling\ ClaudeError.swift,\ ClaudeExecutor.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeError.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:123:17: error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
121 |
122 |   public func respond(
123 |     to request: LanguageModelExecutorGenerationRequest,
    |                 `- error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
124 |     model: ClaudeLanguageModel,
125 |     streamingInto channel: LanguageModelExecutorGenerationChannel
FoundationModels.LanguageModelExecutorGenerationRequest:3:15: note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationRequest : Sendable {
   |               `- note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
 4 |     public var id: UUID
 5 |     public var transcript: Transcript
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:125:28: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
123 |     to request: LanguageModelExecutorGenerationRequest,
124 |     model: ClaudeLanguageModel,
125 |     streamingInto channel: LanguageModelExecutorGenerationChannel
    |                            `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
126 |   ) async throws {
127 |     do {
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:160:63: error: 'Transcript' is unavailable in tvOS
158 |   }
159 |
160 |   public func prewarm(model: ClaudeLanguageModel, transcript: Transcript) {
    |                                                               `- error: 'Transcript' is unavailable in tvOS
161 |     // Attesting at launch keeps the multi-second first-run Apple
162 |     // round-trip off the user's first prompt. Errors are dropped because
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:175:19: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
173 |     betas: [String],
174 |     translating translator: inout EventTranslator,
175 |     into channel: LanguageModelExecutorGenerationChannel
    |                   `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
176 |   ) async throws -> StopReason? {
177 |     let channelWritten = Mutex(false)
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeError.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeError.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeExecutor.swift
SwiftCompile normal arm64 Compiling\ ClaudeLanguageModel.swift,\ ClaudeModel.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModel.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeLanguageModel.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModel.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeModel.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-11-07 14:16:06.254 xcodebuild[738:4570] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 Compiling\ EventTranslator.swift,\ RequestBuilder.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
	Building workspace HybridRouterKit with scheme HybridRouterKit-Package
(2 failures)
Command line invocation:
    /Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  ClaudeForFoundationModels: https://github.com/anthropics/ClaudeForFoundationModels @ 0.2.2
  HybridRouterKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: ClaudeForFoundationModels, HybridRouterKit
2026-11-07 14:16:15.108 xcodebuild[822:5010] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
    {
      "identity" : "claudeforfoundationmodels",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/anthropics/ClaudeForFoundationModels"
    }
  ],
  "manifest_display_name" : "HybridRouterKit",
  "name" : "HybridRouterKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "27.0"
    },
    {
      "name" : "macos",
      "version" : "27.0"
    }
  ],
  "products" : [
    {
      "name" : "HybridRouterKit",
      "targets" : [
        "HybridRouterKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HybridRouterKitVoice",
      "targets" : [
        "HybridRouterKitVoice"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HybridRouterKitSiri",
      "targets" : [
        "HybridRouterKitSiri"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HybridRouterKitTesting",
      "targets" : [
        "HybridRouterKitTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "HybridRouterKitVoice",
      "module_type" : "SwiftTarget",
      "name" : "HybridRouterKitVoice",
      "path" : "Packages/HybridRouterKit/Sources/HybridRouterKitVoice",
      "product_memberships" : [
        "HybridRouterKitVoice"
      ],
      "sources" : [
        "HybridAssistant+Voice.swift",
        "VoiceInput.swift"
      ],
      "target_dependencies" : [
        "HybridRouterKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HybridRouterKitTests",
      "module_type" : "SwiftTarget",
      "name" : "HybridRouterKitTests",
      "path" : "Packages/HybridRouterKit/Tests/HybridRouterKitTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Packages/HybridRouterKit/Tests/HybridRouterKitTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AttachmentsAndToolsTests.swift",
        "BusyModelTests.swift",
        "ClaudeAuthSourceTests.swift",
        "EscalationPolicyTests.swift",
        "FollowUpTests.swift",
        "HistoryPolicyTests.swift",
        "HybridAssistantTests.swift",
        "KnowledgeTests.swift",
        "MultiTurnBenchmarkTests.swift",
        "OpenRouterAuthTests.swift",
        "OpenRouterTests.swift",
        "PrivacyGuardTests.swift",
        "PrivateHistoryTests.swift",
        "ProviderTests.swift",
        "QualityBenchmarkTests.swift",
        "RouteTests.swift",
        "RoutedSessionTests.swift",
        "RouterTests.swift",
        "RoutingBenchmarkTests.swift",
        "RoutingRulesTests.swift",
        "RoutingSupportTests.swift",
        "SiriTests.swift",
        "SnapshotTests.swift",
        "TelemetryTests.swift",
        "TranscriptPersistenceTests.swift",
        "TranscriptScoreTests.swift",
        "TurnCoordinatorTests.swift",
        "VoiceInputTests.swift"
      ],
      "target_dependencies" : [
        "HybridRouterKit",
        "HybridRouterKitTesting",
        "HybridRouterKitVoice",
        "HybridRouterKitSiri"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HybridRouterKitTesting",
      "module_type" : "SwiftTarget",
      "name" : "HybridRouterKitTesting",
      "path" : "Packages/HybridRouterKit/Sources/HybridRouterKitTesting",
      "product_memberships" : [
        "HybridRouterKitTesting"
      ],
      "sources" : [
        "FakeAnswerJudge.swift",
        "FakeClassifier.swift",
        "FakeLanguageModel.swift",
        "FixedTokenEstimator.swift"
      ],
      "target_dependencies" : [
        "HybridRouterKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HybridRouterKitSiri",
      "module_type" : "SwiftTarget",
      "name" : "HybridRouterKitSiri",
      "path" : "Packages/HybridRouterKit/Sources/HybridRouterKitSiri",
      "product_memberships" : [
        "HybridRouterKitSiri"
      ],
      "sources" : [
        "SiriAnswer.swift",
        "SiriAnswerCard.swift",
        "SiriAssistant.swift"
      ],
      "target_dependencies" : [
        "HybridRouterKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HybridRouterKit",
      "module_type" : "SwiftTarget",
      "name" : "HybridRouterKit",
      "path" : "Packages/HybridRouterKit/Sources/HybridRouterKit",
      "product_dependencies" : [
        "ClaudeForFoundationModels"
      ],
      "product_memberships" : [
        "HybridRouterKit",
        "HybridRouterKitVoice",
        "HybridRouterKitSiri",
        "HybridRouterKitTesting"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Packages/HybridRouterKit/Sources/HybridRouterKit/Resources/prices.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Assistant/HybridAssistant.swift",
        "Auth/ClaudeAuthSource.swift",
        "Auth/KeychainStore.swift",
        "Auth/OpenRouterAuth.swift",
        "Evaluation/AnswerJudge.swift",
        "Evaluation/CloudTap.swift",
        "Evaluation/MultiTurnBenchmark.swift",
        "Evaluation/MultiTurnBenchmarkRunner.swift",
        "Evaluation/MultiTurnReport.swift",
        "Evaluation/QualityBenchmark.swift",
        "Evaluation/QualityBenchmarkRunner.swift",
        "Evaluation/QualityReplay.swift",
        "Evaluation/QualityReport.swift",
        "Evaluation/RetrievalSpike.swift",
        "Evaluation/TranscriptScore.swift",
        "Knowledge/KnowledgeBase.swift",
        "Knowledge/KnowledgeSearchTool.swift",
        "Privacy/PrivacyGuard.swift",
        "Privacy/PrivateDataSignal.swift",
        "Providers/AppleCloudProvider.swift",
        "Providers/ClaudeProvider.swift",
        "Providers/MisplacedProvider.swift",
        "Providers/ModelProvider.swift",
        "Providers/MuseProvider.swift",
        "Providers/OnDeviceProvider.swift",
        "Providers/OpenRouterModel.swift",
        "Providers/OpenRouterProvider.swift",
        "Providers/SimulatedAppleCloudProvider.swift",
        "Routing/CloudModel.swift",
        "Routing/EscalationPolicy.swift",
        "Routing/ExactAnswerDetector.swift",
        "Routing/NetworkMonitor.swift",
        "Routing/Route.swift",
        "Routing/RouteClassification.swift",
        "Routing/RouteClassifier.swift",
        "Routing/RouteDecision.swift",
        "Routing/Router.swift",
        "Routing/RoutingBenchmark.swift",
        "Routing/RoutingRules.swift",
        "Routing/TokenEstimator.swift",
        "Session/ConversationSnapshot.swift",
        "Session/HistoryPolicy.swift",
        "Session/ImageInput.swift",
        "Session/PrivacyLedger.swift",
        "Session/RoutedSession.swift",
        "Session/RoutingProfile.swift",
        "Session/TurnCoordinator.swift",
        "Telemetry/CostTable.swift",
        "Telemetry/StepMetrics.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
{
  "workspace" : {
    "name" : "HybridRouterKit",
    "schemes" : [
      "HybridRouterKit",
      "HybridRouterKit-Package",
      "HybridRouterKitSiri",
      "HybridRouterKitTesting",
      "HybridRouterKitVoice"
    ]
  }
}
2026-11-07 14:16:16.419 xcodebuild[830:5082] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme HybridRouterKit-Package -destination generic/platform=tvOS
Command line invocation:
    /Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme HybridRouterKit-Package -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
  ClaudeForFoundationModels: https://github.com/anthropics/ClaudeForFoundationModels @ 0.2.2
  HybridRouterKit: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (12 targets)
    Target 'HybridRouterKitTesting-product' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKitTesting' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKit' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'ClaudeForFoundationModels-product' in project 'ClaudeForFoundationModels'
    Target 'HybridRouterKitTesting' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKit' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'ClaudeForFoundationModels-product' in project 'ClaudeForFoundationModels'
    Target 'HybridRouterKitSiri-product' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKitSiri' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKit' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'ClaudeForFoundationModels-product' in project 'ClaudeForFoundationModels'
    Target 'HybridRouterKitSiri' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKit' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'ClaudeForFoundationModels-product' in project 'ClaudeForFoundationModels'
    Target 'HybridRouterKitVoice-product' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKitVoice' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKit' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'ClaudeForFoundationModels-product' in project 'ClaudeForFoundationModels'
    Target 'HybridRouterKitVoice' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKit' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'ClaudeForFoundationModels-product' in project 'ClaudeForFoundationModels'
    Target 'HybridRouterKit-product' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKit' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKit_HybridRouterKit' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'ClaudeForFoundationModels-product' in project 'ClaudeForFoundationModels'
    Target 'HybridRouterKit' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'HybridRouterKit_HybridRouterKit' in project 'HybridRouterKit'
        ➜ Explicit dependency on target 'ClaudeForFoundationModels-product' in project 'ClaudeForFoundationModels'
    Target 'ClaudeForFoundationModels-product' in project 'ClaudeForFoundationModels'
        ➜ Explicit dependency on target 'ClaudeForFoundationModels' in project 'ClaudeForFoundationModels'
        ➜ Explicit dependency on target 'ClaudeAPI' in project 'ClaudeForFoundationModels'
    Target 'ClaudeForFoundationModels' in project 'ClaudeForFoundationModels'
        ➜ Explicit dependency on target 'ClaudeAPI' in project 'ClaudeForFoundationModels'
    Target 'ClaudeAPI' in project 'ClaudeForFoundationModels' (no dependencies)
    Target 'HybridRouterKit_HybridRouterKit' in project 'HybridRouterKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache
SwiftDriver ClaudeForFoundationModels normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name ClaudeForFoundationModels -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos27.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels-dependency-scan.dia -user-module-version 0.2.2 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name claudeforfoundationmodels -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ AttestationService.swift,\ AuthMode.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AttestationService.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AuthMode.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AttestationService.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AttestationService.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AuthMode.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AuthMode.swift
SwiftCompile normal arm64 Compiling\ ClaudeLanguageModel.swift,\ ClaudeModel.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModel.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeLanguageModel.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModel.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeModel.swift
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift:125:28: error: 'LanguageModelCapabilities' is unavailable in tvOS
123 |   /// ``fallbacks`` to support them as well. Reasoning is a hint, so it
124 |   /// follows the requested model alone.
125 |   public var capabilities: LanguageModelCapabilities {
    |                            `- error: 'LanguageModelCapabilities' is unavailable in tvOS
126 |     let chain = [model] + fallbacks.knownModels
127 |     var capabilities: [LanguageModelCapabilities.Capability] = [.toolCalling]
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
  |               `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 |     public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift:117:32: error: 'LanguageModel' is unavailable in tvOS
115 | }
116 |
117 | extension ClaudeLanguageModel: LanguageModel {
    |                                `- error: 'LanguageModel' is unavailable in tvOS
118 |   public typealias Executor = ClaudeExecutor
119 |
FoundationModels.LanguageModel:3:17: note: 'LanguageModel' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol LanguageModel : Sendable {
  |                 `- note: 'LanguageModel' has been explicitly marked unavailable here
4 |     associatedtype Executor : LanguageModelExecutor where Self == Self.Executor.Model
5 |     var capabilities: LanguageModelCapabilities { get }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift:127:24: error: 'LanguageModelCapabilities' is unavailable in tvOS
125 |   public var capabilities: LanguageModelCapabilities {
126 |     let chain = [model] + fallbacks.knownModels
127 |     var capabilities: [LanguageModelCapabilities.Capability] = [.toolCalling]
    |                        `- error: 'LanguageModelCapabilities' is unavailable in tvOS
128 |     if chain.allSatisfy(\.capabilities.imageInput) { capabilities.append(.vision) }
129 |     if model.capabilities.adaptiveThinking { capabilities.append(.reasoning) }
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
  |               `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 |     public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift:127:66: error: 'toolCalling' is unavailable in tvOS
125 |   public var capabilities: LanguageModelCapabilities {
126 |     let chain = [model] + fallbacks.knownModels
127 |     var capabilities: [LanguageModelCapabilities.Capability] = [.toolCalling]
    |                                                                  `- error: 'toolCalling' is unavailable in tvOS
128 |     if chain.allSatisfy(\.capabilities.imageInput) { capabilities.append(.vision) }
129 |     if model.capabilities.adaptiveThinking { capabilities.append(.reasoning) }
FoundationModels.LanguageModelCapabilities.Capability.toolCalling:3:19: note: 'toolCalling' has been explicitly marked unavailable here
1 | struct LanguageModelCapabilities {
2 |   struct Capability {
3 | public static var toolCalling: LanguageModelCapabilities.Capability { get }  }
  |                   `- note: 'toolCalling' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift:128:75: error: 'vision' is unavailable in tvOS
126 |     let chain = [model] + fallbacks.knownModels
127 |     var capabilities: [LanguageModelCapabilities.Capability] = [.toolCalling]
128 |     if chain.allSatisfy(\.capabilities.imageInput) { capabilities.append(.vision) }
    |                                                                           `- error: 'vision' is unavailable in tvOS
129 |     if model.capabilities.adaptiveThinking { capabilities.append(.reasoning) }
130 |     if chain.allSatisfy(\.capabilities.structuredOutput) {
FoundationModels.LanguageModelCapabilities.Capability.vision:3:19: note: 'vision' has been explicitly marked unavailable here
1 | struct LanguageModelCapabilities {
2 |   struct Capability {
3 | public static var vision: LanguageModelCapabilities.Capability { get }  }
  |                   `- note: 'vision' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift:129:67: error: 'reasoning' is unavailable in tvOS
127 |     var capabilities: [LanguageModelCapabilities.Capability] = [.toolCalling]
128 |     if chain.allSatisfy(\.capabilities.imageInput) { capabilities.append(.vision) }
129 |     if model.capabilities.adaptiveThinking { capabilities.append(.reasoning) }
    |                                                                   `- error: 'reasoning' is unavailable in tvOS
130 |     if chain.allSatisfy(\.capabilities.structuredOutput) {
131 |       capabilities.append(.guidedGeneration)
FoundationModels.LanguageModelCapabilities.Capability.reasoning:3:19: note: 'reasoning' has been explicitly marked unavailable here
1 | struct LanguageModelCapabilities {
2 |   struct Capability {
3 | public static var reasoning: LanguageModelCapabilities.Capability { get }  }
  |                   `- note: 'reasoning' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift:131:28: error: 'guidedGeneration' is unavailable in tvOS
129 |     if model.capabilities.adaptiveThinking { capabilities.append(.reasoning) }
130 |     if chain.allSatisfy(\.capabilities.structuredOutput) {
131 |       capabilities.append(.guidedGeneration)
    |                            `- error: 'guidedGeneration' is unavailable in tvOS
132 |     }
133 |     return LanguageModelCapabilities(capabilities)
FoundationModels.LanguageModelCapabilities.Capability.guidedGeneration:3:19: note: 'guidedGeneration' has been explicitly marked unavailable here
1 | struct LanguageModelCapabilities {
2 |   struct Capability {
3 | public static var guidedGeneration: LanguageModelCapabilities.Capability { get }  }
  |                   `- note: 'guidedGeneration' has been explicitly marked unavailable here
4 | }
5 |
SwiftCompile normal arm64 Compiling\ ClaudeModelHandover.swift,\ ClaudeServerTool.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModelHandover.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerTool.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModelHandover.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeModelHandover.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerTool.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeServerTool.swift
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModelHandover.swift:70:43: error: 'Transcript' is unavailable in tvOS
68 |   /// The handover that `segment` holds the place of, or `nil` for an ordinary
69 |   /// segment.
70 |   public func claudeHandover(for segment: Transcript.Segment) -> ClaudeModelHandover? {
   |                                           `- error: 'Transcript' is unavailable in tvOS
71 |     guard case .text(let placeholder) = segment, placeholder.content.isEmpty else { return nil }
72 |     let record = TurnRecord(metadata: metadata)
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModelHandover.swift:67:11: error: 'Transcript' is unavailable in tvOS
65 | }
66 |
67 | extension Transcript.Response {
   |           `- error: 'Transcript' is unavailable in tvOS
68 |   /// The handover that `segment` holds the place of, or `nil` for an ordinary
69 |   /// segment.
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModelHandover.swift:72:39: error: 'metadata' is unavailable in tvOS
70 |   public func claudeHandover(for segment: Transcript.Segment) -> ClaudeModelHandover? {
71 |     guard case .text(let placeholder) = segment, placeholder.content.isEmpty else { return nil }
72 |     let record = TurnRecord(metadata: metadata)
   |                                       `- error: 'metadata' is unavailable in tvOS
73 |     let block = record.blocks.first { block in
74 |       ClaudeModelHandover.segmentID(turn: record.turn, position: block.position) == placeholder.id
FoundationModels.Transcript.Response.metadata:6:16: note: 'metadata' has been explicitly marked unavailable here
4 |     @backDeployed(before: iOS 27.0, macOS 27.0, visionOS 27.0)
5 |     @available(tvOS, unavailable)
6 |     public var metadata: [String : GeneratedContent] { get }  }
  |                `- note: 'metadata' has been explicitly marked unavailable here
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModelHandover.swift:82:26: error: 'metadata' is unavailable in tvOS
80 |   /// the whole response.
81 |   public var claudeHandovers: [ClaudeModelHandover] {
82 |     TurnRecord(metadata: metadata).blocks.compactMap { ClaudeModelHandover($0.kind) }
   |                          `- error: 'metadata' is unavailable in tvOS
83 |   }
84 |
FoundationModels.Transcript.Response.metadata:6:16: note: 'metadata' has been explicitly marked unavailable here
4 |     @backDeployed(before: iOS 27.0, macOS 27.0, visionOS 27.0)
5 |     @available(tvOS, unavailable)
6 |     public var metadata: [String : GeneratedContent] { get }  }
  |                `- note: 'metadata' has been explicitly marked unavailable here
7 | }
8 |
SwiftCompile normal arm64 Compiling\ ClaudeServerToolActivity.swift,\ ErrorMapper.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift:136:53: error: 'Transcript' is unavailable in tvOS
134 |   /// your tools alongside) is paired up by
135 |   /// ``FoundationModels/Transcript/claudeServerToolActivities`` instead.
136 |   public func claudeServerToolActivity(for segment: Transcript.Segment) -> ClaudeServerToolActivity?
    |                                                     `- error: 'Transcript' is unavailable in tvOS
137 |   {
138 |     guard case .text(let placeholder) = segment, placeholder.content.isEmpty else { return nil }
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift:127:11: error: 'Transcript' is unavailable in tvOS
125 | }
126 |
127 | extension Transcript.Response {
    |           `- error: 'Transcript' is unavailable in tvOS
128 |   /// The server-side tool round-trip `segment` holds the place of, or `nil`
129 |   /// for an ordinary segment.
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift:150:11: error: 'Transcript' is unavailable in tvOS
148 | }
149 |
150 | extension Transcript {
    |           `- error: 'Transcript' is unavailable in tvOS
151 |   /// Every server-tool round-trip in the conversation, in order, with each
152 |   /// result paired to its call wherever the two arrived. Derived from the
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift:139:37: error: 'metadata' is unavailable in tvOS
137 |   {
138 |     guard case .text(let placeholder) = segment, placeholder.content.isEmpty else { return nil }
139 |     let pair = TurnRecord(metadata: metadata).blocks
    |                                     `- error: 'metadata' is unavailable in tvOS
140 |       .filter { block in
141 |         switch block.kind {
FoundationModels.Transcript.Response.metadata:6:16: note: 'metadata' has been explicitly marked unavailable here
4 |     @backDeployed(before: iOS 27.0, macOS 27.0, visionOS 27.0)
5 |     @available(tvOS, unavailable)
6 |     public var metadata: [String : GeneratedContent] { get }  }
  |                `- note: 'metadata' has been explicitly marked unavailable here
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift:156:13: error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
154 |   public var claudeServerToolActivities: [ClaudeServerToolActivity] {
155 |     ClaudeServerToolActivity.derive(
156 |       from: flatMap { entry -> [TurnRecord.Block] in
    |             `- error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
157 |         guard case .response(let response) = entry else { return [] }
158 |         return TurnRecord(metadata: response.metadata).blocks
FoundationModels.Transcript:3:11: note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | extension Transcript : RandomAccessCollection {
   |           `- note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 4 |     public typealias Index = Int
 5 |     public subscript(index: Transcript.Index) -> Transcript.Entry { get set }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift:158:46: error: 'metadata' is unavailable in tvOS
156 |       from: flatMap { entry -> [TurnRecord.Block] in
157 |         guard case .response(let response) = entry else { return [] }
158 |         return TurnRecord(metadata: response.metadata).blocks
    |                                              `- error: 'metadata' is unavailable in tvOS
159 |       }
160 |     )
FoundationModels.Transcript.Response.metadata:6:16: note: 'metadata' has been explicitly marked unavailable here
4 |     @backDeployed(before: iOS 27.0, macOS 27.0, visionOS 27.0)
5 |     @available(tvOS, unavailable)
6 |     public var metadata: [String : GeneratedContent] { get }  }
  |                `- note: 'metadata' has been explicitly marked unavailable here
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:39:14: error: 'LanguageModelError' is unavailable in tvOS
37 |     }
38 |     if let url = error as? URLError, url.code == .timedOut {
39 |       return LanguageModelError.timeout(.init(debugDescription: url.localizedDescription))
   |              `- error: 'LanguageModelError' is unavailable in tvOS
40 |     }
41 |     if let image = error as? ClaudeImage.Error {
FoundationModels.LanguageModelError:3:13: note: 'LanguageModelError' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public enum LanguageModelError : LocalizedError {
   |             `- note: 'LanguageModelError' has been explicitly marked unavailable here
 4 |     case contextSizeExceeded(LanguageModelError.ContextSizeExceeded)
 5 |     case rateLimited(LanguageModelError.RateLimited)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:39:42: error: 'init(debugDescription:metadata:)' is unavailable in tvOS
37 |     }
38 |     if let url = error as? URLError, url.code == .timedOut {
39 |       return LanguageModelError.timeout(.init(debugDescription: url.localizedDescription))
   |                                          `- error: 'init(debugDescription:metadata:)' is unavailable in tvOS
40 |     }
41 |     if let image = error as? ClaudeImage.Error {
FoundationModels.LanguageModelError.Timeout.init:3:8: note: 'init(debugDescription:metadata:)' has been explicitly marked unavailable here
1 | enum LanguageModelError {
2 |   struct Timeout {
3 | public init(debugDescription: String, metadata: [String : any Sendable] = [:])  }
  |        `- note: 'init(debugDescription:metadata:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:42:14: error: 'LanguageModelError' is unavailable in tvOS
40 |     }
41 |     if let image = error as? ClaudeImage.Error {
42 |       return LanguageModelError.unsupportedTranscriptContent(
   |              `- error: 'LanguageModelError' is unavailable in tvOS
43 |         .init(
44 |           unsupportedContent: [],
FoundationModels.LanguageModelError:3:13: note: 'LanguageModelError' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public enum LanguageModelError : LocalizedError {
   |             `- note: 'LanguageModelError' has been explicitly marked unavailable here
 4 |     case contextSizeExceeded(LanguageModelError.ContextSizeExceeded)
 5 |     case rateLimited(LanguageModelError.RateLimited)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeServerToolActivity.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ErrorMapper.swift
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:43:10: error: 'init(unsupportedContent:debugDescription:metadata:)' is unavailable in tvOS
41 |     if let image = error as? ClaudeImage.Error {
42 |       return LanguageModelError.unsupportedTranscriptContent(
43 |         .init(
   |          `- error: 'init(unsupportedContent:debugDescription:metadata:)' is unavailable in tvOS
44 |           unsupportedContent: [],
45 |           debugDescription: image.errorDescription ?? "Image could not be prepared for upload."
FoundationModels.LanguageModelError.UnsupportedTranscriptContent.init:3:8: note: 'init(unsupportedContent:debugDescription:metadata:)' has been explicitly marked unavailable here
1 | enum LanguageModelError {
2 |   struct UnsupportedTranscriptContent {
3 | public init(unsupportedContent: [Transcript.Entry], debugDescription: String, metadata: [String : any Sendable] = [:])  }
  |        `- note: 'init(unsupportedContent:debugDescription:metadata:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:72:14: error: 'LanguageModelError' is unavailable in tvOS
70 |       // The API doesn't say when capacity returns, so no reset date is
71 |       // fabricated — callers pick their own backoff.
72 |       return LanguageModelError.rateLimited(.init(resetDate: nil, debugDescription: detail))
   |              `- error: 'LanguageModelError' is unavailable in tvOS
73 |     case .requestTooLarge:
74 |       // The API reports neither the window nor the prompt's token count.
FoundationModels.LanguageModelError:3:13: note: 'LanguageModelError' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public enum LanguageModelError : LocalizedError {
   |             `- note: 'LanguageModelError' has been explicitly marked unavailable here
 4 |     case contextSizeExceeded(LanguageModelError.ContextSizeExceeded)
 5 |     case rateLimited(LanguageModelError.RateLimited)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:72:46: error: 'init(resetDate:debugDescription:metadata:)' is unavailable in tvOS
70 |       // The API doesn't say when capacity returns, so no reset date is
71 |       // fabricated — callers pick their own backoff.
72 |       return LanguageModelError.rateLimited(.init(resetDate: nil, debugDescription: detail))
   |                                              `- error: 'init(resetDate:debugDescription:metadata:)' is unavailable in tvOS
73 |     case .requestTooLarge:
74 |       // The API reports neither the window nor the prompt's token count.
FoundationModels.LanguageModelError.RateLimited.init:3:8: note: 'init(resetDate:debugDescription:metadata:)' has been explicitly marked unavailable here
1 | enum LanguageModelError {
2 |   struct RateLimited {
3 | public init(resetDate: Date?, debugDescription: String, metadata: [String : any Sendable] = [:])  }
  |        `- note: 'init(resetDate:debugDescription:metadata:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:75:14: error: 'LanguageModelError' is unavailable in tvOS
73 |     case .requestTooLarge:
74 |       // The API reports neither the window nor the prompt's token count.
75 |       return LanguageModelError.contextSizeExceeded(
   |              `- error: 'LanguageModelError' is unavailable in tvOS
76 |         .init(contextSize: 0, tokenCount: 0, debugDescription: detail)
77 |       )
FoundationModels.LanguageModelError:3:13: note: 'LanguageModelError' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public enum LanguageModelError : LocalizedError {
   |             `- note: 'LanguageModelError' has been explicitly marked unavailable here
 4 |     case contextSizeExceeded(LanguageModelError.ContextSizeExceeded)
 5 |     case rateLimited(LanguageModelError.RateLimited)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:76:10: error: 'init(contextSize:tokenCount:debugDescription:metadata:)' is unavailable in tvOS
74 |       // The API reports neither the window nor the prompt's token count.
75 |       return LanguageModelError.contextSizeExceeded(
76 |         .init(contextSize: 0, tokenCount: 0, debugDescription: detail)
   |          `- error: 'init(contextSize:tokenCount:debugDescription:metadata:)' is unavailable in tvOS
77 |       )
78 |     case .invalidRequest where error.message.lowercased().contains("context"):
FoundationModels.LanguageModelError.ContextSizeExceeded.init:3:8: note: 'init(contextSize:tokenCount:debugDescription:metadata:)' has been explicitly marked unavailable here
1 | enum LanguageModelError {
2 |   struct ContextSizeExceeded {
3 | public init(contextSize: Int, tokenCount: Int, debugDescription: String, metadata: [String : any Sendable] = [:])  }
  |        `- note: 'init(contextSize:tokenCount:debugDescription:metadata:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift:79:14: error: 'LanguageModelError' is unavailable in tvOS
77 |       )
78 |     case .invalidRequest where error.message.lowercased().contains("context"):
79 |       return LanguageModelError.contextSizeExceeded(
   |              `- error: 'LanguageModelError' is unavailable in tvOS
80 |         .init(contextSize: 0, tokenCount: 0, debugDescription: detail)
81 |       )
FoundationModels.LanguageModelError:3:13: note: 'LanguageModelError' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public enum LanguageModelError : LocalizedError {
   |             `- note: 'LanguageModelError' has been explicitly marked unavailable here
 4 |     case contextSizeExceeded(LanguageModelError.ContextSizeExceeded)
 5 |     case rateLimited(LanguageModelError.RateLimited)
SwiftCompile normal arm64 Compiling\ EventTranslator.swift,\ RequestBuilder.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:98:26: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
 96 |   /// one place instead of at every send site.
 97 |   private final class ChannelSink {
 98 |     private let channel: LanguageModelExecutorGenerationChannel
    |                          `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
 99 |     private var pendingFirstWrite: (@Sendable () -> Void)?
100 |
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:102:18: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
100 |
101 |     init(
102 |       _ channel: LanguageModelExecutorGenerationChannel,
    |                  `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
103 |       onFirstWrite: (@Sendable () -> Void)?
104 |     ) {
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:109:24: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
107 |     }
108 |
109 |     func send(_ event: LanguageModelExecutorGenerationChannel.Event) async {
    |                        `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
110 |       pendingFirstWrite?()
111 |       pendingFirstWrite = nil
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:124:19: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
122 |   mutating func translate(
123 |     _ events: AsyncThrowingStream<StreamEvent, Error>,
124 |     into channel: LanguageModelExecutorGenerationChannel,
    |                   `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
125 |     onFirstChannelWrite: (@Sendable () -> Void)? = nil
126 |   ) async throws -> StopReason? {
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:112:21: error: 'send' is unavailable in tvOS
110 |       pendingFirstWrite?()
111 |       pendingFirstWrite = nil
112 |       await channel.send(event)
    |                     `- error: 'send' is unavailable in tvOS
113 |     }
114 |   }
FoundationModels.LanguageModelExecutorGenerationChannel.send:2:37: note: 'send' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 | nonisolated(nonsending) public func send(_ event: LanguageModelExecutorGenerationChannel.Event) async}
  |                                     `- note: 'send' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:146:14: error: 'toolCalls(entryID:action:)' is unavailable in tvOS
144 |           // Opens the call even if no argument deltas follow.
145 |           await channel.send(
146 |             .toolCalls(
    |              `- error: 'toolCalls(entryID:action:)' is unavailable in tvOS
147 |               entryID: toolCallsEntryID,
148 |               action: .toolCall(id: id, name: name, action: .appendArguments("", tokenCount: 0))
FoundationModels.LanguageModelExecutorGenerationChannel.Event.toolCalls:3:20: note: 'toolCalls(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 |   struct Event {
3 | public static func toolCalls(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.ToolCalls.Action) -> LanguageModelExecutorGenerationChannel.Event  }
  |                    `- note: 'toolCalls(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:148:24: error: 'toolCall(id:name:action:)' is unavailable in tvOS
146 |             .toolCalls(
147 |               entryID: toolCallsEntryID,
148 |               action: .toolCall(id: id, name: name, action: .appendArguments("", tokenCount: 0))
    |                        `- error: 'toolCall(id:name:action:)' is unavailable in tvOS
149 |             )
150 |           )
FoundationModels.LanguageModelExecutorGenerationChannel.ToolCalls.Action.toolCall:4:20: note: 'toolCall(id:name:action:)' has been explicitly marked unavailable here
2 |   struct ToolCalls {
3 |     struct Action {
4 | public static func toolCall(id: String, name: String, action: LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action) -> LanguageModelExecutorGenerationChannel.ToolCalls.Action    }
  |                    `- note: 'toolCall(id:name:action:)' has been explicitly marked unavailable here
5 |   }
6 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:148:62: error: 'appendArguments(_:tokenCount:)' is unavailable in tvOS
146 |             .toolCalls(
147 |               entryID: toolCallsEntryID,
148 |               action: .toolCall(id: id, name: name, action: .appendArguments("", tokenCount: 0))
    |                                                              `- error: 'appendArguments(_:tokenCount:)' is unavailable in tvOS
149 |             )
150 |           )
FoundationModels.LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action.appendArguments:5:20: note: 'appendArguments(_:tokenCount:)' has been explicitly marked unavailable here
3 |     struct ToolCall {
4 |       struct Action {
5 | public static func appendArguments(_ content: String, tokenCount: Int) -> LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action      }
  |                    `- note: 'appendArguments(_:tokenCount:)' has been explicitly marked unavailable here
6 |     }
7 |   }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:172:12: error: 'response(entryID:action:)' is unavailable in tvOS
170 |         let total = settledUsage + currentUsage
171 |         await channel.send(
172 |           .response(
    |            `- error: 'response(entryID:action:)' is unavailable in tvOS
173 |             entryID: responseEntryID,
174 |             action: .updateUsage(
FoundationModels.LanguageModelExecutorGenerationChannel.Event.response:3:20: note: 'response(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 |   struct Event {
3 | public static func response(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Response.Action) -> LanguageModelExecutorGenerationChannel.Event  }
  |                    `- note: 'response(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:174:22: error: 'updateUsage(input:output:metadata:)' is unavailable in tvOS
172 |           .response(
173 |             entryID: responseEntryID,
174 |             action: .updateUsage(
    |                      `- error: 'updateUsage(input:output:metadata:)' is unavailable in tvOS
175 |               input: .init(totalTokenCount: total.prompt, cachedTokenCount: total.cached),
176 |               output: .init(totalTokenCount: total.output, reasoningTokenCount: 0)
FoundationModels.LanguageModelExecutorGenerationChannel.Response.Action.updateUsage:4:20: note: 'updateUsage(input:output:metadata:)' has been explicitly marked unavailable here
2 |   struct Response {
3 |     struct Action {
4 | public static func updateUsage(input: LanguageModelExecutorGenerationChannel.Usage.Input, output: LanguageModelExecutorGenerationChannel.Usage.Output, metadata: [String : any ConvertibleToGeneratedContent] = [:]) -> LanguageModelExecutorGenerationChannel.Response.Action    }
  |                    `- note: 'updateUsage(input:output:metadata:)' has been explicitly marked unavailable here
5 |   }
6 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:222:10: error: 'response(entryID:action:)' is unavailable in tvOS
220 |     case (.text(let text), .text(let segmentID)) where !text.isEmpty:
221 |       await channel.send(
222 |         .response(
    |          `- error: 'response(entryID:action:)' is unavailable in tvOS
223 |           entryID: responseEntryID,
224 |           action: .appendText(text, segmentID: segmentID, tokenCount: Self.deltaTokenCount)
FoundationModels.LanguageModelExecutorGenerationChannel.Event.response:3:20: note: 'response(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 |   struct Event {
3 | public static func response(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Response.Action) -> LanguageModelExecutorGenerationChannel.Event  }
  |                    `- note: 'response(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:224:20: error: 'appendText(_:segmentID:tokenCount:)' is unavailable in tvOS
222 |         .response(
223 |           entryID: responseEntryID,
224 |           action: .appendText(text, segmentID: segmentID, tokenCount: Self.deltaTokenCount)
    |                    `- error: 'appendText(_:segmentID:tokenCount:)' is unavailable in tvOS
225 |         )
226 |       )
FoundationModels.LanguageModelExecutorGenerationChannel.Response.Action.appendText:4:20: note: 'appendText(_:segmentID:tokenCount:)' has been explicitly marked unavailable here
2 |   struct Response {
3 |     struct Action {
4 | public static func appendText(_ text: String, segmentID: String? = nil, tokenCount: Int) -> LanguageModelExecutorGenerationChannel.Response.Action    }
  |                    `- note: 'appendText(_:segmentID:tokenCount:)' has been explicitly marked unavailable here
5 |   }
6 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:230:10: error: 'reasoning(entryID:action:)' is unavailable in tvOS
228 |     case (.thinking(let text), .thinking(let entryID)):
229 |       await channel.send(
230 |         .reasoning(entryID: entryID, action: .appendText(text, tokenCount: Self.deltaTokenCount))
    |          `- error: 'reasoning(entryID:action:)' is unavailable in tvOS
231 |       )
232 |
FoundationModels.LanguageModelExecutorGenerationChannel.Event.reasoning:3:20: note: 'reasoning(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 |   struct Event {
3 | public static func reasoning(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Reasoning.Action) -> LanguageModelExecutorGenerationChannel.Event  }
  |                    `- note: 'reasoning(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:230:47: error: 'appendText(_:segmentID:tokenCount:)' is unavailable in tvOS
228 |     case (.thinking(let text), .thinking(let entryID)):
229 |       await channel.send(
230 |         .reasoning(entryID: entryID, action: .appendText(text, tokenCount: Self.deltaTokenCount))
    |                                               `- error: 'appendText(_:segmentID:tokenCount:)' is unavailable in tvOS
231 |       )
232 |
FoundationModels.LanguageModelExecutorGenerationChannel.Reasoning.Action.appendText:4:20: note: 'appendText(_:segmentID:tokenCount:)' has been explicitly marked unavailable here
2 |   struct Reasoning {
3 |     struct Action {
4 | public static func appendText(_ text: String, segmentID: String? = nil, tokenCount: Int) -> LanguageModelExecutorGenerationChannel.Reasoning.Action    }
  |                    `- note: 'appendText(_:segmentID:tokenCount:)' has been explicitly marked unavailable here
5 |   }
6 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:235:10: error: 'toolCalls(entryID:action:)' is unavailable in tvOS
233 |     case (.inputJSON(let chunk), .toolUse(let id, let name)):
234 |       await channel.send(
235 |         .toolCalls(
    |          `- error: 'toolCalls(entryID:action:)' is unavailable in tvOS
236 |           entryID: toolCallsEntryID,
237 |           action: .toolCall(
FoundationModels.LanguageModelExecutorGenerationChannel.Event.toolCalls:3:20: note: 'toolCalls(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 |   struct Event {
3 | public static func toolCalls(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.ToolCalls.Action) -> LanguageModelExecutorGenerationChannel.Event  }
  |                    `- note: 'toolCalls(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:237:20: error: 'toolCall(id:name:action:)' is unavailable in tvOS
235 |         .toolCalls(
236 |           entryID: toolCallsEntryID,
237 |           action: .toolCall(
    |                    `- error: 'toolCall(id:name:action:)' is unavailable in tvOS
238 |             id: id,
239 |             name: name,
FoundationModels.LanguageModelExecutorGenerationChannel.ToolCalls.Action.toolCall:4:20: note: 'toolCall(id:name:action:)' has been explicitly marked unavailable here
2 |   struct ToolCalls {
3 |     struct Action {
4 | public static func toolCall(id: String, name: String, action: LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action) -> LanguageModelExecutorGenerationChannel.ToolCalls.Action    }
  |                    `- note: 'toolCall(id:name:action:)' has been explicitly marked unavailable here
5 |   }
6 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:240:22: error: 'appendArguments(_:tokenCount:)' is unavailable in tvOS
238 |             id: id,
239 |             name: name,
240 |             action: .appendArguments(chunk, tokenCount: Self.deltaTokenCount)
    |                      `- error: 'appendArguments(_:tokenCount:)' is unavailable in tvOS
241 |           )
242 |         )
FoundationModels.LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action.appendArguments:5:20: note: 'appendArguments(_:tokenCount:)' has been explicitly marked unavailable here
3 |     struct ToolCall {
4 |       struct Action {
5 | public static func appendArguments(_ content: String, tokenCount: Int) -> LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action      }
  |                    `- note: 'appendArguments(_:tokenCount:)' has been explicitly marked unavailable here
6 |     }
7 |   }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:271:12: error: 'reasoning(entryID:action:)' is unavailable in tvOS
269 |       {
270 |         await channel.send(
271 |           .reasoning(entryID: entryID, action: .updateSignature(signature, tokenCount: 0))
    |            `- error: 'reasoning(entryID:action:)' is unavailable in tvOS
272 |         )
273 |       }
FoundationModels.LanguageModelExecutorGenerationChannel.Event.reasoning:3:20: note: 'reasoning(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 |   struct Event {
3 | public static func reasoning(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Reasoning.Action) -> LanguageModelExecutorGenerationChannel.Event  }
  |                    `- note: 'reasoning(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:271:49: error: 'updateSignature(_:tokenCount:)' is unavailable in tvOS
269 |       {
270 |         await channel.send(
271 |           .reasoning(entryID: entryID, action: .updateSignature(signature, tokenCount: 0))
    |                                                 `- error: 'updateSignature(_:tokenCount:)' is unavailable in tvOS
272 |         )
273 |       }
FoundationModels.LanguageModelExecutorGenerationChannel.Reasoning.Action.updateSignature:4:20: note: 'updateSignature(_:tokenCount:)' has been explicitly marked unavailable here
2 |   struct Reasoning {
3 |     struct Action {
4 | public static func updateSignature(_ signature: Data, tokenCount: Int) -> LanguageModelExecutorGenerationChannel.Reasoning.Action    }
  |                    `- note: 'updateSignature(_:tokenCount:)' has been explicitly marked unavailable here
5 |   }
6 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:275:10: error: 'reasoning(entryID:action:)' is unavailable in tvOS
273 |       }
274 |       await channel.send(
275 |         .reasoning(
    |          `- error: 'reasoning(entryID:action:)' is unavailable in tvOS
276 |           entryID: entryID,
277 |           action: .updateMetadata(TurnRecord.metadata(turn: turn, stored: [block.stored]))
FoundationModels.LanguageModelExecutorGenerationChannel.Event.reasoning:3:20: note: 'reasoning(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 |   struct Event {
3 | public static func reasoning(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Reasoning.Action) -> LanguageModelExecutorGenerationChannel.Event  }
  |                    `- note: 'reasoning(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:277:20: error: 'updateMetadata' is unavailable in tvOS
275 |         .reasoning(
276 |           entryID: entryID,
277 |           action: .updateMetadata(TurnRecord.metadata(turn: turn, stored: [block.stored]))
    |                    `- error: 'updateMetadata' is unavailable in tvOS
278 |         )
279 |       )
FoundationModels.LanguageModelExecutorGenerationChannel.Reasoning.Action.updateMetadata:4:20: note: 'updateMetadata' has been explicitly marked unavailable here
2 |   struct Reasoning {
3 |     struct Action {
4 | public static func updateMetadata(_ values: [String : any ConvertibleToGeneratedContent]) -> LanguageModelExecutorGenerationChannel.Reasoning.Action    }
  |                    `- note: 'updateMetadata' has been explicitly marked unavailable here
5 |   }
6 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:283:10: error: 'toolCalls(entryID:action:)' is unavailable in tvOS
281 |     case .toolUse(let id, let name):
282 |       await channel.send(
283 |         .toolCalls(
    |          `- error: 'toolCalls(entryID:action:)' is unavailable in tvOS
284 |           entryID: toolCallsEntryID,
285 |           action: .toolCall(
FoundationModels.LanguageModelExecutorGenerationChannel.Event.toolCalls:3:20: note: 'toolCalls(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 |   struct Event {
3 | public static func toolCalls(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.ToolCalls.Action) -> LanguageModelExecutorGenerationChannel.Event  }
  |                    `- note: 'toolCalls(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:285:20: error: 'toolCall(id:name:action:)' is unavailable in tvOS
283 |         .toolCalls(
284 |           entryID: toolCallsEntryID,
285 |           action: .toolCall(
    |                    `- error: 'toolCall(id:name:action:)' is unavailable in tvOS
286 |             id: id,
287 |             name: name,
FoundationModels.LanguageModelExecutorGenerationChannel.ToolCalls.Action.toolCall:4:20: note: 'toolCall(id:name:action:)' has been explicitly marked unavailable here
2 |   struct ToolCalls {
3 |     struct Action {
4 | public static func toolCall(id: String, name: String, action: LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action) -> LanguageModelExecutorGenerationChannel.ToolCalls.Action    }
  |                    `- note: 'toolCall(id:name:action:)' has been explicitly marked unavailable here
5 |   }
6 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:288:22: error: 'updateMetadata' is unavailable in tvOS
286 |             id: id,
287 |             name: name,
288 |             action: .updateMetadata(TurnRecord.metadata(turn: turn, stored: [block.stored]))
    |                      `- error: 'updateMetadata' is unavailable in tvOS
289 |           )
290 |         )
FoundationModels.LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action.updateMetadata:5:20: note: 'updateMetadata' has been explicitly marked unavailable here
3 |     struct ToolCall {
4 |       struct Action {
5 | public static func updateMetadata(_ values: [String : any ConvertibleToGeneratedContent]) -> LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action      }
  |                    `- note: 'updateMetadata' has been explicitly marked unavailable here
6 |     }
7 |   }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:296:10: error: 'response(entryID:action:)' is unavailable in tvOS
294 |       responseStored.append(block.stored)
295 |       await channel.send(
296 |         .response(
    |          `- error: 'response(entryID:action:)' is unavailable in tvOS
297 |           entryID: responseEntryID,
298 |           action: .updateMetadata(
FoundationModels.LanguageModelExecutorGenerationChannel.Event.response:3:20: note: 'response(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 |   struct Event {
3 | public static func response(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Response.Action) -> LanguageModelExecutorGenerationChannel.Event  }
  |                    `- note: 'response(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:298:20: error: 'updateMetadata' is unavailable in tvOS
296 |         .response(
297 |           entryID: responseEntryID,
298 |           action: .updateMetadata(
    |                    `- error: 'updateMetadata' is unavailable in tvOS
299 |             TurnRecord.metadata(turn: turn, stored: responseStored, model: model)
300 |           )
FoundationModels.LanguageModelExecutorGenerationChannel.Response.Action.updateMetadata:4:20: note: 'updateMetadata' has been explicitly marked unavailable here
2 |   struct Response {
3 |     struct Action {
4 | public static func updateMetadata(_ values: [String : any ConvertibleToGeneratedContent]) -> LanguageModelExecutorGenerationChannel.Response.Action    }
  |                    `- note: 'updateMetadata' has been explicitly marked unavailable here
5 |   }
6 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:313:12: error: 'response(entryID:action:)' is unavailable in tvOS
311 |       if let placeholderID {
312 |         await channel.send(
313 |           .response(
    |            `- error: 'response(entryID:action:)' is unavailable in tvOS
314 |             entryID: responseEntryID,
315 |             action: .appendText("", segmentID: placeholderID, tokenCount: Self.deltaTokenCount)
FoundationModels.LanguageModelExecutorGenerationChannel.Event.response:3:20: note: 'response(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 |   struct Event {
3 | public static func response(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Response.Action) -> LanguageModelExecutorGenerationChannel.Event  }
  |                    `- note: 'response(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:315:22: error: 'appendText(_:segmentID:tokenCount:)' is unavailable in tvOS
313 |           .response(
314 |             entryID: responseEntryID,
315 |             action: .appendText("", segmentID: placeholderID, tokenCount: Self.deltaTokenCount)
    |                      `- error: 'appendText(_:segmentID:tokenCount:)' is unavailable in tvOS
316 |           )
317 |         )
FoundationModels.LanguageModelExecutorGenerationChannel.Response.Action.appendText:4:20: note: 'appendText(_:segmentID:tokenCount:)' has been explicitly marked unavailable here
2 |   struct Response {
3 |     struct Action {
4 | public static func appendText(_ text: String, segmentID: String? = nil, tokenCount: Int) -> LanguageModelExecutorGenerationChannel.Response.Action    }
  |                    `- note: 'appendText(_:segmentID:tokenCount:)' has been explicitly marked unavailable here
5 |   }
6 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:21:19: error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
 19 |
 20 |   static func build(
 21 |     from request: LanguageModelExecutorGenerationRequest,
    |                   `- error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
 22 |     model: ClaudeModel,
 23 |     fixedEffort: ClaudeModel.Effort? = nil,
FoundationModels.LanguageModelExecutorGenerationRequest:3:15: note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationRequest : Sendable {
   |               `- note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
 4 |     public var id: UUID
 5 |     public var transcript: Transcript
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:259:39: error: 'GenerationSchema' is unavailable in tvOS
257 |   /// those are stripped too (the framework validates `@Guide` bounds
258 |   /// client-side after decode).
259 |   static func jsonSchema(from schema: GenerationSchema) -> JSONValue {
    |                                       `- error: 'GenerationSchema' is unavailable in tvOS
260 |     guard let value = JSONValue.encoded(schema) else {
261 |       return .object(["type": "object"])
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:309:16: error: 'Transcript' is unavailable in tvOS
307 |     case user(Message)
308 |     case toolResult(id: String, Message)
309 |     case turn([Transcript.Entry])
    |                `- error: 'Transcript' is unavailable in tvOS
310 |   }
311 |
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:322:18: error: 'Transcript' is unavailable in tvOS
320 |   /// them; text cut off mid-block was the last thing its turn produced.
321 |   private static func assistantContent(
322 |     of entries: [Transcript.Entry],
    |                  `- error: 'Transcript' is unavailable in tvOS
323 |     replayThinking: Bool,
324 |     pairing: ToolPairing
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:418:18: error: 'Transcript' is unavailable in tvOS
416 |   /// the recorded ones.
417 |   private static func unfinishedText(
418 |     of response: Transcript.Response,
    |                  `- error: 'Transcript' is unavailable in tvOS
419 |     beyond record: TurnRecord
420 |   ) -> [ContentBlock] {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:511:42: error: 'Transcript' is unavailable in tvOS
509 |   }
510 |
511 |   private static func text(of segments: [Transcript.Segment], separator: String = "\n") -> String {
    |                                          `- error: 'Transcript' is unavailable in tvOS
512 |     segments.compactMap {
513 |       switch $0 {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:523:53: error: 'Transcript' is unavailable in tvOS
521 |   }
522 |
523 |   private static func contentBlocks(from segments: [Transcript.Segment]) throws -> [ContentBlock] {
    |                                                     `- error: 'Transcript' is unavailable in tvOS
524 |     try segments.flatMap { segment -> [ContentBlock] in
525 |       switch segment {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:540:46: error: 'GeneratedContent' is unavailable in tvOS
538 |   }
539 |
540 |   private static func toolInput(_ arguments: GeneratedContent) -> JSONValue {
    |                                              `- error: 'GeneratedContent' is unavailable in tvOS
541 |     let input = JSONValue(arguments)
542 |     return if case .object = input { input } else { [:] }
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:545:45: error: 'Transcript' is unavailable in tvOS
543 |   }
544 |
545 |   private static func toolDefinition(_ def: Transcript.ToolDefinition) -> ToolDefinition {
    |                                             `- error: 'Transcript' is unavailable in tvOS
546 |     ToolDefinition(
547 |       name: def.name,
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:564:14: error: 'ContextOptions' is unavailable in tvOS
562 |   private static func resolvedEffort(
563 |     fixed: ClaudeModel.Effort?,
564 |     options: ContextOptions,
    |              `- error: 'ContextOptions' is unavailable in tvOS
565 |     model: ClaudeModel
566 |   ) -> OutputConfig.Effort? {
FoundationModels.ContextOptions:3:15: note: 'ContextOptions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct ContextOptions : Sendable, Equatable {
  |               `- note: 'ContextOptions' has been explicitly marked unavailable here
4 |     public var includeSchemaInPrompt: Bool?
5 |     public var reasoningLevel: ContextOptions.ReasoningLevel?
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:603:15: error: 'GenerationOptions' is unavailable in tvOS
601 |   /// `.allowed` is the API's default — omitted rather than sent.
602 |   private static func toolChoice(
603 |     for mode: GenerationOptions.ToolCallingMode?
    |               `- error: 'GenerationOptions' is unavailable in tvOS
604 |   ) -> ToolChoice? {
605 |     guard let mode else { return nil }
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:621:16: error: 'GenerationOptions' is unavailable in tvOS
619 |   /// custom ``ClaudeModel`` with `adaptiveThinking: false`.
620 |   private static func applySampling(
621 |     _ options: GenerationOptions,
    |                `- error: 'GenerationOptions' is unavailable in tvOS
622 |     to req: inout MessagesRequest,
623 |     allowed: Bool
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:651:15: error: 'GenerationSchema' is unavailable in tvOS
649 |   /// same reason: the schema always reaches the model.
650 |   private static func applyStructuredOutput(
651 |     _ schema: GenerationSchema,
    |               `- error: 'GenerationSchema' is unavailable in tvOS
652 |     to req: inout MessagesRequest
653 |   ) {
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:32:64: error: 'toolCallingMode' is unavailable in tvOS
 30 |     // thinking active, and prior-turn thinking may always be omitted — so
 31 |     // reasoning entries replay only on requests that send `thinking`.
 32 |     let toolChoice = toolChoice(for: request.generationOptions.toolCallingMode)
    |                                                                `- error: 'toolCallingMode' is unavailable in tvOS
 33 |     // Forced tool use is a contract — the API rejects thinking alongside
 34 |     // it, so thinking yields for that request.
FoundationModels.GenerationOptions.toolCallingMode:4:14: note: 'toolCallingMode' has been explicitly marked unavailable here
2 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
3 |   @available(tvOS, unavailable)
4 |   public var toolCallingMode: GenerationOptions.ToolCallingMode?}
  |              `- note: 'toolCallingMode' has been explicitly marked unavailable here
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:41:16: error: 'Transcript' is unavailable in tvOS
 39 |     // assistant message.
 40 |     var pieces: [Piece] = []
 41 |     var turn: [Transcript.Entry] = []
    |                `- error: 'Transcript' is unavailable in tvOS
 42 |     func closeTurn() {
 43 |       if !turn.isEmpty { pieces.append(.turn(turn)) }
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:128:44: error: 'maximumResponseTokens' is unavailable in tvOS
126 |     var req = MessagesRequest(
127 |       model: model.id,
128 |       maxTokens: request.generationOptions.maximumResponseTokens ?? 16_000,
    |                                            `- error: 'maximumResponseTokens' is unavailable in tvOS
129 |       system: system,
130 |       messages: messages,
FoundationModels.GenerationOptions.maximumResponseTokens:4:14: note: 'maximumResponseTokens' has been explicitly marked unavailable here
2 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
3 |   @available(tvOS, unavailable)
4 |   public var maximumResponseTokens: Int?}
  |              `- note: 'maximumResponseTokens' has been explicitly marked unavailable here
5 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:155:15: error: 'LanguageModelError' is unavailable in tvOS
153 |       let chain = [model] + fallbacks.knownModels
154 |       if let unsupported = chain.first(where: { !$0.capabilities.structuredOutput }) {
155 |         throw LanguageModelError.unsupportedGenerationGuide(
    |               `- error: 'LanguageModelError' is unavailable in tvOS
156 |           .init(
157 |             schemaName: nil,
FoundationModels.LanguageModelError:3:13: note: 'LanguageModelError' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public enum LanguageModelError : LocalizedError {
   |             `- note: 'LanguageModelError' has been explicitly marked unavailable here
 4 |     case contextSizeExceeded(LanguageModelError.ContextSizeExceeded)
 5 |     case rateLimited(LanguageModelError.RateLimited)
Assertion failed: (Range.hasLowerEndpoint()), function getVersionString at AvailabilityRange.h:337.
(to display assertion configuration options: -Xllvm -assert-help)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestSession.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestStore.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AttestationService.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AuthMode.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeError.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeFallbacks.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeImage.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModel.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModelHandover.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerTool.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift -primary-file /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift -primary-file /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ServerToolWire.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.dia -target arm64-apple-tvos27.0 -module-can-import-version CoreImage 3 7.0.0 -module-can-import-version DeviceCheck 1.0.0 1.0.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=5 -suppress-warnings -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -user-module-version 0.2.2 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -Xcc -fmodules-prune-interval=86400 -Xcc -fmodules-prune-after=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name ClaudeForFoundationModels -package-name claudeforfoundationmodels -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels.swiftmodule -index-unit-output-path /ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.o -index-unit-output-path /ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
1.	Apple Swift version 6.4 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)
2.	Compiling with the current language version
3.	While evaluating request TypeCheckPrimaryFileRequest(source_file "/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(ClaudeForFoundationModels.(file).RequestBuilder.build(from:model:fixedEffort:serverTools:fallbacks:)@/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:20:15)
5.	While evaluating request DesugarForEachStmtRequest(ForEach)
6.	Assertion failed: (Range.hasLowerEndpoint()), function getVersionString at AvailabilityRange.h:337.
| 	(to display assertion configuration options: -Xllvm -assert-help)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x000000010b16fbd0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x000000010b16d358 llvm::sys::RunSignalHandlers() + 172
2  swift-frontend           0x000000010b1701c8 SignalHandler(int, __siginfo*, void*) + 360
3  libsystem_platform.dylib 0x000000018360d744 _sigtramp + 56
4  libsystem_pthread.dylib  0x00000001836038d8 pthread_kill + 296
5  libsystem_c.dylib        0x0000000183509978 abort + 148
6  swift-frontend           0x000000010691ebc4 _ABORT(char const*, int, char const*, llvm::function_ref<void (llvm::raw_ostream&)>) + 0
7  swift-frontend           0x000000010691eb80 _abortWithMessage(llvm::StringRef) + 0
8  swift-frontend           0x0000000106271a5c (anonymous namespace)::DesugarForEachStmt::emitDiagnosticsForUnavailableConformance(swift::Type, swift::AvailabilityConstraint) + 1268
9  swift-frontend           0x0000000106268a40 swift::DesugarForEachStmtRequest::evaluate(swift::Evaluator&, swift::ForEachStmt*) const + 456
10 swift-frontend           0x00000001068b05a8 swift::DesugarForEachStmtRequest::OutputType swift::Evaluator::getResultUncached<swift::DesugarForEachStmtRequest, swift::DesugarForEachStmtRequest::OutputType swift::evaluateOrDefault<swift::DesugarForEachStmtRequest>(swift::Evaluator&, swift::DesugarForEachStmtRequest, swift::DesugarForEachStmtRequest::OutputType)::'lambda'()>(swift::DesugarForEachStmtRequest const&, swift::DesugarForEachStmtRequest::OutputType swift::evaluateOrDefault<swift::DesugarForEachStmtRequest>(swift::Evaluator&, swift::DesugarForEachStmtRequest, swift::DesugarForEachStmtRequest::OutputType)::'lambda'()) + 656
11 swift-frontend           0x000000010626cdec (anonymous namespace)::ContextualizationWalker::walkToStmtPre(swift::Stmt*) + 340
12 swift-frontend           0x000000010656b034 (anonymous namespace)::Traversal::visit(swift::Stmt*) + 2732
13 swift-frontend           0x00000001064f30ec swift::ASTNode::walk(swift::ASTWalker&) + 288
14 swift-frontend           0x0000000106266be4 swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const + 2368
15 swift-frontend           0x00000001066de838 swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) + 680
16 swift-frontend           0x00000001066de474 swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultCached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'(), (void*)0>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) + 76
17 swift-frontend           0x00000001067a370c swift::SourceFile::typeCheckDelayedFunctions() + 72
18 swift-frontend           0x00000001062c2444 swift::TypeCheckPrimaryFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const + 1248
19 swift-frontend           0x00000001062cb244 swift::TypeCheckPrimaryFileRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'()>(swift::TypeCheckPrimaryFileRequest const&, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'()) + 648
20 swift-frontend           0x00000001062cafa8 swift::TypeCheckPrimaryFileRequest::OutputType swift::Evaluator::getResultCached<swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'(), (void*)0>(swift::TypeCheckPrimaryFileRequest const&, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'()) + 184
21 swift-frontend           0x00000001050c41a4 bool llvm::function_ref<bool (swift::SourceFile&)>::callback_fn<swift::CompilerInstance::performSema()::$_0>(long, swift::SourceFile&) + 116
22 swift-frontend           0x00000001050bd11c swift::CompilerInstance::forEachFileToTypeCheck(llvm::function_ref<bool (swift::SourceFile&)>) + 176
23 swift-frontend           0x00000001050bd03c swift::CompilerInstance::performSema() + 456
24 swift-frontend           0x0000000104c84918 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) + 556
25 swift-frontend           0x0000000104c81dc4 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3776
26 swift-frontend           0x0000000104c01008 swift::mainEntry(int, char const**) + 5600
27 dyld                     0x00000001832384e4 start + 6992
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestSession.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestStore.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AttestationService.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AuthMode.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeError.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeFallbacks.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeImage.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModel.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModelHandover.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerTool.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ErrorMapper.swift -primary-file /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift -primary-file /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ServerToolWire.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.dia -target arm64-apple-tvos27.0 -module-can-import-version CoreImage 3 7.0.0 -module-can-import-version DeviceCheck 1.0.0 1.0.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -suppress-warnings -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -user-module-version 0.2.2 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ClaudeForFoundationModels -package-name claudeforfoundationmodels -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/ClaudeForFoundationModels.swiftmodule -index-unit-output-path /ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.o -index-unit-output-path /ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
Command SwiftCompile failed with a nonzero exit code
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile EventTranslator.swift
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.dia:1:1: warning: Could not read serialized diagnostics file: Error Domain=NSCocoaErrorDomain Code=260 "The file “EventTranslator.dia” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.dia, NSURL=file:///Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/EventTranslator.dia, NSUnderlyingError=0x8212676f0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.dia:1:1: warning: Could not read serialized diagnostics file: Error Domain=NSCocoaErrorDomain Code=260 "The file “RequestBuilder.dia” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.dia, NSURL=file:///Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-appletvos/ClaudeForFoundationModels-t.build/Objects-normal/arm64/RequestBuilder.dia, NSUnderlyingError=0x821264cf0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
SwiftCompile normal arm64 Compiling\ ServerToolWire.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ServerToolWire.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ServerToolWire.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ServerToolWire.swift
SwiftCompile normal arm64 Compiling\ ClaudeError.swift,\ ClaudeExecutor.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeError.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:123:17: error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
121 |
122 |   public func respond(
123 |     to request: LanguageModelExecutorGenerationRequest,
    |                 `- error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
124 |     model: ClaudeLanguageModel,
125 |     streamingInto channel: LanguageModelExecutorGenerationChannel
FoundationModels.LanguageModelExecutorGenerationRequest:3:15: note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationRequest : Sendable {
   |               `- note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
 4 |     public var id: UUID
 5 |     public var transcript: Transcript
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:125:28: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
123 |     to request: LanguageModelExecutorGenerationRequest,
124 |     model: ClaudeLanguageModel,
125 |     streamingInto channel: LanguageModelExecutorGenerationChannel
    |                            `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
126 |   ) async throws {
127 |     do {
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:160:63: error: 'Transcript' is unavailable in tvOS
158 |   }
159 |
160 |   public func prewarm(model: ClaudeLanguageModel, transcript: Transcript) {
    |                                                               `- error: 'Transcript' is unavailable in tvOS
161 |     // Attesting at launch keeps the multi-second first-run Apple
162 |     // round-trip off the user's first prompt. Errors are dropped because
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:175:19: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
173 |     betas: [String],
174 |     translating translator: inout EventTranslator,
175 |     into channel: LanguageModelExecutorGenerationChannel
    |                   `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
176 |   ) async throws -> StopReason? {
177 |     let channelWritten = Mutex(false)
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeError.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeError.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeExecutor.swift
SwiftCompile normal arm64 Compiling\ TurnRecord.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift:114:21: error: 'ConvertibleToGeneratedContent' is unavailable in tvOS
112 |     stored: [String],
113 |     model: String? = nil
114 |   ) -> [String: any ConvertibleToGeneratedContent] {
    |                     `- error: 'ConvertibleToGeneratedContent' is unavailable in tvOS
115 |     let turnText = JSONValue.string(turn).jsonText
116 |     let modelField = model.map { ",\"\(Stored.model)\":\(JSONValue.string($0).jsonText)" } ?? ""
FoundationModels.ConvertibleToGeneratedContent:3:17: note: 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol ConvertibleToGeneratedContent : InstructionsRepresentable, PromptRepresentable {
  |                 `- note: 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
4 |     var generatedContent: GeneratedContent { get }
5 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift:127:27: error: 'GeneratedContent' is unavailable in tvOS
125 |   /// The record an entry carries; empty when it carries none or something
126 |   /// unreadable.
127 |   init(metadata: [String: GeneratedContent]) {
    |                           `- error: 'GeneratedContent' is unavailable in tvOS
128 |     self.init()
129 |     guard case .string(let text)? = metadata[Self.metadataKey]?.kind,
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift:145:18: error: 'Transcript' is unavailable in tvOS
143 |   /// The blocks recorded on a model entry — for a tool-calls entry, on each
144 |   /// of its calls.
145 |   init(of entry: Transcript.Entry) {
    |                  `- error: 'Transcript' is unavailable in tvOS
146 |     switch entry {
147 |     case .response(let response): self.init(metadata: response.metadata)
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift:159:19: error: 'GeneratedContent' is unavailable in tvOS
157 |   /// The framework value as JSON, structurally; a kind this package doesn't
158 |   /// know reads as `null`.
159 |   init(_ content: GeneratedContent) {
    |                   `- error: 'GeneratedContent' is unavailable in tvOS
160 |     switch content.kind {
161 |     case .null: self = .null
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift:119:9: error: conformance of 'String' to 'ConvertibleToGeneratedContent' is unavailable in tvOS
117 |     return [
118 |       metadataKey:
119 |         "{\"\(Stored.blocks)\":[\(stored.joined(separator: ","))],\"\(Stored.turn)\":\(turnText)\(modelField)}"
    |         `- error: conformance of 'String' to 'ConvertibleToGeneratedContent' is unavailable in tvOS
120 |     ]
121 |   }
FoundationModels.String:3:11: note: conformance of 'String' to 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension String : Generable {
  |           `- note: conformance of 'String' to 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
4 |     public static var generationSchema: GenerationSchema { get }
5 |     public init(_ content: GeneratedContent) throws
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift:129:65: error: 'kind' is unavailable in tvOS
127 |   init(metadata: [String: GeneratedContent]) {
128 |     self.init()
129 |     guard case .string(let text)? = metadata[Self.metadataKey]?.kind,
    |                                                                 `- error: 'kind' is unavailable in tvOS
130 |       let stored = JSONValue.parsed(text), case .string(let turn)? = stored[Stored.turn],
131 |       case .array(let items)? = stored[Stored.blocks]
FoundationModels.GeneratedContent.kind:2:12: note: 'kind' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public var kind: GeneratedContent.Kind { get }}
  |            `- note: 'kind' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift:147:64: error: 'metadata' is unavailable in tvOS
145 |   init(of entry: Transcript.Entry) {
146 |     switch entry {
147 |     case .response(let response): self.init(metadata: response.metadata)
    |                                                                `- error: 'metadata' is unavailable in tvOS
148 |     case .reasoning(let reasoning): self.init(metadata: reasoning.metadata)
149 |     case .toolCalls(let calls):
FoundationModels.Transcript.Response.metadata:6:16: note: 'metadata' has been explicitly marked unavailable here
4 |     @backDeployed(before: iOS 27.0, macOS 27.0, visionOS 27.0)
5 |     @available(tvOS, unavailable)
6 |     public var metadata: [String : GeneratedContent] { get }  }
  |                `- note: 'metadata' has been explicitly marked unavailable here
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift:150:31: error: conformance of 'Transcript.ToolCalls' to 'Sequence' is unavailable in tvOS
148 |     case .reasoning(let reasoning): self.init(metadata: reasoning.metadata)
149 |     case .toolCalls(let calls):
150 |       self.init(blocks: calls.flatMap { Self(metadata: $0.metadata).blocks })
    |                               `- error: conformance of 'Transcript.ToolCalls' to 'Sequence' is unavailable in tvOS
151 |     default: self.init()
152 |     }
FoundationModels.Transcript.ToolCalls:3:11: note: conformance of 'Transcript.ToolCalls' to 'Sequence' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | extension Transcript.ToolCalls : RandomAccessCollection {
   |           `- note: conformance of 'Transcript.ToolCalls' to 'Sequence' has been explicitly marked unavailable here
 4 |     public subscript(position: Int) -> Transcript.ToolCall { get }
 5 |     public var startIndex: Int { get }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift:150:59: error: 'metadata' is unavailable in tvOS
148 |     case .reasoning(let reasoning): self.init(metadata: reasoning.metadata)
149 |     case .toolCalls(let calls):
150 |       self.init(blocks: calls.flatMap { Self(metadata: $0.metadata).blocks })
    |                                                           `- error: 'metadata' is unavailable in tvOS
151 |     default: self.init()
152 |     }
FoundationModels.Transcript.ToolCall.metadata:5:16: note: 'metadata' has been explicitly marked unavailable here
3 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
4 |     @available(tvOS, unavailable)
5 |     public var metadata: [String : GeneratedContent]  }
  |                `- note: 'metadata' has been explicitly marked unavailable here
6 | }
7 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/TurnRecord.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile TurnRecord.swift
SwiftCompile normal arm64 Compiling\ AppAttestSession.swift,\ AppAttestStore.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestSession.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestStore.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestSession.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AppAttestSession.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/AppAttestStore.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AppAttestStore.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ ClaudeForFoundationModels (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:123:17: error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
121 |
122 |   public func respond(
123 |     to request: LanguageModelExecutorGenerationRequest,
    |                 `- error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
124 |     model: ClaudeLanguageModel,
125 |     streamingInto channel: LanguageModelExecutorGenerationChannel
FoundationModels.LanguageModelExecutorGenerationRequest:3:15: note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationRequest : Sendable {
   |               `- note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
 4 |     public var id: UUID
 5 |     public var transcript: Transcript
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:125:28: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
123 |     to request: LanguageModelExecutorGenerationRequest,
124 |     model: ClaudeLanguageModel,
125 |     streamingInto channel: LanguageModelExecutorGenerationChannel
    |                            `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
126 |   ) async throws {
127 |     do {
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:160:63: error: 'Transcript' is unavailable in tvOS
158 |   }
159 |
160 |   public func prewarm(model: ClaudeLanguageModel, transcript: Transcript) {
    |                                                               `- error: 'Transcript' is unavailable in tvOS
161 |     // Attesting at launch keeps the multi-second first-run Apple
162 |     // round-trip off the user's first prompt. Errors are dropped because
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:175:19: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
173 |     betas: [String],
174 |     translating translator: inout EventTranslator,
175 |     into channel: LanguageModelExecutorGenerationChannel
    |                   `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
176 |   ) async throws -> StopReason? {
177 |     let channelWritten = Mutex(false)
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeExecutor.swift:13:31: error: 'LanguageModelExecutor' is unavailable in tvOS
 11 | /// One executor is created per unique ``Configuration`` and reused. Heavy
 12 | /// resources (the HTTP client) live here, not on ``ClaudeLanguageModel``.
 13 | public struct ClaudeExecutor: LanguageModelExecutor {
    |                               `- error: 'LanguageModelExecutor' is unavailable in tvOS
 14 |   public typealias Model = ClaudeLanguageModel
 15 |
FoundationModels.LanguageModelExecutor:3:17: note: 'LanguageModelExecutor' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol LanguageModelExecutor : Sendable {
  |                 `- note: 'LanguageModelExecutor' has been explicitly marked unavailable here
4 |     associatedtype Configuration : Hashable, Sendable
5 |     associatedtype Model : LanguageModel
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift:125:28: error: 'LanguageModelCapabilities' is unavailable in tvOS
123 |   /// ``fallbacks`` to support them as well. Reasoning is a hint, so it
124 |   /// follows the requested model alone.
125 |   public var capabilities: LanguageModelCapabilities {
    |                            `- error: 'LanguageModelCapabilities' is unavailable in tvOS
126 |     let chain = [model] + fallbacks.knownModels
127 |     var capabilities: [LanguageModelCapabilities.Capability] = [.toolCalling]
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
  |               `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 |     public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeLanguageModel.swift:117:32: error: 'LanguageModel' is unavailable in tvOS
115 | }
116 |
117 | extension ClaudeLanguageModel: LanguageModel {
    |                                `- error: 'LanguageModel' is unavailable in tvOS
118 |   public typealias Executor = ClaudeExecutor
119 |
FoundationModels.LanguageModel:3:17: note: 'LanguageModel' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol LanguageModel : Sendable {
  |                 `- note: 'LanguageModel' has been explicitly marked unavailable here
4 |     associatedtype Executor : LanguageModelExecutor where Self == Self.Executor.Model
5 |     var capabilities: LanguageModelCapabilities { get }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModelHandover.swift:70:43: error: 'Transcript' is unavailable in tvOS
68 |   /// The handover that `segment` holds the place of, or `nil` for an ordinary
69 |   /// segment.
70 |   public func claudeHandover(for segment: Transcript.Segment) -> ClaudeModelHandover? {
   |                                           `- error: 'Transcript' is unavailable in tvOS
71 |     guard case .text(let placeholder) = segment, placeholder.content.isEmpty else { return nil }
72 |     let record = TurnRecord(metadata: metadata)
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeModelHandover.swift:67:11: error: 'Transcript' is unavailable in tvOS
65 | }
66 |
67 | extension Transcript.Response {
   |           `- error: 'Transcript' is unavailable in tvOS
68 |   /// The handover that `segment` holds the place of, or `nil` for an ordinary
69 |   /// segment.
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift:136:53: error: 'Transcript' is unavailable in tvOS
134 |   /// your tools alongside) is paired up by
135 |   /// ``FoundationModels/Transcript/claudeServerToolActivities`` instead.
136 |   public func claudeServerToolActivity(for segment: Transcript.Segment) -> ClaudeServerToolActivity?
    |                                                     `- error: 'Transcript' is unavailable in tvOS
137 |   {
138 |     guard case .text(let placeholder) = segment, placeholder.content.isEmpty else { return nil }
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift:127:11: error: 'Transcript' is unavailable in tvOS
125 | }
126 |
127 | extension Transcript.Response {
    |           `- error: 'Transcript' is unavailable in tvOS
128 |   /// The server-side tool round-trip `segment` holds the place of, or `nil`
129 |   /// for an ordinary segment.
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeServerToolActivity.swift:150:11: error: 'Transcript' is unavailable in tvOS
148 | }
149 |
150 | extension Transcript {
    |           `- error: 'Transcript' is unavailable in tvOS
151 |   /// Every server-tool round-trip in the conversation, in order, with each
152 |   /// result paired to its call wherever the two arrived. Derived from the
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:98:26: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
 96 |   /// one place instead of at every send site.
 97 |   private final class ChannelSink {
 98 |     private let channel: LanguageModelExecutorGenerationChannel
    |                          `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
 99 |     private var pendingFirstWrite: (@Sendable () -> Void)?
100 |
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:102:18: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
100 |
101 |     init(
102 |       _ channel: LanguageModelExecutorGenerationChannel,
    |                  `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
103 |       onFirstWrite: (@Sendable () -> Void)?
104 |     ) {
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:109:24: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
107 |     }
108 |
109 |     func send(_ event: LanguageModelExecutorGenerationChannel.Event) async {
    |                        `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
110 |       pendingFirstWrite?()
111 |       pendingFirstWrite = nil
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift:124:19: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
122 |   mutating func translate(
123 |     _ events: AsyncThrowingStream<StreamEvent, Error>,
124 |     into channel: LanguageModelExecutorGenerationChannel,
    |                   `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
125 |     onFirstChannelWrite: (@Sendable () -> Void)? = nil
126 |   ) async throws -> StopReason? {
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
   |               `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
 4 |     public init()
 5 |     @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:21:19: error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
 19 |
 20 |   static func build(
 21 |     from request: LanguageModelExecutorGenerationRequest,
    |                   `- error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
 22 |     model: ClaudeModel,
 23 |     fixedEffort: ClaudeModel.Effort? = nil,
FoundationModels.LanguageModelExecutorGenerationRequest:3:15: note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
 1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct LanguageModelExecutorGenerationRequest : Sendable {
   |               `- note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
 4 |     public var id: UUID
 5 |     public var transcript: Transcript
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:259:39: error: 'GenerationSchema' is unavailable in tvOS
257 |   /// those are stripped too (the framework validates `@Guide` bounds
258 |   /// client-side after decode).
259 |   static func jsonSchema(from schema: GenerationSchema) -> JSONValue {
    |                                       `- error: 'GenerationSchema' is unavailable in tvOS
260 |     guard let value = JSONValue.encoded(schema) else {
261 |       return .object(["type": "object"])
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:309:16: error: 'Transcript' is unavailable in tvOS
307 |     case user(Message)
308 |     case toolResult(id: String, Message)
309 |     case turn([Transcript.Entry])
    |                `- error: 'Transcript' is unavailable in tvOS
310 |   }
311 |
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:322:18: error: 'Transcript' is unavailable in tvOS
320 |   /// them; text cut off mid-block was the last thing its turn produced.
321 |   private static func assistantContent(
322 |     of entries: [Transcript.Entry],
    |                  `- error: 'Transcript' is unavailable in tvOS
323 |     replayThinking: Bool,
324 |     pairing: ToolPairing
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:418:18: error: 'Transcript' is unavailable in tvOS
416 |   /// the recorded ones.
417 |   private static func unfinishedText(
418 |     of response: Transcript.Response,
    |                  `- error: 'Transcript' is unavailable in tvOS
419 |     beyond record: TurnRecord
420 |   ) -> [ContentBlock] {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:511:42: error: 'Transcript' is unavailable in tvOS
509 |   }
510 |
511 |   private static func text(of segments: [Transcript.Segment], separator: String = "\n") -> String {
    |                                          `- error: 'Transcript' is unavailable in tvOS
512 |     segments.compactMap {
513 |       switch $0 {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:523:53: error: 'Transcript' is unavailable in tvOS
521 |   }
522 |
523 |   private static func contentBlocks(from segments: [Transcript.Segment]) throws -> [ContentBlock] {
    |                                                     `- error: 'Transcript' is unavailable in tvOS
524 |     try segments.flatMap { segment -> [ContentBlock] in
525 |       switch segment {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:540:46: error: 'GeneratedContent' is unavailable in tvOS
538 |   }
539 |
540 |   private static func toolInput(_ arguments: GeneratedContent) -> JSONValue {
    |                                              `- error: 'GeneratedContent' is unavailable in tvOS
541 |     let input = JSONValue(arguments)
542 |     return if case .object = input { input } else { [:] }
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:545:45: error: 'Transcript' is unavailable in tvOS
543 |   }
544 |
545 |   private static func toolDefinition(_ def: Transcript.ToolDefinition) -> ToolDefinition {
    |                                             `- error: 'Transcript' is unavailable in tvOS
546 |     ToolDefinition(
547 |       name: def.name,
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:564:14: error: 'ContextOptions' is unavailable in tvOS
562 |   private static func resolvedEffort(
563 |     fixed: ClaudeModel.Effort?,
564 |     options: ContextOptions,
    |              `- error: 'ContextOptions' is unavailable in tvOS
565 |     model: ClaudeModel
566 |   ) -> OutputConfig.Effort? {
FoundationModels.ContextOptions:3:15: note: 'ContextOptions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct ContextOptions : Sendable, Equatable {
  |               `- note: 'ContextOptions' has been explicitly marked unavailable here
4 |     public var includeSchemaInPrompt: Bool?
5 |     public var reasoningLevel: ContextOptions.ReasoningLevel?
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:603:15: error: 'GenerationOptions' is unavailable in tvOS
601 |   /// `.allowed` is the API's default — omitted rather than sent.
602 |   private static func toolChoice(
603 |     for mode: GenerationOptions.ToolCallingMode?
    |               `- error: 'GenerationOptions' is unavailable in tvOS
604 |   ) -> ToolChoice? {
605 |     guard let mode else { return nil }
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:621:16: error: 'GenerationOptions' is unavailable in tvOS
619 |   /// custom ``ClaudeModel`` with `adaptiveThinking: false`.
620 |   private static func applySampling(
621 |     _ options: GenerationOptions,
    |                `- error: 'GenerationOptions' is unavailable in tvOS
622 |     to req: inout MessagesRequest,
623 |     allowed: Bool
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:651:15: error: 'GenerationSchema' is unavailable in tvOS
649 |   /// same reason: the schema always reaches the model.
650 |   private static func applyStructuredOutput(
651 |     _ schema: GenerationSchema,
    |               `- error: 'GenerationSchema' is unavailable in tvOS
652 |     to req: inout MessagesRequest
653 |   ) {
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift:350:52: error: 'metadata' is unavailable in tvOS
348 |       switch entry {
349 |       case .response(let response):
350 |         let record = TurnRecord(metadata: response.metadata)
    |                                                    `- error: 'metadata' is unavailable in tvOS
351 |         try add(record) { try contentBlocks(from: response.segments) }
352 |         if !record.isEmpty {
FoundationModels.Transcript.Response.metadata:6:16: note: 'metadata' has been explicitly marked unavailable here
4 |     @backDeployed(before: iOS 27.0, macOS 27.0, visionOS 27.0)
5 |     @available(tvOS, unavailable)
6 |     public var metadata: [String : GeneratedContent] { get }  }
  |                `- note: 'metadata' has been explicitly marked unavailable here
7 | }
8 |
SwiftCompile normal arm64 (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ ClaudeFallbacks.swift,\ ClaudeImage.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeFallbacks.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeImage.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeFallbacks.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeFallbacks.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/ClaudeImage.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ClaudeImage.swift
SwiftDriverJobDiscovery normal arm64 Compiling AttestationService.swift, AuthMode.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-11-07 14:16:17.422 xcodebuild[832:5121] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 Compiling\ EventTranslator.swift,\ RequestBuilder.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/EventTranslator.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ClaudeForFoundationModels/Sources/ClaudeForFoundationModels/RequestBuilder.swift (in target 'ClaudeForFoundationModels' from project 'ClaudeForFoundationModels')
	Building workspace HybridRouterKit with scheme HybridRouterKit-Package
(2 failures)
BUILD FAILURE 6.4 tvOS