Build Information
Failed to build foundation-models-utilities, reference 1.1.0 (6c5a04), with Swift 6.4 for tvOS using Xcode 27.0 on 5 Nov 2026 03:26:04 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme foundation-models-utilities -destination generic/platform=tvOSBuild Log
59 | modifier(
60 | SummarizeHistoryModifier(
FoundationModels.LanguageModelSession.DynamicProfile.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:15:11: error: 'LanguageModelSession' is unavailable in tvOS
13 | private import Foundation
14 |
15 | extension LanguageModelSession.DynamicProfile {
| `- error: 'LanguageModelSession' is unavailable in tvOS
16 | /// Returns a modified profile that summarizes the transcript when it
17 | /// exceeds an entry threshold, replacing older entries with a condensed
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:93:22: error: 'history' is unavailable in tvOS
91 | let summaryPostamble: String?
92 |
93 | @SessionProperty(\.history)
| `- error: 'history' is unavailable in tvOS
94 | var history
95 |
FoundationModels.SessionPropertyValues.history:2:18: note: 'history' has been explicitly marked unavailable here
1 | class SessionPropertyValues {
2 | final public var history: Transcript.HistoryView { get set }}
| `- note: 'history' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:89:21: error: 'Instructions' is unavailable in tvOS
87 | let model: Model
88 |
89 | let instructions: Instructions?
| `- error: 'Instructions' is unavailable in tvOS
90 |
91 | let summaryPostamble: String?
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:93:4: error: 'SessionProperty' is unavailable in tvOS
91 | let summaryPostamble: String?
92 |
93 | @SessionProperty(\.history)
| `- error: 'SessionProperty' is unavailable in tvOS
94 | var history
95 |
FoundationModels.LanguageModelSession.DynamicProfileModifier.SessionProperty:3:18: note: 'SessionProperty' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfileModifier {
3 | public typealias SessionProperty = LanguageModelSession.SessionProperty }
| `- note: 'SessionProperty' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:96:39: error: 'DynamicProfile' is unavailable in tvOS
94 | var history
95 |
96 | func body(content: Content) -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
97 | content.onPrompt {
98 |
FoundationModels.LanguageModelSession.DynamicProfileModifier.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfileModifier {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:70:48: error: 'LanguageModel' is unavailable in tvOS
68 | }
69 |
70 | private struct SummarizeHistoryModifier<Model: LanguageModel>: LanguageModelSession
| `- error: 'LanguageModel' is unavailable in tvOS
71 | .DynamicProfileModifier
72 | {
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/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:70:64: error: 'LanguageModelSession' is unavailable in tvOS
68 | }
69 |
70 | private struct SummarizeHistoryModifier<Model: LanguageModel>: LanguageModelSession
| `- error: 'LanguageModelSession' is unavailable in tvOS
71 | .DynamicProfileModifier
72 | {
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:59:5: error: 'modifier' is unavailable in tvOS
57 | summaryPostamble: String? = nil
58 | ) -> some DynamicProfile {
59 | modifier(
| `- error: 'modifier' is unavailable in tvOS
60 | SummarizeHistoryModifier(
61 | entryThreshold: entryThreshold,
FoundationModels.LanguageModelSession.DynamicProfile.modifier:3:13: note: 'modifier' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public func modifier<Modifier>(_ modifier: Modifier) -> some LanguageModelSession.DynamicProfile where Modifier : LanguageModelSession.DynamicProfileModifier
| `- note: 'modifier' has been explicitly marked unavailable here
4 | }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:97:13: error: 'onPrompt(perform:)' is unavailable in tvOS
95 |
96 | func body(content: Content) -> some DynamicProfile {
97 | content.onPrompt {
| `- error: 'onPrompt(perform:)' is unavailable in tvOS
98 |
99 | guard history.count > entryThreshold else {
FoundationModels.LanguageModelSession.DynamicProfile.onPrompt:3:37: note: 'onPrompt(perform:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | @export(implementation) public func onPrompt(perform action: nonisolated(nonsending) sending @escaping () async throws -> Void) -> some LanguageModelSession.DynamicProfile
| `- note: 'onPrompt(perform:)' has been explicitly marked unavailable here
4 | }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:107:21: error: 'LanguageModelSession' is unavailable in tvOS
105 | }
106 |
107 | let session = LanguageModelSession(
| `- error: 'LanguageModelSession' is unavailable in tvOS
108 | model: model,
109 | instructions: {
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:107:21: error: 'init(model:tools:instructions:)' is unavailable in tvOS
105 | }
106 |
107 | let session = LanguageModelSession(
| `- error: 'init(model:tools:instructions:)' is unavailable in tvOS
108 | model: model,
109 | instructions: {
FoundationModels.LanguageModelSession.init:4:22: note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
2 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
3 | @available(tvOS, unavailable)
4 | public convenience init<Failure>(model: some LanguageModel, tools: [any Tool] = [], @InstructionsBuilder instructions: () throws(Failure) -> Instructions) throws(Failure) where Failure : Error}
| `- note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:110:11: error: 'buildExpression' is unavailable in tvOS
108 | model: model,
109 | instructions: {
110 | instructions
| `- error: 'buildExpression' is unavailable in tvOS
111 | ?? Instructions {
112 | """
FoundationModels.InstructionsBuilder.buildExpression:2:44: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildExpression(_ expression: Instructions) -> Instructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:111:16: error: 'Instructions' is unavailable in tvOS
109 | instructions: {
110 | instructions
111 | ?? Instructions {
| `- error: 'Instructions' is unavailable in tvOS
112 | """
113 | Compress this conversation between an assistant and a \
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:111:16: error: 'init(_:)' is unavailable in tvOS
109 | instructions: {
110 | instructions
111 | ?? Instructions {
| `- error: 'init(_:)' is unavailable in tvOS
112 | """
113 | Compress this conversation between an assistant and a \
FoundationModels.Instructions.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Instructions {
2 | public init(@InstructionsBuilder _ content: () throws -> Instructions) rethrows}
| `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:112:15: error: 'buildExpression' is unavailable in tvOS
110 | instructions
111 | ?? Instructions {
112 | """
| `- error: 'buildExpression' is unavailable in tvOS
113 | Compress this conversation between an assistant and a \
114 | user into a concise summary that preserves:
FoundationModels.InstructionsBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @available(*, unavailable, message: "Only `Instructions` and `InstructionsRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Instructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:111:29: error: 'buildBlock' is unavailable in tvOS
109 | instructions: {
110 | instructions
111 | ?? Instructions {
| `- error: 'buildBlock' is unavailable in tvOS
112 | """
113 | Compress this conversation between an assistant and a \
FoundationModels.InstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each I>(_ components: repeat each I) -> Instructions where repeat each I : InstructionsRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SummarizeHistory.swift
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:109:23: error: 'buildBlock' is unavailable in tvOS
107 | let session = LanguageModelSession(
108 | model: model,
109 | instructions: {
| `- error: 'buildBlock' is unavailable in tvOS
110 | instructions
111 | ?? Instructions {
FoundationModels.InstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each I>(_ components: repeat each I) -> Instructions where repeat each I : InstructionsRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:136:39: error: 'respond(to:options:)' is unavailable in tvOS
134 | let textRepresentation = history.chatLog()
135 |
136 | let summary = try await session.respond(
| `- error: 'respond(to:options:)' is unavailable in tvOS
137 | to: Prompt {
138 | "Summarize this conversation:\n\n\(textRepresentation)"
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 | nonisolated(nonsending) final public func respond(to prompt: Prompt, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<String>}
| `- note: 'respond(to:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:137:13: error: 'Prompt' is unavailable in tvOS
135 |
136 | let summary = try await session.respond(
137 | to: Prompt {
| `- error: 'Prompt' is unavailable in tvOS
138 | "Summarize this conversation:\n\n\(textRepresentation)"
139 | }
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:137:13: error: 'init(_:)' is unavailable in tvOS
135 |
136 | let summary = try await session.respond(
137 | to: Prompt {
| `- error: 'init(_:)' is unavailable in tvOS
138 | "Summarize this conversation:\n\n\(textRepresentation)"
139 | }
FoundationModels.Prompt.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Prompt {
2 | public init(@PromptBuilder _ content: () throws -> Prompt) rethrows}
| `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:138:11: error: 'buildExpression' is unavailable in tvOS
136 | let summary = try await session.respond(
137 | to: Prompt {
138 | "Summarize this conversation:\n\n\(textRepresentation)"
| `- error: 'buildExpression' is unavailable in tvOS
139 | }
140 | ).content
FoundationModels.PromptBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct PromptBuilder {
2 | @available(*, unavailable, message: "Only `Prompt` and `PromptRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Prompt}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:137:20: error: 'buildBlock' is unavailable in tvOS
135 |
136 | let summary = try await session.respond(
137 | to: Prompt {
| `- error: 'buildBlock' is unavailable in tvOS
138 | "Summarize this conversation:\n\n\(textRepresentation)"
139 | }
FoundationModels.PromptBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct PromptBuilder {
2 | @export(implementation) public static func buildBlock<each P>(_ components: repeat each P) -> Prompt where repeat each P : PromptRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:140:9: error: conformance of 'String' to 'Generable' is unavailable in tvOS
138 | "Summarize this conversation:\n\n\(textRepresentation)"
139 | }
140 | ).content
| `- error: conformance of 'String' to 'Generable' is unavailable in tvOS
141 |
142 | let postamble = summaryPostamble ?? Self.defaultSummaryPostamble
FoundationModels.String:3:11: note: conformance of 'String' to 'Generable' 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 'Generable' 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/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:151:28: error: 'Transcript' is unavailable in tvOS
149 | }
150 | summaryContent += "\n\n"
151 | let summarySegment = Transcript.TextSegment(content: summaryContent)
| `- error: 'Transcript' is unavailable in tvOS
152 |
153 | history = [
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/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:153:7: error: setter for 'history' is unavailable in tvOS
92 |
93 | @SessionProperty(\.history)
94 | var history
| `- note: setter for 'history' has been explicitly marked unavailable here
95 |
96 | func body(content: Content) -> some DynamicProfile {
:
151 | let summarySegment = Transcript.TextSegment(content: summaryContent)
152 |
153 | history = [
| `- error: setter for 'history' is unavailable in tvOS
154 | .prompt(
155 | Transcript.Prompt(
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:153:17: error: 'init(arrayLiteral:)' is unavailable in tvOS
151 | let summarySegment = Transcript.TextSegment(content: summaryContent)
152 |
153 | history = [
| `- error: 'init(arrayLiteral:)' is unavailable in tvOS
154 | .prompt(
155 | Transcript.Prompt(
FoundationModels.Transcript.HistoryView.init:3:8: note: 'init(arrayLiteral:)' has been explicitly marked unavailable here
1 | struct Transcript {
2 | struct HistoryView {
3 | public init(arrayLiteral elements: Transcript.Entry...) }
| `- note: 'init(arrayLiteral:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:155:11: error: 'Transcript' is unavailable in tvOS
153 | history = [
154 | .prompt(
155 | Transcript.Prompt(
| `- error: 'Transcript' is unavailable in tvOS
156 | id: UUID().uuidString,
157 | segments: [.text(summarySegment)] + prompt.segments,
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/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:155:22: error: 'init(id:segments:options:responseFormat:)' is unavailable in tvOS
153 | history = [
154 | .prompt(
155 | Transcript.Prompt(
| `- error: 'init(id:segments:options:responseFormat:)' is unavailable in tvOS
156 | id: UUID().uuidString,
157 | segments: [.text(summarySegment)] + prompt.segments,
FoundationModels.Transcript.Prompt.init:3:8: note: 'init(id:segments:options:responseFormat:)' has been explicitly marked unavailable here
1 | struct Transcript {
2 | struct Prompt {
3 | public init(id: String = UUID().uuidString, segments: [Transcript.Segment], options: GenerationOptions = GenerationOptions(), responseFormat: Transcript.ResponseFormat? = nil) }
| `- note: 'init(id:segments:options:responseFormat:)' has been explicitly marked unavailable here
4 | }
5 |
SwiftCompile normal arm64 Compiling\ Skill.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:140:6: error: 'PromptBuilder' is unavailable in tvOS
138 | description: String,
139 | onActivate: @Sendable @escaping () -> Void = {},
140 | @PromptBuilder prompt: () -> Prompt,
| `- error: 'PromptBuilder' is unavailable in tvOS
141 | ) {
142 | storage = .prompt(
FoundationModels.PromptBuilder:3:30: note: 'PromptBuilder' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @resultBuilder public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:140:34: error: 'Prompt' is unavailable in tvOS
138 | description: String,
139 | onActivate: @Sendable @escaping () -> Void = {},
140 | @PromptBuilder prompt: () -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
141 | ) {
142 | storage = .prompt(
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:174:19: error: 'InstructionsRepresentable' is unavailable in tvOS
172 | name: String,
173 | description: String,
174 | instructions: InstructionsRepresentable,
| `- error: 'InstructionsRepresentable' is unavailable in tvOS
175 | allowsDeactivation: Bool = false,
176 | onActivate: @Sendable @escaping () -> Void = {},
FoundationModels.InstructionsRepresentable:3:17: note: 'InstructionsRepresentable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol InstructionsRepresentable {
| `- note: 'InstructionsRepresentable' has been explicitly marked unavailable here
4 | @InstructionsBuilder var instructionsRepresentation: Instructions { get }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:217:58: error: 'DynamicInstructions' is unavailable in tvOS
215 | onActivate: @Sendable @escaping () -> Void = {},
216 | onDeactivate: @Sendable @escaping () -> Void = {},
217 | @DynamicInstructionsBuilder instructions: () -> some DynamicInstructions
| `- error: 'DynamicInstructions' is unavailable in tvOS
218 | ) {
219 | storage = .instructions(
FoundationModels.DynamicInstructions:3:17: note: 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol DynamicInstructions {
| `- note: 'DynamicInstructions' has been explicitly marked unavailable here
4 | associatedtype Body : DynamicInstructions
5 | @DynamicInstructionsBuilder var body: Self.Body { get }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:217:6: error: 'DynamicInstructionsBuilder' is unavailable in tvOS
215 | onActivate: @Sendable @escaping () -> Void = {},
216 | onDeactivate: @Sendable @escaping () -> Void = {},
217 | @DynamicInstructionsBuilder instructions: () -> some DynamicInstructions
| `- error: 'DynamicInstructionsBuilder' is unavailable in tvOS
218 | ) {
219 | storage = .instructions(
FoundationModels.DynamicInstructionsBuilder:3:30: note: 'DynamicInstructionsBuilder' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @resultBuilder public struct DynamicInstructionsBuilder {
| `- note: 'DynamicInstructionsBuilder' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:217:58: error: 'DynamicInstructions' is unavailable in tvOS
215 | onActivate: @Sendable @escaping () -> Void = {},
216 | onDeactivate: @Sendable @escaping () -> Void = {},
217 | @DynamicInstructionsBuilder instructions: () -> some DynamicInstructions
| `- error: 'DynamicInstructions' is unavailable in tvOS
218 | ) {
219 | storage = .instructions(
FoundationModels.DynamicInstructions:3:17: note: 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol DynamicInstructions {
| `- note: 'DynamicInstructions' has been explicitly marked unavailable here
4 | associatedtype Body : DynamicInstructions
5 | @DynamicInstructionsBuilder var body: Self.Body { get }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:235:21: error: 'AnyDynamicInstructions' is unavailable in tvOS
233 | let name: String
234 | let description: String
235 | let instructions: AnyDynamicInstructions
| `- error: 'AnyDynamicInstructions' is unavailable in tvOS
236 | let allowsDeactivation: Bool
237 | let onActivate: @Sendable () -> Void
FoundationModels.AnyDynamicInstructions:3:15: note: 'AnyDynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct AnyDynamicInstructions : DynamicInstructions {
| `- note: 'AnyDynamicInstructions' has been explicitly marked unavailable here
4 | public init(_ dynamicInstructions: any DynamicInstructions)
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:244:15: error: 'Prompt' is unavailable in tvOS
242 | let name: String
243 | let description: String
244 | let prompt: Prompt
| `- error: 'Prompt' is unavailable in tvOS
245 | let onActivate: @Sendable () -> Void
246 | }
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:131:7: error: 'buildExpression' is unavailable in tvOS
129 | onActivate: onActivate
130 | ) {
131 | Prompt { prompt }
| `- error: 'buildExpression' is unavailable in tvOS
132 | }
133 | }
FoundationModels.PromptBuilder.buildExpression:2:44: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct PromptBuilder {
2 | @export(implementation) public static func buildExpression(_ expression: Prompt) -> Prompt}
| `- note: 'buildExpression' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:131:7: error: 'Prompt' is unavailable in tvOS
129 | onActivate: onActivate
130 | ) {
131 | Prompt { prompt }
| `- error: 'Prompt' is unavailable in tvOS
132 | }
133 | }
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:131:7: error: 'init(_:)' is unavailable in tvOS
129 | onActivate: onActivate
130 | ) {
131 | Prompt { prompt }
| `- error: 'init(_:)' is unavailable in tvOS
132 | }
133 | }
FoundationModels.Prompt.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Prompt {
2 | public init(@PromptBuilder _ content: () throws -> Prompt) rethrows}
| `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:131:16: error: 'buildExpression' is unavailable in tvOS
129 | onActivate: onActivate
130 | ) {
131 | Prompt { prompt }
| `- error: 'buildExpression' is unavailable in tvOS
132 | }
133 | }
FoundationModels.PromptBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct PromptBuilder {
2 | @available(*, unavailable, message: "Only `Prompt` and `PromptRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Prompt}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:131:14: error: 'buildBlock' is unavailable in tvOS
129 | onActivate: onActivate
130 | ) {
131 | Prompt { prompt }
| `- error: 'buildBlock' is unavailable in tvOS
132 | }
133 | }
FoundationModels.PromptBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct PromptBuilder {
2 | @export(implementation) public static func buildBlock<each P>(_ components: repeat each P) -> Prompt where repeat each P : PromptRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:130:7: error: 'buildBlock' is unavailable in tvOS
128 | description: description,
129 | onActivate: onActivate
130 | ) {
| `- error: 'buildBlock' is unavailable in tvOS
131 | Prompt { prompt }
132 | }
FoundationModels.PromptBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct PromptBuilder {
2 | @export(implementation) public static func buildBlock<each P>(_ components: repeat each P) -> Prompt where repeat each P : PromptRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:183:23: error: 'AnyDynamicInstructions' is unavailable in tvOS
181 | name: name,
182 | description: description,
183 | instructions: AnyDynamicInstructions(Instructions(instructions)),
| `- error: 'AnyDynamicInstructions' is unavailable in tvOS
184 | allowsDeactivation: allowsDeactivation,
185 | onActivate: onActivate,
FoundationModels.AnyDynamicInstructions:3:15: note: 'AnyDynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct AnyDynamicInstructions : DynamicInstructions {
| `- note: 'AnyDynamicInstructions' has been explicitly marked unavailable here
4 | public init(_ dynamicInstructions: any DynamicInstructions)
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:183:46: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
181 | name: name,
182 | description: description,
183 | instructions: AnyDynamicInstructions(Instructions(instructions)),
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
184 | allowsDeactivation: allowsDeactivation,
185 | onActivate: onActivate,
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:183:46: error: 'Instructions' is unavailable in tvOS
181 | name: name,
182 | description: description,
183 | instructions: AnyDynamicInstructions(Instructions(instructions)),
| `- error: 'Instructions' is unavailable in tvOS
184 | allowsDeactivation: allowsDeactivation,
185 | onActivate: onActivate,
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:183:46: error: 'init(_:)' is unavailable in tvOS
181 | name: name,
182 | description: description,
183 | instructions: AnyDynamicInstructions(Instructions(instructions)),
| `- error: 'init(_:)' is unavailable in tvOS
184 | allowsDeactivation: allowsDeactivation,
185 | onActivate: onActivate,
FoundationModels.Instructions.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Instructions {
2 | public init(_ content: some InstructionsRepresentable)}
| `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Skill.swift
SwiftCompile normal arm64 Compiling\ SkillActivations.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/SkillActivations.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/SkillActivations.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SkillActivations.swift
SwiftCompile normal arm64 Compiling\ ChatCompletionsLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:90:28: error: 'LanguageModelCapabilities' is unavailable in tvOS
88 |
89 | // Implementation of LanguageModel Protocol
90 | public var capabilities: LanguageModelCapabilities {
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
91 | if supportsGuidedGeneration {
92 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:217:19: error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
215 |
216 | public func respond(
217 | to request: LanguageModelExecutorGenerationRequest,
| `- error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
218 | model: ChatCompletionsLanguageModel,
219 | 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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:219:30: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
217 | to request: LanguageModelExecutorGenerationRequest,
218 | model: ChatCompletionsLanguageModel,
219 | streamingInto channel: LanguageModelExecutorGenerationChannel
| `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
220 | ) async throws {
221 |
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:284:21: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
282 | private static func processChunks<ChunkSequence: AsyncSequence>(
283 | _ chunks: ChunkSequence,
284 | into channel: LanguageModelExecutorGenerationChannel
| `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
285 | ) async throws where ChunkSequence.Element == ChatCompletionsClient.ChatCompletionChunk {
286 | // Per-index `id`/`name` for tool calls. The first delta for a given
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:369:35: error: 'GenerationOptions' is unavailable in tvOS
367 | }
368 |
369 | private func topP(_ sampling: GenerationOptions.SamplingMode) throws -> Double {
| `- error: 'GenerationOptions' is unavailable in tvOS
370 | switch sampling.kind {
371 | case .greedy:
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:393:34: error: 'Transcript' is unavailable in tvOS
391 |
392 | private func convertedTranscript(
393 | _ entries: some Collection<Transcript.Entry>
| `- error: 'Transcript' is unavailable in tvOS
394 | ) throws -> [ChatCompletionsClient.ChatMessage] {
395 |
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:393:34: error: 'Transcript' is unavailable in tvOS
391 |
392 | private func convertedTranscript(
393 | _ entries: some Collection<Transcript.Entry>
| `- error: 'Transcript' is unavailable in tvOS
394 | ) throws -> [ChatCompletionsClient.ChatMessage] {
395 |
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:189:27: error: 'LanguageModelExecutor' is unavailable in tvOS
187 | }
188 |
189 | public struct Executor: LanguageModelExecutor {
| `- error: 'LanguageModelExecutor' is unavailable in tvOS
190 | public typealias Model = ChatCompletionsLanguageModel
191 | private let configuration: Configuration
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:39:55: error: 'LanguageModel' is unavailable in tvOS
37 | /// let response = try await session.respond(to: "Hello!")
38 | /// ```
39 | public struct ChatCompletionsLanguageModel: Sendable, LanguageModel {
| `- error: 'LanguageModel' is unavailable in tvOS
40 | /// The name of the underlying model, sent in the `model` field of each
41 | /// chat completion request.
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:799:23: error: 'GenerationSchema' is unavailable in tvOS
797 | let name: String
798 | let description: String
799 | let parameters: GenerationSchema
| `- error: 'GenerationSchema' is unavailable in tvOS
800 | }
801 | }
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:826:19: error: 'GenerationSchema' is unavailable in tvOS
824 | var name: String
825 | var description: String?
826 | var schema: GenerationSchema
| `- error: 'GenerationSchema' is unavailable in tvOS
827 | var strict = true
828 | }
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:92:7: error: 'LanguageModelCapabilities' is unavailable in tvOS
90 | public var capabilities: LanguageModelCapabilities {
91 | if supportsGuidedGeneration {
92 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
93 | } else {
94 | LanguageModelCapabilities([.vision, .toolCalling, .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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:92:35: error: 'vision' is unavailable in tvOS
90 | public var capabilities: LanguageModelCapabilities {
91 | if supportsGuidedGeneration {
92 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
| `- error: 'vision' is unavailable in tvOS
93 | } else {
94 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:92:44: error: 'toolCalling' is unavailable in tvOS
90 | public var capabilities: LanguageModelCapabilities {
91 | if supportsGuidedGeneration {
92 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
| `- error: 'toolCalling' is unavailable in tvOS
93 | } else {
94 | LanguageModelCapabilities([.vision, .toolCalling, .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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:92:58: error: 'reasoning' is unavailable in tvOS
90 | public var capabilities: LanguageModelCapabilities {
91 | if supportsGuidedGeneration {
92 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
| `- error: 'reasoning' is unavailable in tvOS
93 | } else {
94 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:92:70: error: 'guidedGeneration' is unavailable in tvOS
90 | public var capabilities: LanguageModelCapabilities {
91 | if supportsGuidedGeneration {
92 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
| `- error: 'guidedGeneration' is unavailable in tvOS
93 | } else {
94 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
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 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:94:7: error: 'LanguageModelCapabilities' is unavailable in tvOS
92 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
93 | } else {
94 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
95 | }
96 | }
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:94:35: error: 'vision' is unavailable in tvOS
92 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
93 | } else {
94 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
| `- error: 'vision' is unavailable in tvOS
95 | }
96 | }
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:94:44: error: 'toolCalling' is unavailable in tvOS
92 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
93 | } else {
94 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
| `- error: 'toolCalling' is unavailable in tvOS
95 | }
96 | }
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 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ChatCompletionsLanguageModel.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ FoundationModelsUtilities (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:38:52: error: 'DynamicProfile' is unavailable in tvOS
36 | /// - Returns: A profile that prunes completed tool-call entries from its
37 | /// transcript before each generation.
38 | public func droppingCompletedToolCalls() -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
39 | modifier(DropCompletedToolCallsModifier())
40 | }
FoundationModels.LanguageModelSession.DynamicProfile.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:14:11: error: 'LanguageModelSession' is unavailable in tvOS
12 | public import FoundationModels
13 |
14 | extension LanguageModelSession.DynamicProfile {
| `- error: 'LanguageModelSession' is unavailable in tvOS
15 | /// Returns a modified profile that removes completed tool-call and
16 | /// tool-output entries from the transcript before each generation.
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:44:39: error: 'DynamicProfile' is unavailable in tvOS
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
44 | func body(content: Content) -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
45 | content.historyTransform { history in
46 | let lastOutputIndex =
FoundationModels.LanguageModelSession.DynamicProfileModifier.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfileModifier {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:43:48: error: 'LanguageModelSession' is unavailable in tvOS
41 | }
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
| `- error: 'LanguageModelSession' is unavailable in tvOS
44 | func body(content: Content) -> some DynamicProfile {
45 | content.historyTransform { history in
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:36:51: error: 'DynamicProfile' is unavailable in tvOS
34 | /// - Returns: A profile that trims its transcript to the specified window
35 | /// size before each generation.
36 | public func rollingWindow(entries: Int) -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
37 | rollingWindow(size: .entries(entries))
38 | }
FoundationModels.LanguageModelSession.DynamicProfile.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:64:62: error: 'DynamicProfile' is unavailable in tvOS
62 | /// - Returns: A profile that trims its transcript to the specified window
63 | /// size before each generation.
64 | public func rollingWindow(size: RollingWindowSize) -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
65 | modifier(RollingWindowModifier(size: size))
66 | }
FoundationModels.LanguageModelSession.DynamicProfile.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:14:11: error: 'LanguageModelSession' is unavailable in tvOS
12 | public import FoundationModels
13 |
14 | extension LanguageModelSession.DynamicProfile {
| `- error: 'LanguageModelSession' is unavailable in tvOS
15 | /// Returns a modified profile that keeps only the most recent transcript
16 | /// entries, discarding older ones each time a new prompt is sent.
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:72:39: error: 'DynamicProfile' is unavailable in tvOS
70 | let size: RollingWindowSize
71 |
72 | func body(content: Content) -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
73 | content.historyTransform { history in
74 | switch size {
FoundationModels.LanguageModelSession.DynamicProfileModifier.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfileModifier {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:69:39: error: 'LanguageModelSession' is unavailable in tvOS
67 | }
68 |
69 | private struct RollingWindowModifier: LanguageModelSession.DynamicProfileModifier {
| `- error: 'LanguageModelSession' is unavailable in tvOS
70 | let size: RollingWindowSize
71 |
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:53:39: error: 'LanguageModel' is unavailable in tvOS
51 | /// - Returns: A profile that automatically summarizes its transcript when
52 | /// it exceeds the specified entry threshold.
53 | public func summarizeHistory<Model: LanguageModel>(
| `- error: 'LanguageModel' is unavailable in tvOS
54 | entryThreshold: Int,
55 | model: Model,
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/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:56:19: error: 'Instructions' is unavailable in tvOS
54 | entryThreshold: Int,
55 | model: Model,
56 | instructions: Instructions? = nil,
| `- error: 'Instructions' is unavailable in tvOS
57 | summaryPostamble: String? = nil
58 | ) -> some DynamicProfile {
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:58:13: error: 'DynamicProfile' is unavailable in tvOS
56 | instructions: Instructions? = nil,
57 | summaryPostamble: String? = nil
58 | ) -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
59 | modifier(
60 | SummarizeHistoryModifier(
FoundationModels.LanguageModelSession.DynamicProfile.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:15:11: error: 'LanguageModelSession' is unavailable in tvOS
13 | private import Foundation
14 |
15 | extension LanguageModelSession.DynamicProfile {
| `- error: 'LanguageModelSession' is unavailable in tvOS
16 | /// Returns a modified profile that summarizes the transcript when it
17 | /// exceeds an entry threshold, replacing older entries with a condensed
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:93:22: error: 'history' is unavailable in tvOS
91 | let summaryPostamble: String?
92 |
93 | @SessionProperty(\.history)
| `- error: 'history' is unavailable in tvOS
94 | var history
95 |
FoundationModels.SessionPropertyValues.history:2:18: note: 'history' has been explicitly marked unavailable here
1 | class SessionPropertyValues {
2 | final public var history: Transcript.HistoryView { get set }}
| `- note: 'history' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:89:21: error: 'Instructions' is unavailable in tvOS
87 | let model: Model
88 |
89 | let instructions: Instructions?
| `- error: 'Instructions' is unavailable in tvOS
90 |
91 | let summaryPostamble: String?
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:93:4: error: 'SessionProperty' is unavailable in tvOS
91 | let summaryPostamble: String?
92 |
93 | @SessionProperty(\.history)
| `- error: 'SessionProperty' is unavailable in tvOS
94 | var history
95 |
FoundationModels.LanguageModelSession.DynamicProfileModifier.SessionProperty:3:18: note: 'SessionProperty' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfileModifier {
3 | public typealias SessionProperty = LanguageModelSession.SessionProperty }
| `- note: 'SessionProperty' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:96:39: error: 'DynamicProfile' is unavailable in tvOS
94 | var history
95 |
96 | func body(content: Content) -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
97 | content.onPrompt {
98 |
FoundationModels.LanguageModelSession.DynamicProfileModifier.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfileModifier {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:70:48: error: 'LanguageModel' is unavailable in tvOS
68 | }
69 |
70 | private struct SummarizeHistoryModifier<Model: LanguageModel>: LanguageModelSession
| `- error: 'LanguageModel' is unavailable in tvOS
71 | .DynamicProfileModifier
72 | {
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/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:70:64: error: 'LanguageModelSession' is unavailable in tvOS
68 | }
69 |
70 | private struct SummarizeHistoryModifier<Model: LanguageModel>: LanguageModelSession
| `- error: 'LanguageModelSession' is unavailable in tvOS
71 | .DynamicProfileModifier
72 | {
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/TranscriptRendering.swift:14:11: error: 'Transcript' is unavailable in tvOS
12 | import FoundationModels
13 |
14 | extension Transcript.Entry {
| `- error: 'Transcript' is unavailable in tvOS
15 | /// Plain-text role-tagged rendering of this entry, suitable for embedding
16 | /// in an LLM prompt. Returns `nil` for entries without conversational
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/Sources/FoundationModelsUtilities/History/TranscriptRendering.swift:42:37: error: 'Transcript' is unavailable in tvOS
40 | }
41 |
42 | extension Sequence where Element == Transcript.Entry {
| `- error: 'Transcript' is unavailable in tvOS
43 | /// Renders the entries as role-tagged lines joined by `separator`,
44 | /// omitting non-conversational entries.
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/Sources/FoundationModelsUtilities/History/TranscriptRendering.swift:50:37: error: 'Transcript' is unavailable in tvOS
48 | }
49 |
50 | extension Sequence where Element == Transcript.Segment {
| `- error: 'Transcript' is unavailable in tvOS
51 | /// Concatenates the textual content of any text segments, ignoring
52 | /// structured content and attachments.
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:90:28: error: 'LanguageModelCapabilities' is unavailable in tvOS
88 |
89 | // Implementation of LanguageModel Protocol
90 | public var capabilities: LanguageModelCapabilities {
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
91 | if supportsGuidedGeneration {
92 | LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:217:19: error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
215 |
216 | public func respond(
217 | to request: LanguageModelExecutorGenerationRequest,
| `- error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
218 | model: ChatCompletionsLanguageModel,
219 | 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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:219:30: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
217 | to request: LanguageModelExecutorGenerationRequest,
218 | model: ChatCompletionsLanguageModel,
219 | streamingInto channel: LanguageModelExecutorGenerationChannel
| `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
220 | ) async throws {
221 |
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:284:21: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
282 | private static func processChunks<ChunkSequence: AsyncSequence>(
283 | _ chunks: ChunkSequence,
284 | into channel: LanguageModelExecutorGenerationChannel
| `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
285 | ) async throws where ChunkSequence.Element == ChatCompletionsClient.ChatCompletionChunk {
286 | // Per-index `id`/`name` for tool calls. The first delta for a given
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:369:35: error: 'GenerationOptions' is unavailable in tvOS
367 | }
368 |
369 | private func topP(_ sampling: GenerationOptions.SamplingMode) throws -> Double {
| `- error: 'GenerationOptions' is unavailable in tvOS
370 | switch sampling.kind {
371 | case .greedy:
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:393:34: error: 'Transcript' is unavailable in tvOS
391 |
392 | private func convertedTranscript(
393 | _ entries: some Collection<Transcript.Entry>
| `- error: 'Transcript' is unavailable in tvOS
394 | ) throws -> [ChatCompletionsClient.ChatMessage] {
395 |
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:393:34: error: 'Transcript' is unavailable in tvOS
391 |
392 | private func convertedTranscript(
393 | _ entries: some Collection<Transcript.Entry>
| `- error: 'Transcript' is unavailable in tvOS
394 | ) throws -> [ChatCompletionsClient.ChatMessage] {
395 |
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:189:27: error: 'LanguageModelExecutor' is unavailable in tvOS
187 | }
188 |
189 | public struct Executor: LanguageModelExecutor {
| `- error: 'LanguageModelExecutor' is unavailable in tvOS
190 | public typealias Model = ChatCompletionsLanguageModel
191 | private let configuration: Configuration
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:39:55: error: 'LanguageModel' is unavailable in tvOS
37 | /// let response = try await session.respond(to: "Hello!")
38 | /// ```
39 | public struct ChatCompletionsLanguageModel: Sendable, LanguageModel {
| `- error: 'LanguageModel' is unavailable in tvOS
40 | /// The name of the underlying model, sent in the `model` field of each
41 | /// chat completion request.
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:799:23: error: 'GenerationSchema' is unavailable in tvOS
797 | let name: String
798 | let description: String
799 | let parameters: GenerationSchema
| `- error: 'GenerationSchema' is unavailable in tvOS
800 | }
801 | }
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/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:826:19: error: 'GenerationSchema' is unavailable in tvOS
824 | var name: String
825 | var description: String?
826 | var schema: GenerationSchema
| `- error: 'GenerationSchema' is unavailable in tvOS
827 | var strict = true
828 | }
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/Sources/FoundationModelsUtilities/Skills/Skill.swift:140:6: error: 'PromptBuilder' is unavailable in tvOS
138 | description: String,
139 | onActivate: @Sendable @escaping () -> Void = {},
140 | @PromptBuilder prompt: () -> Prompt,
| `- error: 'PromptBuilder' is unavailable in tvOS
141 | ) {
142 | storage = .prompt(
FoundationModels.PromptBuilder:3:30: note: 'PromptBuilder' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @resultBuilder public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:140:34: error: 'Prompt' is unavailable in tvOS
138 | description: String,
139 | onActivate: @Sendable @escaping () -> Void = {},
140 | @PromptBuilder prompt: () -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
141 | ) {
142 | storage = .prompt(
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:174:19: error: 'InstructionsRepresentable' is unavailable in tvOS
172 | name: String,
173 | description: String,
174 | instructions: InstructionsRepresentable,
| `- error: 'InstructionsRepresentable' is unavailable in tvOS
175 | allowsDeactivation: Bool = false,
176 | onActivate: @Sendable @escaping () -> Void = {},
FoundationModels.InstructionsRepresentable:3:17: note: 'InstructionsRepresentable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol InstructionsRepresentable {
| `- note: 'InstructionsRepresentable' has been explicitly marked unavailable here
4 | @InstructionsBuilder var instructionsRepresentation: Instructions { get }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:217:58: error: 'DynamicInstructions' is unavailable in tvOS
215 | onActivate: @Sendable @escaping () -> Void = {},
216 | onDeactivate: @Sendable @escaping () -> Void = {},
217 | @DynamicInstructionsBuilder instructions: () -> some DynamicInstructions
| `- error: 'DynamicInstructions' is unavailable in tvOS
218 | ) {
219 | storage = .instructions(
FoundationModels.DynamicInstructions:3:17: note: 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol DynamicInstructions {
| `- note: 'DynamicInstructions' has been explicitly marked unavailable here
4 | associatedtype Body : DynamicInstructions
5 | @DynamicInstructionsBuilder var body: Self.Body { get }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:217:6: error: 'DynamicInstructionsBuilder' is unavailable in tvOS
215 | onActivate: @Sendable @escaping () -> Void = {},
216 | onDeactivate: @Sendable @escaping () -> Void = {},
217 | @DynamicInstructionsBuilder instructions: () -> some DynamicInstructions
| `- error: 'DynamicInstructionsBuilder' is unavailable in tvOS
218 | ) {
219 | storage = .instructions(
FoundationModels.DynamicInstructionsBuilder:3:30: note: 'DynamicInstructionsBuilder' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @resultBuilder public struct DynamicInstructionsBuilder {
| `- note: 'DynamicInstructionsBuilder' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:217:58: error: 'DynamicInstructions' is unavailable in tvOS
215 | onActivate: @Sendable @escaping () -> Void = {},
216 | onDeactivate: @Sendable @escaping () -> Void = {},
217 | @DynamicInstructionsBuilder instructions: () -> some DynamicInstructions
| `- error: 'DynamicInstructions' is unavailable in tvOS
218 | ) {
219 | storage = .instructions(
FoundationModels.DynamicInstructions:3:17: note: 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol DynamicInstructions {
| `- note: 'DynamicInstructions' has been explicitly marked unavailable here
4 | associatedtype Body : DynamicInstructions
5 | @DynamicInstructionsBuilder var body: Self.Body { get }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:235:21: error: 'AnyDynamicInstructions' is unavailable in tvOS
233 | let name: String
234 | let description: String
235 | let instructions: AnyDynamicInstructions
| `- error: 'AnyDynamicInstructions' is unavailable in tvOS
236 | let allowsDeactivation: Bool
237 | let onActivate: @Sendable () -> Void
FoundationModels.AnyDynamicInstructions:3:15: note: 'AnyDynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct AnyDynamicInstructions : DynamicInstructions {
| `- note: 'AnyDynamicInstructions' has been explicitly marked unavailable here
4 | public init(_ dynamicInstructions: any DynamicInstructions)
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift:244:15: error: 'Prompt' is unavailable in tvOS
242 | let name: String
243 | let description: String
244 | let prompt: Prompt
| `- error: 'Prompt' is unavailable in tvOS
245 | let onActivate: @Sendable () -> Void
246 | }
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:57:44: error: 'Instructions' is unavailable in tvOS
55 | public struct Skills: DynamicInstructions {
56 | /// The default leading instructions rendered above the list of skills.
57 | private static let defaultInstructions = Instructions {
| `- error: 'Instructions' is unavailable in tvOS
58 | """
59 | If a skill below fits the user's request, silently activate it before \
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:57:44: error: 'init(_:)' is unavailable in tvOS
55 | public struct Skills: DynamicInstructions {
56 | /// The default leading instructions rendered above the list of skills.
57 | private static let defaultInstructions = Instructions {
| `- error: 'init(_:)' is unavailable in tvOS
58 | """
59 | If a skill below fits the user's request, silently activate it before \
FoundationModels.Instructions.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Instructions {
2 | public init(@InstructionsBuilder _ content: () throws -> Instructions) rethrows}
| `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:58:5: error: 'buildExpression' is unavailable in tvOS
56 | /// The default leading instructions rendered above the list of skills.
57 | private static let defaultInstructions = Instructions {
58 | """
| `- error: 'buildExpression' is unavailable in tvOS
59 | If a skill below fits the user's request, silently activate it before \
60 | responding. Otherwise, respond normally without calling tools.
FoundationModels.InstructionsBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @available(*, unavailable, message: "Only `Instructions` and `InstructionsRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Instructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:57:57: error: 'buildBlock' is unavailable in tvOS
55 | public struct Skills: DynamicInstructions {
56 | /// The default leading instructions rendered above the list of skills.
57 | private static let defaultInstructions = Instructions {
| `- error: 'buildBlock' is unavailable in tvOS
58 | """
59 | If a skill below fits the user's request, silently activate it before \
FoundationModels.InstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each I>(_ components: repeat each I) -> Instructions where repeat each I : InstructionsRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:68:29: error: 'Instructions' is unavailable in tvOS
66 | private let toolDescription: String?
67 |
68 | private let instructions: Instructions
| `- error: 'Instructions' is unavailable in tvOS
69 |
70 | private let skills: [Skill]
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:97:19: error: 'Instructions' is unavailable in tvOS
95 | toolName: String? = nil,
96 | toolDescription: String? = nil,
97 | instructions: Instructions? = nil,
| `- error: 'Instructions' is unavailable in tvOS
98 | strictSchema: Bool = false,
99 | @SkillsBuilder skills: () -> [Skill]
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:131:19: error: 'Instructions' is unavailable in tvOS
129 | toolName: String? = nil,
130 | toolDescription: String? = nil,
131 | instructions: Instructions? = nil,
| `- error: 'Instructions' is unavailable in tvOS
132 | strictSchema: Bool = false,
133 | skills: [Skill]
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:145:25: error: 'DynamicInstructions' is unavailable in tvOS
143 | /// The dynamic instructions body that renders each skill's status and
144 | /// provides the toggle tool to the model.
145 | public var body: some DynamicInstructions {
| `- error: 'DynamicInstructions' is unavailable in tvOS
146 |
147 | instructions
FoundationModels.DynamicInstructions:3:17: note: 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol DynamicInstructions {
| `- note: 'DynamicInstructions' has been explicitly marked unavailable here
4 | associatedtype Body : DynamicInstructions
5 | @DynamicInstructionsBuilder var body: Self.Body { get }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:55:23: error: 'DynamicInstructions' is unavailable in tvOS
53 | /// }
54 | /// ```
55 | public struct Skills: DynamicInstructions {
| `- error: 'DynamicInstructions' is unavailable in tvOS
56 | /// The default leading instructions rendered above the list of skills.
57 | private static let defaultInstructions = Instructions {
FoundationModels.DynamicInstructions:3:17: note: 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol DynamicInstructions {
| `- note: 'DynamicInstructions' has been explicitly marked unavailable here
4 | associatedtype Body : DynamicInstructions
5 | @DynamicInstructionsBuilder var body: Self.Body { get }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:208:19: error: 'GenerationSchema' is unavailable in tvOS
206 | let name: String
207 | let description: String
208 | let parameters: GenerationSchema
| `- error: 'GenerationSchema' is unavailable in tvOS
209 | let onCall: @Sendable (Skill) -> Void
210 | let skills: [Skill]
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/Sources/FoundationModelsUtilities/Skills/Skills.swift:293:24: error: 'GeneratedContent' is unavailable in tvOS
291 | }
292 |
293 | func call(arguments: GeneratedContent) async throws -> Prompt {
| `- error: 'GeneratedContent' is unavailable in tvOS
294 | let name = try arguments.value(String.self, forProperty: "skill")
295 |
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/Sources/FoundationModelsUtilities/Skills/Skills.swift:293:58: error: 'Prompt' is unavailable in tvOS
291 | }
292 |
293 | func call(arguments: GeneratedContent) async throws -> Prompt {
| `- error: 'Prompt' is unavailable in tvOS
294 | let name = try arguments.value(String.self, forProperty: "skill")
295 |
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:205:54: error: 'Tool' is unavailable in tvOS
203 | }
204 |
205 | private struct ToggleSkillTool: @unchecked Sendable, Tool {
| `- error: 'Tool' is unavailable in tvOS
206 | let name: String
207 | let description: String
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Tool<Arguments, Output> : Sendable {
| `- note: 'Tool' has been explicitly marked unavailable here
4 | associatedtype Output : PromptRepresentable
5 | associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:205:16: error: conformance of 'Prompt' to 'PromptRepresentable' is unavailable in tvOS
203 | }
204 |
205 | private struct ToggleSkillTool: @unchecked Sendable, Tool {
| |- error: conformance of 'Prompt' to 'PromptRepresentable' is unavailable in tvOS
| `- note: in associated type 'Self.Output' (inferred as 'Prompt')
206 | let name: String
207 | let description: String
FoundationModels.Prompt:3:11: note: conformance of 'Prompt' to 'PromptRepresentable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Prompt : PromptRepresentable {
| `- note: conformance of 'Prompt' to 'PromptRepresentable' has been explicitly marked unavailable here
4 | public var promptRepresentation: Prompt { get }
5 | }
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/TranscriptRendering.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skill.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/SkillActivations.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/SkillBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift -target arm64-apple-tvos27.0 -module-can-import-version CoreImage 3 7.0.0 -module-can-import-version Darwin 428.0.10 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/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/Objects-normal/arm64/FoundationModelsUtilities-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 -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 -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 InternalImportsByDefault -enable-experimental-feature NonisolatedNonsendingByDefault -enable-upcoming-feature MemberImportVisibility -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -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/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FoundationModelsUtilities -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/Objects-normal/arm64/FoundationModelsUtilities_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 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/Objects-normal/arm64/FoundationModelsUtilities.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/Objects-normal/arm64/FoundationModelsUtilities.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/Objects-normal/arm64/FoundationModelsUtilities-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/Objects-normal/arm64/FoundationModelsUtilities-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/Objects-normal/arm64/FoundationModelsUtilities-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/Objects-normal/arm64/FoundationModelsUtilities.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/foundation-models-utilities.build/Debug-appletvos/FoundationModelsUtilities-t.build/Objects-normal/arm64/FoundationModelsUtilities.abi.json
SwiftCompile normal arm64 (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SkillBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/SkillBuilder.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/SkillBuilder.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SkillBuilder.swift
SwiftCompile normal arm64 Compiling\ Skills.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:57:44: error: 'Instructions' is unavailable in tvOS
55 | public struct Skills: DynamicInstructions {
56 | /// The default leading instructions rendered above the list of skills.
57 | private static let defaultInstructions = Instructions {
| `- error: 'Instructions' is unavailable in tvOS
58 | """
59 | If a skill below fits the user's request, silently activate it before \
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:57:44: error: 'init(_:)' is unavailable in tvOS
55 | public struct Skills: DynamicInstructions {
56 | /// The default leading instructions rendered above the list of skills.
57 | private static let defaultInstructions = Instructions {
| `- error: 'init(_:)' is unavailable in tvOS
58 | """
59 | If a skill below fits the user's request, silently activate it before \
FoundationModels.Instructions.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Instructions {
2 | public init(@InstructionsBuilder _ content: () throws -> Instructions) rethrows}
| `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:58:5: error: 'buildExpression' is unavailable in tvOS
56 | /// The default leading instructions rendered above the list of skills.
57 | private static let defaultInstructions = Instructions {
58 | """
| `- error: 'buildExpression' is unavailable in tvOS
59 | If a skill below fits the user's request, silently activate it before \
60 | responding. Otherwise, respond normally without calling tools.
FoundationModels.InstructionsBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @available(*, unavailable, message: "Only `Instructions` and `InstructionsRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Instructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:57:57: error: 'buildBlock' is unavailable in tvOS
55 | public struct Skills: DynamicInstructions {
56 | /// The default leading instructions rendered above the list of skills.
57 | private static let defaultInstructions = Instructions {
| `- error: 'buildBlock' is unavailable in tvOS
58 | """
59 | If a skill below fits the user's request, silently activate it before \
FoundationModels.InstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each I>(_ components: repeat each I) -> Instructions where repeat each I : InstructionsRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:68:29: error: 'Instructions' is unavailable in tvOS
66 | private let toolDescription: String?
67 |
68 | private let instructions: Instructions
| `- error: 'Instructions' is unavailable in tvOS
69 |
70 | private let skills: [Skill]
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:97:19: error: 'Instructions' is unavailable in tvOS
95 | toolName: String? = nil,
96 | toolDescription: String? = nil,
97 | instructions: Instructions? = nil,
| `- error: 'Instructions' is unavailable in tvOS
98 | strictSchema: Bool = false,
99 | @SkillsBuilder skills: () -> [Skill]
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:131:19: error: 'Instructions' is unavailable in tvOS
129 | toolName: String? = nil,
130 | toolDescription: String? = nil,
131 | instructions: Instructions? = nil,
| `- error: 'Instructions' is unavailable in tvOS
132 | strictSchema: Bool = false,
133 | skills: [Skill]
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:145:25: error: 'DynamicInstructions' is unavailable in tvOS
143 | /// The dynamic instructions body that renders each skill's status and
144 | /// provides the toggle tool to the model.
145 | public var body: some DynamicInstructions {
| `- error: 'DynamicInstructions' is unavailable in tvOS
146 |
147 | instructions
FoundationModels.DynamicInstructions:3:17: note: 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol DynamicInstructions {
| `- note: 'DynamicInstructions' has been explicitly marked unavailable here
4 | associatedtype Body : DynamicInstructions
5 | @DynamicInstructionsBuilder var body: Self.Body { get }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:55:23: error: 'DynamicInstructions' is unavailable in tvOS
53 | /// }
54 | /// ```
55 | public struct Skills: DynamicInstructions {
| `- error: 'DynamicInstructions' is unavailable in tvOS
56 | /// The default leading instructions rendered above the list of skills.
57 | private static let defaultInstructions = Instructions {
FoundationModels.DynamicInstructions:3:17: note: 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol DynamicInstructions {
| `- note: 'DynamicInstructions' has been explicitly marked unavailable here
4 | associatedtype Body : DynamicInstructions
5 | @DynamicInstructionsBuilder var body: Self.Body { get }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:208:19: error: 'GenerationSchema' is unavailable in tvOS
206 | let name: String
207 | let description: String
208 | let parameters: GenerationSchema
| `- error: 'GenerationSchema' is unavailable in tvOS
209 | let onCall: @Sendable (Skill) -> Void
210 | let skills: [Skill]
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/Sources/FoundationModelsUtilities/Skills/Skills.swift:293:24: error: 'GeneratedContent' is unavailable in tvOS
291 | }
292 |
293 | func call(arguments: GeneratedContent) async throws -> Prompt {
| `- error: 'GeneratedContent' is unavailable in tvOS
294 | let name = try arguments.value(String.self, forProperty: "skill")
295 |
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/Sources/FoundationModelsUtilities/Skills/Skills.swift:293:58: error: 'Prompt' is unavailable in tvOS
291 | }
292 |
293 | func call(arguments: GeneratedContent) async throws -> Prompt {
| `- error: 'Prompt' is unavailable in tvOS
294 | let name = try arguments.value(String.self, forProperty: "skill")
295 |
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:205:54: error: 'Tool' is unavailable in tvOS
203 | }
204 |
205 | private struct ToggleSkillTool: @unchecked Sendable, Tool {
| `- error: 'Tool' is unavailable in tvOS
206 | let name: String
207 | let description: String
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Tool<Arguments, Output> : Sendable {
| `- note: 'Tool' has been explicitly marked unavailable here
4 | associatedtype Output : PromptRepresentable
5 | associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:205:16: error: conformance of 'Prompt' to 'PromptRepresentable' is unavailable in tvOS
203 | }
204 |
205 | private struct ToggleSkillTool: @unchecked Sendable, Tool {
| |- error: conformance of 'Prompt' to 'PromptRepresentable' is unavailable in tvOS
| `- note: in associated type 'Self.Output' (inferred as 'Prompt')
206 | let name: String
207 | let description: String
FoundationModels.Prompt:3:11: note: conformance of 'Prompt' to 'PromptRepresentable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Prompt : PromptRepresentable {
| `- note: conformance of 'Prompt' to 'PromptRepresentable' has been explicitly marked unavailable here
4 | public var promptRepresentation: Prompt { get }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:147:5: error: 'buildExpression' is unavailable in tvOS
145 | public var body: some DynamicInstructions {
146 |
147 | instructions
| `- error: 'buildExpression' is unavailable in tvOS
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
FoundationModels.DynamicInstructionsBuilder.buildExpression:2:44: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> T where T : DynamicInstructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:5: error: 'buildExpression' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: 'buildExpression' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.DynamicInstructionsBuilder.buildExpression:2:44: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> T where T : DynamicInstructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:5: error: 'DynamicInstructions' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: 'DynamicInstructions' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.DynamicInstructions:3:17: note: 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol DynamicInstructions {
| `- note: 'DynamicInstructions' has been explicitly marked unavailable here
4 | associatedtype Body : DynamicInstructions
5 | @DynamicInstructionsBuilder var body: Self.Body { get }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:25: error: 'init(_:id:content:)' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: 'init(_:id:content:)' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.DynamicInstructionsForEach.init:2:8: note: 'init(_:id:content:)' has been explicitly marked unavailable here
1 | generic struct DynamicInstructionsForEach {
2 | public init(_ data: Data, id: KeyPath<Data.Element, ID>, @DynamicInstructionsBuilder content: @escaping (Data.Element) -> Content)}
| `- note: 'init(_:id:content:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:81: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:81: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:81: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:81: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:81: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:81: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:81: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:81: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:81: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:157:11: error: 'buildExpression' is unavailable in tvOS
155 | // shown whether each one is currently active or inactive.
156 | if activations.isActive(skill.name) {
157 | Instructions {
| `- error: 'buildExpression' is unavailable in tvOS
158 | "\nSkill: \(skill.name) [active]"
159 | }
FoundationModels.DynamicInstructionsBuilder.buildExpression:2:44: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> T where T : DynamicInstructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:157:11: error: 'Instructions' is unavailable in tvOS
155 | // shown whether each one is currently active or inactive.
156 | if activations.isActive(skill.name) {
157 | Instructions {
| `- error: 'Instructions' is unavailable in tvOS
158 | "\nSkill: \(skill.name) [active]"
159 | }
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:157:11: error: 'init(_:)' is unavailable in tvOS
155 | // shown whether each one is currently active or inactive.
156 | if activations.isActive(skill.name) {
157 | Instructions {
| `- error: 'init(_:)' is unavailable in tvOS
158 | "\nSkill: \(skill.name) [active]"
159 | }
FoundationModels.Instructions.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Instructions {
2 | public init(@InstructionsBuilder _ content: () throws -> Instructions) rethrows}
| `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:158:13: error: 'buildExpression' is unavailable in tvOS
156 | if activations.isActive(skill.name) {
157 | Instructions {
158 | "\nSkill: \(skill.name) [active]"
| `- error: 'buildExpression' is unavailable in tvOS
159 | }
160 | stored.instructions
FoundationModels.InstructionsBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @available(*, unavailable, message: "Only `Instructions` and `InstructionsRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Instructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:157:24: error: 'buildBlock' is unavailable in tvOS
155 | // shown whether each one is currently active or inactive.
156 | if activations.isActive(skill.name) {
157 | Instructions {
| `- error: 'buildBlock' is unavailable in tvOS
158 | "\nSkill: \(skill.name) [active]"
159 | }
FoundationModels.InstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each I>(_ components: repeat each I) -> Instructions where repeat each I : InstructionsRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:160:11: error: 'buildExpression' is unavailable in tvOS
158 | "\nSkill: \(skill.name) [active]"
159 | }
160 | stored.instructions
| `- error: 'buildExpression' is unavailable in tvOS
161 | } else {
162 | Instructions {
FoundationModels.DynamicInstructionsBuilder.buildExpression:2:44: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> T where T : DynamicInstructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:156:45: error: 'buildBlock' is unavailable in tvOS
154 | // Instructions-based skills carry persistent state, so the model is
155 | // shown whether each one is currently active or inactive.
156 | if activations.isActive(skill.name) {
| `- error: 'buildBlock' is unavailable in tvOS
157 | Instructions {
158 | "\nSkill: \(skill.name) [active]"
FoundationModels.DynamicInstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each Content>(_ contents: repeat each Content) -> TupleDynamicInstructions<repeat each Content> where repeat each Content : DynamicInstructions}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:156:45: error: 'buildEither(first:)' is unavailable in tvOS
154 | // Instructions-based skills carry persistent state, so the model is
155 | // shown whether each one is currently active or inactive.
156 | if activations.isActive(skill.name) {
| `- error: 'buildEither(first:)' is unavailable in tvOS
157 | Instructions {
158 | "\nSkill: \(skill.name) [active]"
FoundationModels.DynamicInstructionsBuilder.buildEither:2:44: note: 'buildEither(first:)' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildEither<TrueContent, FalseContent>(first content: TrueContent) -> ConditionalDynamicInstructions<TrueContent, FalseContent> where TrueContent : DynamicInstructions, FalseContent : DynamicInstructions}
| `- note: 'buildEither(first:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:162:11: error: 'buildExpression' is unavailable in tvOS
160 | stored.instructions
161 | } else {
162 | Instructions {
| `- error: 'buildExpression' is unavailable in tvOS
163 | "\nSkill: \(skill.name) [inactive]"
164 | "Description: \(skill.description)"
FoundationModels.DynamicInstructionsBuilder.buildExpression:2:44: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> T where T : DynamicInstructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:162:11: error: 'Instructions' is unavailable in tvOS
160 | stored.instructions
161 | } else {
162 | Instructions {
| `- error: 'Instructions' is unavailable in tvOS
163 | "\nSkill: \(skill.name) [inactive]"
164 | "Description: \(skill.description)"
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:162:11: error: 'init(_:)' is unavailable in tvOS
160 | stored.instructions
161 | } else {
162 | Instructions {
| `- error: 'init(_:)' is unavailable in tvOS
163 | "\nSkill: \(skill.name) [inactive]"
164 | "Description: \(skill.description)"
FoundationModels.Instructions.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Instructions {
2 | public init(@InstructionsBuilder _ content: () throws -> Instructions) rethrows}
| `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:163:13: error: 'buildExpression' is unavailable in tvOS
161 | } else {
162 | Instructions {
163 | "\nSkill: \(skill.name) [inactive]"
| `- error: 'buildExpression' is unavailable in tvOS
164 | "Description: \(skill.description)"
165 | }
FoundationModels.InstructionsBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @available(*, unavailable, message: "Only `Instructions` and `InstructionsRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Instructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:164:13: error: 'buildExpression' is unavailable in tvOS
162 | Instructions {
163 | "\nSkill: \(skill.name) [inactive]"
164 | "Description: \(skill.description)"
| `- error: 'buildExpression' is unavailable in tvOS
165 | }
166 | }
FoundationModels.InstructionsBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @available(*, unavailable, message: "Only `Instructions` and `InstructionsRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Instructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:162:24: error: 'buildBlock' is unavailable in tvOS
160 | stored.instructions
161 | } else {
162 | Instructions {
| `- error: 'buildBlock' is unavailable in tvOS
163 | "\nSkill: \(skill.name) [inactive]"
164 | "Description: \(skill.description)"
FoundationModels.InstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each I>(_ components: repeat each I) -> Instructions where repeat each I : InstructionsRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:161:16: error: 'buildBlock' is unavailable in tvOS
159 | }
160 | stored.instructions
161 | } else {
| `- error: 'buildBlock' is unavailable in tvOS
162 | Instructions {
163 | "\nSkill: \(skill.name) [inactive]"
FoundationModels.DynamicInstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildBlock<T>(_ content: T) -> T where T : DynamicInstructions}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:161:16: error: 'buildEither(second:)' is unavailable in tvOS
159 | }
160 | stored.instructions
161 | } else {
| `- error: 'buildEither(second:)' is unavailable in tvOS
162 | Instructions {
163 | "\nSkill: \(skill.name) [inactive]"
FoundationModels.DynamicInstructionsBuilder.buildEither:2:44: note: 'buildEither(second:)' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildEither<TrueContent, FalseContent>(second content: FalseContent) -> ConditionalDynamicInstructions<TrueContent, FalseContent> where TrueContent : DynamicInstructions, FalseContent : DynamicInstructions}
| `- note: 'buildEither(second:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:153:57: error: 'buildBlock' is unavailable in tvOS
151 | // every skill block are visually separated.
152 | let skill = item.element
153 | if case .instructions(let stored) = skill.storage {
| `- error: 'buildBlock' is unavailable in tvOS
154 | // Instructions-based skills carry persistent state, so the model is
155 | // shown whether each one is currently active or inactive.
FoundationModels.DynamicInstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildBlock<T>(_ content: T) -> T where T : DynamicInstructions}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:153:57: error: 'buildEither(first:)' is unavailable in tvOS
151 | // every skill block are visually separated.
152 | let skill = item.element
153 | if case .instructions(let stored) = skill.storage {
| `- error: 'buildEither(first:)' is unavailable in tvOS
154 | // Instructions-based skills carry persistent state, so the model is
155 | // shown whether each one is currently active or inactive.
FoundationModels.DynamicInstructionsBuilder.buildEither:2:44: note: 'buildEither(first:)' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildEither<TrueContent, FalseContent>(first content: TrueContent) -> ConditionalDynamicInstructions<TrueContent, FalseContent> where TrueContent : DynamicInstructions, FalseContent : DynamicInstructions}
| `- note: 'buildEither(first:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:172:9: error: 'buildExpression' is unavailable in tvOS
170 | // as on-demand so the model isn't told they're "inactive" after it has
171 | // already invoked them.
172 | Instructions {
| `- error: 'buildExpression' is unavailable in tvOS
173 | "\nSkill: \(skill.name) [on demand]"
174 | "Description: \(skill.description)"
FoundationModels.DynamicInstructionsBuilder.buildExpression:2:44: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> T where T : DynamicInstructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:172:9: error: 'Instructions' is unavailable in tvOS
170 | // as on-demand so the model isn't told they're "inactive" after it has
171 | // already invoked them.
172 | Instructions {
| `- error: 'Instructions' is unavailable in tvOS
173 | "\nSkill: \(skill.name) [on demand]"
174 | "Description: \(skill.description)"
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
| `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:172:9: error: 'init(_:)' is unavailable in tvOS
170 | // as on-demand so the model isn't told they're "inactive" after it has
171 | // already invoked them.
172 | Instructions {
| `- error: 'init(_:)' is unavailable in tvOS
173 | "\nSkill: \(skill.name) [on demand]"
174 | "Description: \(skill.description)"
FoundationModels.Instructions.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Instructions {
2 | public init(@InstructionsBuilder _ content: () throws -> Instructions) rethrows}
| `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:173:11: error: 'buildExpression' is unavailable in tvOS
171 | // already invoked them.
172 | Instructions {
173 | "\nSkill: \(skill.name) [on demand]"
| `- error: 'buildExpression' is unavailable in tvOS
174 | "Description: \(skill.description)"
175 | }
FoundationModels.InstructionsBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @available(*, unavailable, message: "Only `Instructions` and `InstructionsRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Instructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:174:11: error: 'buildExpression' is unavailable in tvOS
172 | Instructions {
173 | "\nSkill: \(skill.name) [on demand]"
174 | "Description: \(skill.description)"
| `- error: 'buildExpression' is unavailable in tvOS
175 | }
176 | }
FoundationModels.InstructionsBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @available(*, unavailable, message: "Only `Instructions` and `InstructionsRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Instructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:172:22: error: 'buildBlock' is unavailable in tvOS
170 | // as on-demand so the model isn't told they're "inactive" after it has
171 | // already invoked them.
172 | Instructions {
| `- error: 'buildBlock' is unavailable in tvOS
173 | "\nSkill: \(skill.name) [on demand]"
174 | "Description: \(skill.description)"
FoundationModels.InstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each I>(_ components: repeat each I) -> Instructions where repeat each I : InstructionsRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:167:14: error: 'buildBlock' is unavailable in tvOS
165 | }
166 | }
167 | } else {
| `- error: 'buildBlock' is unavailable in tvOS
168 | // Prompt-based skills are one-shot: invoking one injects its content
169 | // as tool output rather than toggling a persistent mode. We label them
FoundationModels.DynamicInstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildBlock<T>(_ content: T) -> T where T : DynamicInstructions}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:167:14: error: 'buildEither(second:)' is unavailable in tvOS
165 | }
166 | }
167 | } else {
| `- error: 'buildEither(second:)' is unavailable in tvOS
168 | // Prompt-based skills are one-shot: invoking one injects its content
169 | // as tool output rather than toggling a persistent mode. We label them
FoundationModels.DynamicInstructionsBuilder.buildEither:2:44: note: 'buildEither(second:)' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildEither<TrueContent, FalseContent>(second content: FalseContent) -> ConditionalDynamicInstructions<TrueContent, FalseContent> where TrueContent : DynamicInstructions, FalseContent : DynamicInstructions}
| `- note: 'buildEither(second:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:81: error: 'buildBlock' is unavailable in tvOS
147 | instructions
148 |
149 | DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
| `- error: 'buildBlock' is unavailable in tvOS
150 | // Each skill is preceded by a blank line so the leading instruction and
151 | // every skill block are visually separated.
FoundationModels.DynamicInstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildBlock<T>(_ content: T) -> T where T : DynamicInstructions}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:179:5: error: 'buildExpression' is unavailable in tvOS
177 | }
178 |
179 | ToggleSkillTool(
| `- error: 'buildExpression' is unavailable in tvOS
180 | name: toolName,
181 | description: toolDescription,
FoundationModels.DynamicInstructionsBuilder.buildExpression:2:20: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | public static func buildExpression<T>(_ expression: T) -> some DynamicInstructions where T : Tool
| `- note: 'buildExpression' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:145:45: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
143 | /// The dynamic instructions body that renders each skill's status and
144 | /// provides the toggle tool to the model.
145 | public var body: some DynamicInstructions {
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
146 |
147 | instructions
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:145:45: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
143 | /// The dynamic instructions body that renders each skill's status and
144 | /// provides the toggle tool to the model.
145 | public var body: some DynamicInstructions {
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
146 |
147 | instructions
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:145:45: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
143 | /// The dynamic instructions body that renders each skill's status and
144 | /// provides the toggle tool to the model.
145 | public var body: some DynamicInstructions {
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
146 |
147 | instructions
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:145:45: error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
143 | /// The dynamic instructions body that renders each skill's status and
144 | /// provides the toggle tool to the model.
145 | public var body: some DynamicInstructions {
| `- error: conformance of 'Instructions' to 'DynamicInstructions' is unavailable in tvOS
146 |
147 | instructions
FoundationModels.Instructions:3:11: note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Instructions : DynamicInstructions {
| `- note: conformance of 'Instructions' to 'DynamicInstructions' has been explicitly marked unavailable here
4 | public var body: some DynamicInstructions { get }
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:145:45: error: 'buildBlock' is unavailable in tvOS
143 | /// The dynamic instructions body that renders each skill's status and
144 | /// provides the toggle tool to the model.
145 | public var body: some DynamicInstructions {
| `- error: 'buildBlock' is unavailable in tvOS
146 |
147 | instructions
FoundationModels.DynamicInstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct DynamicInstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each Content>(_ contents: repeat each Content) -> TupleDynamicInstructions<repeat each Content> where repeat each Content : DynamicInstructions}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:269:27: error: 'GenerationSchema' is unavailable in tvOS
267 | let resolvedDescription = description ?? defaultDescription
268 |
269 | let parameters = try! GenerationSchema(
| `- error: 'GenerationSchema' is unavailable in tvOS
270 | root: DynamicGenerationSchema(
271 | name: "Arguments",
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/Sources/FoundationModelsUtilities/Skills/Skills.swift:269:27: error: 'init(root:dependencies:)' is unavailable in tvOS
267 | let resolvedDescription = description ?? defaultDescription
268 |
269 | let parameters = try! GenerationSchema(
| `- error: 'init(root:dependencies:)' is unavailable in tvOS
270 | root: DynamicGenerationSchema(
271 | name: "Arguments",
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
| `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:270:13: error: 'DynamicGenerationSchema' is unavailable in tvOS
268 |
269 | let parameters = try! GenerationSchema(
270 | root: DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
271 | name: "Arguments",
272 | properties: [
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:270:13: error: 'init(name:description:properties:)' is unavailable in tvOS
268 |
269 | let parameters = try! GenerationSchema(
270 | root: DynamicGenerationSchema(
| `- error: 'init(name:description:properties:)' is unavailable in tvOS
271 | name: "Arguments",
272 | properties: [
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:properties:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, properties: [DynamicGenerationSchema.Property])}
| `- note: 'init(name:description:properties:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:273:11: error: 'DynamicGenerationSchema' is unavailable in tvOS
271 | name: "Arguments",
272 | properties: [
273 | DynamicGenerationSchema.Property(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
274 | name: "skill",
275 | schema: DynamicGenerationSchema(
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:273:35: error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
271 | name: "Arguments",
272 | properties: [
273 | DynamicGenerationSchema.Property(
| `- error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
274 | name: "skill",
275 | schema: DynamicGenerationSchema(
FoundationModels.DynamicGenerationSchema.Property.init:3:8: note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | struct Property {
3 | public init(name: String, description: String? = nil, schema: DynamicGenerationSchema, isOptional: Bool = false) }
| `- note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:275:21: error: 'DynamicGenerationSchema' is unavailable in tvOS
273 | DynamicGenerationSchema.Property(
274 | name: "skill",
275 | schema: DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
276 | type: String.self,
277 | guides: [.anyOf(allowed)]
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:275:21: error: 'init(type:guides:)' is unavailable in tvOS
273 | DynamicGenerationSchema.Property(
274 | name: "skill",
275 | schema: DynamicGenerationSchema(
| `- error: 'init(type:guides:)' is unavailable in tvOS
276 | type: String.self,
277 | guides: [.anyOf(allowed)]
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
| `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:277:25: error: 'anyOf' is unavailable in tvOS
275 | schema: DynamicGenerationSchema(
276 | type: String.self,
277 | guides: [.anyOf(allowed)]
| `- error: 'anyOf' is unavailable in tvOS
278 | ),
279 | )
FoundationModels.GenerationGuide.anyOf:2:20: note: 'anyOf' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func anyOf(_ values: [String]) -> GenerationGuide<String>}
| `- note: 'anyOf' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:294:30: error: 'value(_:forProperty:)' is unavailable in tvOS
292 |
293 | func call(arguments: GeneratedContent) async throws -> Prompt {
294 | let name = try arguments.value(String.self, forProperty: "skill")
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
295 |
296 | guard let skill = skills.first(where: { $0.name == name }) else {
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:297:13: error: 'GeneratedContent' is unavailable in tvOS
295 |
296 | guard let skill = skills.first(where: { $0.name == name }) else {
297 | throw GeneratedContent.ParsingError(
| `- error: 'GeneratedContent' is unavailable in tvOS
298 | rawContent: arguments.jsonString,
299 | debugDescription: """
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/Sources/FoundationModelsUtilities/Skills/Skills.swift:298:31: error: 'jsonString' is unavailable in tvOS
296 | guard let skill = skills.first(where: { $0.name == name }) else {
297 | throw GeneratedContent.ParsingError(
298 | rawContent: arguments.jsonString,
| `- error: 'jsonString' is unavailable in tvOS
299 | debugDescription: """
300 | Model attempted to toggle a skill named '\(name)', \
FoundationModels.GeneratedContent.jsonString:2:12: note: 'jsonString' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public var jsonString: String { get }}
| `- note: 'jsonString' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:317:14: error: 'Prompt' is unavailable in tvOS
315 | let activated = activations.isActive(skill.name)
316 | let verb = activated ? "deactivated" : "activated"
317 | return Prompt { "Successfully \(verb) skill: \(skill.name)" }
| `- error: 'Prompt' is unavailable in tvOS
318 | }
319 | }
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:317:14: error: 'init(_:)' is unavailable in tvOS
315 | let activated = activations.isActive(skill.name)
316 | let verb = activated ? "deactivated" : "activated"
317 | return Prompt { "Successfully \(verb) skill: \(skill.name)" }
| `- error: 'init(_:)' is unavailable in tvOS
318 | }
319 | }
FoundationModels.Prompt.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Prompt {
2 | public init(@PromptBuilder _ content: () throws -> Prompt) rethrows}
| `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift:317:23: error: 'buildExpression' is unavailable in tvOS
315 | let activated = activations.isActive(skill.name)
316 | let verb = activated ? "deactivated" : "activated"
317 | return Prompt { "Successfully \(verb) skill: \(skill.name)" }
| `- error: 'buildExpression' is unavailable in tvOS
318 | }
319 | }
FoundationModels.PromptBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct PromptBuilder {
2 | @available(*, unavailable, message: "Only `Prompt` and `PromptRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Prompt}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/Skills/Skills.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Skills.swift
SwiftCompile normal arm64 Compiling\ DropCompletedToolCalls.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:38:52: error: 'DynamicProfile' is unavailable in tvOS
36 | /// - Returns: A profile that prunes completed tool-call entries from its
37 | /// transcript before each generation.
38 | public func droppingCompletedToolCalls() -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
39 | modifier(DropCompletedToolCallsModifier())
40 | }
FoundationModels.LanguageModelSession.DynamicProfile.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:14:11: error: 'LanguageModelSession' is unavailable in tvOS
12 | public import FoundationModels
13 |
14 | extension LanguageModelSession.DynamicProfile {
| `- error: 'LanguageModelSession' is unavailable in tvOS
15 | /// Returns a modified profile that removes completed tool-call and
16 | /// tool-output entries from the transcript before each generation.
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:44:39: error: 'DynamicProfile' is unavailable in tvOS
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
44 | func body(content: Content) -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
45 | content.historyTransform { history in
46 | let lastOutputIndex =
FoundationModels.LanguageModelSession.DynamicProfileModifier.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfileModifier {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:43:48: error: 'LanguageModelSession' is unavailable in tvOS
41 | }
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
| `- error: 'LanguageModelSession' is unavailable in tvOS
44 | func body(content: Content) -> some DynamicProfile {
45 | content.historyTransform { history in
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:39:5: error: 'modifier' is unavailable in tvOS
37 | /// transcript before each generation.
38 | public func droppingCompletedToolCalls() -> some DynamicProfile {
39 | modifier(DropCompletedToolCallsModifier())
| `- error: 'modifier' is unavailable in tvOS
40 | }
41 | }
FoundationModels.LanguageModelSession.DynamicProfile.modifier:3:13: note: 'modifier' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public func modifier<Modifier>(_ modifier: Modifier) -> some LanguageModelSession.DynamicProfile where Modifier : LanguageModelSession.DynamicProfileModifier
| `- note: 'modifier' has been explicitly marked unavailable here
4 | }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:45:13: error: 'historyTransform' is unavailable in tvOS
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
44 | func body(content: Content) -> some DynamicProfile {
45 | content.historyTransform { history in
| `- error: 'historyTransform' is unavailable in tvOS
46 | let lastOutputIndex =
47 | history.lastIndex(where: { entry in
FoundationModels.LanguageModelSession.DynamicProfile.historyTransform:3:13: note: 'historyTransform' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public func historyTransform(_ transform: @escaping ([Transcript.Entry]) -> [Transcript.Entry]) -> some LanguageModelSession.DynamicProfile
| `- note: 'historyTransform' has been explicitly marked unavailable here
4 | }
5 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DropCompletedToolCalls.swift
SwiftCompile normal arm64 Compiling\ RollingWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:36:51: error: 'DynamicProfile' is unavailable in tvOS
34 | /// - Returns: A profile that trims its transcript to the specified window
35 | /// size before each generation.
36 | public func rollingWindow(entries: Int) -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
37 | rollingWindow(size: .entries(entries))
38 | }
FoundationModels.LanguageModelSession.DynamicProfile.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:64:62: error: 'DynamicProfile' is unavailable in tvOS
62 | /// - Returns: A profile that trims its transcript to the specified window
63 | /// size before each generation.
64 | public func rollingWindow(size: RollingWindowSize) -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
65 | modifier(RollingWindowModifier(size: size))
66 | }
FoundationModels.LanguageModelSession.DynamicProfile.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:14:11: error: 'LanguageModelSession' is unavailable in tvOS
12 | public import FoundationModels
13 |
14 | extension LanguageModelSession.DynamicProfile {
| `- error: 'LanguageModelSession' is unavailable in tvOS
15 | /// Returns a modified profile that keeps only the most recent transcript
16 | /// entries, discarding older ones each time a new prompt is sent.
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:72:39: error: 'DynamicProfile' is unavailable in tvOS
70 | let size: RollingWindowSize
71 |
72 | func body(content: Content) -> some DynamicProfile {
| `- error: 'DynamicProfile' is unavailable in tvOS
73 | content.historyTransform { history in
74 | switch size {
FoundationModels.LanguageModelSession.DynamicProfileModifier.DynamicProfile:3:18: note: 'DynamicProfile' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfileModifier {
3 | public typealias DynamicProfile = LanguageModelSession.DynamicProfile }
| `- note: 'DynamicProfile' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:69:39: error: 'LanguageModelSession' is unavailable in tvOS
67 | }
68 |
69 | private struct RollingWindowModifier: LanguageModelSession.DynamicProfileModifier {
| `- error: 'LanguageModelSession' is unavailable in tvOS
70 | let size: RollingWindowSize
71 |
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:65:5: error: 'modifier' is unavailable in tvOS
63 | /// size before each generation.
64 | public func rollingWindow(size: RollingWindowSize) -> some DynamicProfile {
65 | modifier(RollingWindowModifier(size: size))
| `- error: 'modifier' is unavailable in tvOS
66 | }
67 | }
FoundationModels.LanguageModelSession.DynamicProfile.modifier:3:13: note: 'modifier' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public func modifier<Modifier>(_ modifier: Modifier) -> some LanguageModelSession.DynamicProfile where Modifier : LanguageModelSession.DynamicProfileModifier
| `- note: 'modifier' has been explicitly marked unavailable here
4 | }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift:73:13: error: 'historyTransform' is unavailable in tvOS
71 |
72 | func body(content: Content) -> some DynamicProfile {
73 | content.historyTransform { history in
| `- error: 'historyTransform' is unavailable in tvOS
74 | switch size {
75 | case .entries(let numberOfEntries):
FoundationModels.LanguageModelSession.DynamicProfile.historyTransform:3:13: note: 'historyTransform' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | protocol DynamicProfile {
3 | public func historyTransform(_ transform: @escaping ([Transcript.Entry]) -> [Transcript.Entry]) -> some LanguageModelSession.DynamicProfile
| `- note: 'historyTransform' has been explicitly marked unavailable here
4 | }
5 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/RollingWindow.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RollingWindow.swift
SwiftCompile normal arm64 Compiling\ TranscriptRendering.swift /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/TranscriptRendering.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
/Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/TranscriptRendering.swift:14:11: error: 'Transcript' is unavailable in tvOS
12 | import FoundationModels
13 |
14 | extension Transcript.Entry {
| `- error: 'Transcript' is unavailable in tvOS
15 | /// Plain-text role-tagged rendering of this entry, suitable for embedding
16 | /// in an LLM prompt. Returns `nil` for entries without conversational
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/Sources/FoundationModelsUtilities/History/TranscriptRendering.swift:42:37: error: 'Transcript' is unavailable in tvOS
40 | }
41 |
42 | extension Sequence where Element == Transcript.Entry {
| `- error: 'Transcript' is unavailable in tvOS
43 | /// Renders the entries as role-tagged lines joined by `separator`,
44 | /// omitting non-conversational entries.
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/Sources/FoundationModelsUtilities/History/TranscriptRendering.swift:50:37: error: 'Transcript' is unavailable in tvOS
48 | }
49 |
50 | extension Sequence where Element == Transcript.Segment {
| `- error: 'Transcript' is unavailable in tvOS
51 | /// Concatenates the textual content of any text segments, ignoring
52 | /// structured content and attachments.
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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FoundationModelsUtilities/History/TranscriptRendering.swift (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TranscriptRendering.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-11-04 22:26:03.499 xcodebuild[721:4487] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ FoundationModelsUtilities (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
SwiftCompile normal arm64 (in target 'FoundationModelsUtilities' from project 'foundation-models-utilities')
Building workspace foundation-models-utilities with scheme foundation-models-utilities
(3 failures)
BUILD FAILURE 6.4 tvOS