Build Information
Failed to build swift-context-management, reference 0.0.3 (d87f52), with Swift 6.4 for tvOS using Xcode 27.0 on 24 Sep 2026 01:16:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-context-management -destination generic/platform=tvOSBuild Log
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|33 | public var id: GenerationID
|34 | public var topic: String.PartiallyGenerated?
|35 | public var entryIndices: [Int].PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
12 |
FoundationModels.Array.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public typealias PartiallyGenerated = [Element.PartiallyGenerated]}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:36:57: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|34 | public var topic: String.PartiallyGenerated?
|35 | public var entryIndices: [Int].PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|37 | self.id = content.id ?? GenerationID()
|38 | self.topic = try content.value(forProperty: "topic")
+--------------------------------------------------------------------
12 |
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
macro expansion @Generable:32:90: error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
|33 | public var id: GenerationID
|34 | public var topic: String.PartiallyGenerated?
+--------------------------------------------------------------------
12 |
FoundationModels.ConvertibleFromGeneratedContent:3:17: note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol ConvertibleFromGeneratedContent : SendableMetatype {
| `- note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
4 | init(_ content: GeneratedContent) throws
5 | }
macro expansion @Generable:32:27: warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
|33 | public var id: GenerationID
|34 | public var topic: String.PartiallyGenerated?
+--------------------------------------------------------------------
12 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' declared here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' declared here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
Swift.Identifiable.ID:2:16: note: requirement 'ID' declared here
1 | protocol Identifiable {
2 | associatedtype ID : Hashable}
| `- note: requirement 'ID' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:4:2: error: 'Generable(description:)' is unavailable in tvOS
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
macro expansion @Generable:2:57: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:2: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension TopicDetectionResult: nonisolated FoundationModels.Generable {
|2 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|3 | self.topic = try content.value(forProperty: "topic")
|4 | self.entryIndices = try content.value(forProperty: "entryIndices")
+--------------------------------------------------------------------
12 |
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
macro expansion @Generable:1:62: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:2: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension TopicDetectionResult: nonisolated FoundationModels.Generable {
| | `- error: 'Generable' is unavailable in tvOS
|2 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|3 | self.topic = try content.value(forProperty: "topic")
+--------------------------------------------------------------------
12 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:2:22: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
| 2 | FoundationModels.GenerationSchema(
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 3 | type: Self.self,
| 4 | properties: [
+--------------------------------------------------------------------
12 |
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 | }
macro expansion @Generable:2:22: error: 'init(type:description:properties:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
| 2 | FoundationModels.GenerationSchema(
| | `- error: 'init(type:description:properties:)' is unavailable in tvOS
| 3 | type: Self.self,
| 4 | properties: [
+--------------------------------------------------------------------
12 |
FoundationModels.GenerationSchema.init:2:8: note: 'init(type:description:properties:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(type: any Generable.Type, description: String? = nil, properties: [GenerationSchema.Property])}
| `- note: 'init(type:description:properties:)' has been explicitly marked unavailable here
3 |
macro expansion @Generable:5:30: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "topic", description: "The topic of the entries", type: String.self),
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 6 | FoundationModels.GenerationSchema.Property(name: "entryIndices", description: "The indices of the entries that are related to the topic", type: [Int].self)
| 7 | ]
+--------------------------------------------------------------------
12 |
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 | }
macro expansion @Generable:5:47: error: 'init(name:description:type:guides:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "topic", description: "The topic of the entries", type: String.self),
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 6 | FoundationModels.GenerationSchema.Property(name: "entryIndices", description: "The indices of the entries that are related to the topic", type: [Int].self)
| 7 | ]
+--------------------------------------------------------------------
12 |
FoundationModels.GenerationSchema.Property.init:3:8: note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | struct Property {
3 | public init<Value>(name: String, description: String? = nil, type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable }
| `- note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
4 | }
5 |
macro expansion @Generable:6:30: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "topic", description: "The topic of the entries", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "entryIndices", description: "The indices of the entries that are related to the topic", type: [Int].self)
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 7 | ]
| 8 | )
+--------------------------------------------------------------------
12 |
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 | }
macro expansion @Generable:6:47: error: 'init(name:description:type:guides:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "topic", description: "The topic of the entries", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "entryIndices", description: "The indices of the entries that are related to the topic", type: [Int].self)
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 7 | ]
| 8 | )
+--------------------------------------------------------------------
12 |
FoundationModels.GenerationSchema.Property.init:3:8: note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | struct Property {
3 | public init<Value>(name: String, description: String? = nil, type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable }
| `- note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
4 | }
5 |
macro expansion @Generable:13:49: error: 'ConvertibleToGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|11 | nonisolated public var generatedContent: GeneratedContent {
|12 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | `- error: 'ConvertibleToGeneratedContent' is unavailable in tvOS
|14 | addProperty(name: "topic", value: self.topic)
|15 | addProperty(name: "entryIndices", value: self.entryIndices)
+--------------------------------------------------------------------
12 |
FoundationModels.ConvertibleToGeneratedContent:3:17: note: 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol ConvertibleToGeneratedContent : InstructionsRepresentable, PromptRepresentable {
| `- note: 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
4 | var generatedContent: GeneratedContent { get }
5 | }
macro expansion @Generable:14:5: error: conformance of 'String' to 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|12 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|14 | addProperty(name: "topic", value: self.topic)
| | `- error: conformance of 'String' to 'Generable' is unavailable in tvOS
|15 | addProperty(name: "entryIndices", value: self.entryIndices)
|16 | return GeneratedContent(
+--------------------------------------------------------------------
12 |
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
macro expansion @Generable:15:5: error: conformance of 'Array<Element>' to 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|14 | addProperty(name: "topic", value: self.topic)
|15 | addProperty(name: "entryIndices", value: self.entryIndices)
| | `- error: conformance of 'Array<Element>' to 'Generable' is unavailable in tvOS
|16 | return GeneratedContent(
|17 | properties: properties,
+--------------------------------------------------------------------
12 |
FoundationModels.Array:3:11: note: conformance of 'Array<Element>' 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 Array : Generable where Element : Generable {
| `- note: conformance of 'Array<Element>' to 'Generable' has been explicitly marked unavailable here
4 | public typealias PartiallyGenerated = [Element.PartiallyGenerated]
5 | public static var generationSchema: GenerationSchema { get }
macro expansion @Generable:16:12: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|14 | addProperty(name: "topic", value: self.topic)
|15 | addProperty(name: "entryIndices", value: self.entryIndices)
|16 | return GeneratedContent(
| | `- error: 'GeneratedContent' is unavailable in tvOS
|17 | properties: properties,
|18 | uniquingKeysWith: { _, second in
+--------------------------------------------------------------------
12 |
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
macro expansion @Generable:16:12: error: 'init(properties:id:uniquingKeysWith:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|14 | addProperty(name: "topic", value: self.topic)
|15 | addProperty(name: "entryIndices", value: self.entryIndices)
|16 | return GeneratedContent(
| | `- error: 'init(properties:id:uniquingKeysWith:)' is unavailable in tvOS
|17 | properties: properties,
|18 | uniquingKeysWith: { _, second in
+--------------------------------------------------------------------
12 |
FoundationModels.GeneratedContent.init:2:8: note: 'init(properties:id:uniquingKeysWith:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public init<S>(properties: S, id: GenerationID? = nil, uniquingKeysWith combine: (GeneratedContent, GeneratedContent) throws -> some ConvertibleToGeneratedContent) rethrows where S : Sequence, S.Element == (String, any ConvertibleToGeneratedContent)}
| `- note: 'init(properties:id:uniquingKeysWith:)' has been explicitly marked unavailable here
3 |
macro expansion @Generable:22:48: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|20 | }
|21 | )
|22 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is unavailable in tvOS
|23 | properties.append((name: name, value: value))
|24 | }
+--------------------------------------------------------------------
12 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:22:48: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|20 | }
|21 | )
|22 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is unavailable in tvOS
|23 | properties.append((name: name, value: value))
|24 | }
+--------------------------------------------------------------------
12 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:25:49: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|23 | properties.append((name: name, value: value))
|24 | }
|25 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is unavailable in tvOS
|26 | if explicitNil || value != nil {
|27 | properties.append((name: name, value: value))
+--------------------------------------------------------------------
12 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:25:49: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|23 | properties.append((name: name, value: value))
|24 | }
|25 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is unavailable in tvOS
|26 | if explicitNil || value != nil {
|27 | properties.append((name: name, value: value))
+--------------------------------------------------------------------
12 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:27:47: error: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|25 | func addProperty(name: String, value: (some Generable)?) {
|26 | if explicitNil || value != nil {
|27 | properties.append((name: name, value: value))
| | `- error: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is unavailable in tvOS
|28 | }
|29 | }
+--------------------------------------------------------------------
12 |
FoundationModels.Optional:3:11: note: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Optional : ConvertibleToGeneratedContent, PromptRepresentable, InstructionsRepresentable where Wrapped : ConvertibleToGeneratedContent {
| `- note: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
4 | public var generatedContent: GeneratedContent { get }
5 | }
macro expansion @Generable:37:33: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|35 | public var entryIndices: [Int].PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
| | `- error: 'GenerationID' is unavailable in tvOS
|38 | self.topic = try content.value(forProperty: "topic")
|39 | self.entryIndices = try content.value(forProperty: "entryIndices")
+--------------------------------------------------------------------
12 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' has been explicitly marked unavailable here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
macro expansion @Generable:37:33: error: 'init()' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|35 | public var entryIndices: [Int].PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
| | `- error: 'init()' is unavailable in tvOS
|38 | self.topic = try content.value(forProperty: "topic")
|39 | self.entryIndices = try content.value(forProperty: "entryIndices")
+--------------------------------------------------------------------
12 |
FoundationModels.GenerationID.init:2:8: note: 'init()' has been explicitly marked unavailable here
1 | struct GenerationID {
2 | public init()}
| `- note: 'init()' has been explicitly marked unavailable here
3 |
macro expansion @Generable:38:34: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
|38 | self.topic = try content.value(forProperty: "topic")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|39 | self.entryIndices = try content.value(forProperty: "entryIndices")
|40 | }
+--------------------------------------------------------------------
12 |
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 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FoundationModelsTopicDetector.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TopicDetectionResult.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/TopicDetector.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TopicDetector.swift
macro expansion @Generable:39:41: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|37 | self.id = content.id ?? GenerationID()
|38 | self.topic = try content.value(forProperty: "topic")
|39 | self.entryIndices = try content.value(forProperty: "entryIndices")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|40 | }
|41 | }
+--------------------------------------------------------------------
12 |
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 |
macro expansion @Generable:3:34: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:2: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension TopicDetectionResult: nonisolated FoundationModels.Generable {
|2 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|3 | self.topic = try content.value(forProperty: "topic")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|4 | self.entryIndices = try content.value(forProperty: "entryIndices")
|5 | }
+--------------------------------------------------------------------
12 |
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 |
macro expansion @Generable:4:41: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:2: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|2 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|3 | self.topic = try content.value(forProperty: "topic")
|4 | self.entryIndices = try content.value(forProperty: "entryIndices")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|5 | }
|6 | }
+--------------------------------------------------------------------
12 |
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/SwiftContextManagement/TopicDetection/TopicDetector.swift:11:36: error: 'Transcript' is unavailable in tvOS
9 | /// - Returns: An array of topic groups, where each group contains entries that belong to the same topic. Each group is represented as an array of entries.
10 | /// - Throws: An error if topic detection fails.
11 | func detectTopics(in entries: [Transcript.Entry]) async throws -> [[Transcript.Entry]]
| `- error: 'Transcript' is unavailable in tvOS
12 | }
13 |
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
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftContextManagement (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/ContextReducer.swift:5:31: error: 'Transcript' is unavailable in tvOS
3 | /// Protocol for context reduction strategies.
4 | protocol ContextReducer: Sendable {
5 | func reduce(_ transcript: Transcript) async throws -> Transcript
| `- error: 'Transcript' is unavailable in tvOS
6 | }
7 |
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/SwiftContextManagement/ContextReducers/ContextReducer.swift:5:59: error: 'Transcript' is unavailable in tvOS
3 | /// Protocol for context reduction strategies.
4 | protocol ContextReducer: Sendable {
5 | func reduce(_ transcript: Transcript) async throws -> Transcript
| `- error: 'Transcript' is unavailable in tvOS
6 | }
7 |
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/SwiftContextManagement/ContextReducers/ContextReducer.swift:9:63: error: 'Transcript' is unavailable in tvOS
7 |
8 | extension ContextReducer {
9 | func extractInstructionsAndConversations(from transcript: Transcript) -> (instructions: [Transcript.Entry], conversations: [Transcript.Entry]) {
| `- error: 'Transcript' is unavailable in tvOS
10 | var instructions: [Transcript.Entry] = []
11 | var conversations: [Transcript.Entry] = []
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/SwiftContextManagement/ContextReducers/ContextReducer.swift:9:94: error: 'Transcript' is unavailable in tvOS
7 |
8 | extension ContextReducer {
9 | func extractInstructionsAndConversations(from transcript: Transcript) -> (instructions: [Transcript.Entry], conversations: [Transcript.Entry]) {
| `- error: 'Transcript' is unavailable in tvOS
10 | var instructions: [Transcript.Entry] = []
11 | var conversations: [Transcript.Entry] = []
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/SwiftContextManagement/ContextReducers/ContextReducer.swift:9:129: error: 'Transcript' is unavailable in tvOS
7 |
8 | extension ContextReducer {
9 | func extractInstructionsAndConversations(from transcript: Transcript) -> (instructions: [Transcript.Entry], conversations: [Transcript.Entry]) {
| `- error: 'Transcript' is unavailable in tvOS
10 | var instructions: [Transcript.Entry] = []
11 | var conversations: [Transcript.Entry] = []
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/SwiftContextManagement/ContextReducers/HeadTailWindowReducer.swift:32:31: error: 'Transcript' is unavailable in tvOS
30 | /// - Returns: A new transcript containing the preserved entries (all instructions plus recent conversation entries).
31 | /// - Throws: This method doesn't currently throw, but the signature allows for future error handling.
32 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
33 | var newEntries = [Transcript.Entry]()
34 |
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/SwiftContextManagement/ContextReducers/HeadTailWindowReducer.swift:32:59: error: 'Transcript' is unavailable in tvOS
30 | /// - Returns: A new transcript containing the preserved entries (all instructions plus recent conversation entries).
31 | /// - Throws: This method doesn't currently throw, but the signature allows for future error handling.
32 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
33 | var newEntries = [Transcript.Entry]()
34 |
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/SwiftContextManagement/ContextReducers/HierarchicalSummaryReducer.swift:25:31: error: 'Transcript' is unavailable in tvOS
23 | /// - Returns: A new transcript containing instructions (if enabled), summary entries at different granularities, and recent conversation entries.
24 | /// - Throws: An error if summarization fails.
25 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
26 | var newEntries = [Transcript.Entry]()
27 |
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/SwiftContextManagement/ContextReducers/HierarchicalSummaryReducer.swift:25:59: error: 'Transcript' is unavailable in tvOS
23 | /// - Returns: A new transcript containing instructions (if enabled), summary entries at different granularities, and recent conversation entries.
24 | /// - Throws: An error if summarization fails.
25 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
26 | var newEntries = [Transcript.Entry]()
27 |
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/SwiftContextManagement/ContextReducers/HierarchicalSummaryReducer.swift:73:23: error: 'Transcript' is unavailable in tvOS
71 | /// - Throws: An error if summarization fails.
72 | func createSummary(
73 | for entries: [Transcript.Entry],
| `- error: 'Transcript' is unavailable in tvOS
74 | granularity: SummaryGranularity
75 | ) async throws -> String {
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/SwiftContextManagement/ContextReducers/HierarchicalSummaryReducer.swift:120:44: error: 'Transcript' is unavailable in tvOS
118 | /// - Parameter entries: The conversation entries to group.
119 | /// - Returns: An array of arrays, where each inner array represents a turn.
120 | func groupEntriesIntoTurns(_ entries: [Transcript.Entry]) -> [[Transcript.Entry]] {
| `- error: 'Transcript' is unavailable in tvOS
121 | var turns: [[Transcript.Entry]] = []
122 | var currentTurn: [Transcript.Entry] = []
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/SwiftContextManagement/ContextReducers/HierarchicalSummaryReducer.swift:120:68: error: 'Transcript' is unavailable in tvOS
118 | /// - Parameter entries: The conversation entries to group.
119 | /// - Returns: An array of arrays, where each inner array represents a turn.
120 | func groupEntriesIntoTurns(_ entries: [Transcript.Entry]) -> [[Transcript.Entry]] {
| `- error: 'Transcript' is unavailable in tvOS
121 | var turns: [[Transcript.Entry]] = []
122 | var currentTurn: [Transcript.Entry] = []
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/SwiftContextManagement/ContextReducers/NoOpReducer.swift:6:31: error: 'Transcript' is unavailable in tvOS
4 | /// Used for unimplemented policies.
5 | struct NoOpReducer: ContextReducer {
6 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
7 | // Return the transcript unchanged
8 | return transcript
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/SwiftContextManagement/ContextReducers/NoOpReducer.swift:6:59: error: 'Transcript' is unavailable in tvOS
4 | /// Used for unimplemented policies.
5 | struct NoOpReducer: ContextReducer {
6 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
7 | // Return the transcript unchanged
8 | return transcript
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/SwiftContextManagement/ContextReducers/RollingSummaryReducer.swift:24:31: error: 'Transcript' is unavailable in tvOS
22 | /// - Returns: A new transcript containing instructions (if enabled), a summary entry, and recent conversation entries.
23 | /// - Throws: An error if summarization fails.
24 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
25 | var newEntries = [Transcript.Entry]()
26 |
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/SwiftContextManagement/ContextReducers/RollingSummaryReducer.swift:24:59: error: 'Transcript' is unavailable in tvOS
22 | /// - Returns: A new transcript containing instructions (if enabled), a summary entry, and recent conversation entries.
23 | /// - Throws: An error if summarization fails.
24 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
25 | var newEntries = [Transcript.Entry]()
26 |
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/SwiftContextManagement/ContextReducers/SlidingWindowReducer.swift:33:31: error: 'Transcript' is unavailable in tvOS
31 | /// - Returns: A new transcript containing only the preserved entries (instructions if enabled, plus recent conversation turns).
32 | /// - Throws: This method doesn't currently throw, but the signature allows for future error handling.
33 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
34 | var newEntries = [Transcript.Entry]()
35 |
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/SwiftContextManagement/ContextReducers/SlidingWindowReducer.swift:33:59: error: 'Transcript' is unavailable in tvOS
31 | /// - Returns: A new transcript containing only the preserved entries (instructions if enabled, plus recent conversation turns).
32 | /// - Throws: This method doesn't currently throw, but the signature allows for future error handling.
33 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
34 | var newEntries = [Transcript.Entry]()
35 |
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/SwiftContextManagement/ContextReducers/StructuredStateReducer.swift:11:31: error: 'Transcript' is unavailable in tvOS
9 | }
10 |
11 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
12 | var newEntries: [Transcript.Entry] = []
13 |
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/SwiftContextManagement/ContextReducers/StructuredStateReducer.swift:11:59: error: 'Transcript' is unavailable in tvOS
9 | }
10 |
11 | func reduce(_ transcript: Transcript) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
12 | var newEntries: [Transcript.Entry] = []
13 |
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/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:13:2: error: 'Generable(description:)' is unavailable in tvOS
11 | }
12 |
13 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionEngine.swift:21:21: error: 'Transcript' is unavailable in tvOS
19 | /// - Throws: An error if reduction fails (e.g., summarization errors).
20 | public func reduce(
21 | transcript: Transcript,
| `- error: 'Transcript' is unavailable in tvOS
22 | ) async throws -> Transcript {
23 | let reducer = createReducer(for: policy)
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/SwiftContextManagement/ContextReductionEngine.swift:22:23: error: 'Transcript' is unavailable in tvOS
20 | public func reduce(
21 | transcript: Transcript,
22 | ) async throws -> Transcript {
| `- error: 'Transcript' is unavailable in tvOS
23 | let reducer = createReducer(for: policy)
24 | return try await reducer.reduce(transcript)
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/SwiftContextManagement/ContextReductionObserver.swift:33:42: error: 'Transcript' is unavailable in tvOS
31 | /// - reduced: The transcript after reduction.
32 | /// - reducer: The name of the reducer that performed the reduction.
33 | func didReduceContext(from original: Transcript, to reduced: Transcript, using reducer: String)
| `- error: 'Transcript' is unavailable in tvOS
34 | }
35 |
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/SwiftContextManagement/ContextReductionObserver.swift:33:66: error: 'Transcript' is unavailable in tvOS
31 | /// - reduced: The transcript after reduction.
32 | /// - reducer: The name of the reducer that performed the reduction.
33 | func didReduceContext(from original: Transcript, to reduced: Transcript, using reducer: String)
| `- error: 'Transcript' is unavailable in tvOS
34 | }
35 |
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/SwiftContextManagement/ContextualSession.swift:25:26: error: 'LanguageModelSession' is unavailable in tvOS
23 | /// ```
24 | public final class ContextualSession: @unchecked Sendable {
25 | private var session: LanguageModelSession
| `- error: 'LanguageModelSession' is unavailable in tvOS
26 | private let logLevel: ContextReductionLogLevel
27 | private let reductionEngine: ContextReductionEngine
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/SwiftContextManagement/ContextualSession.swift:34:28: error: 'Transcript' is unavailable in tvOS
32 |
33 | /// The current transcript of the session.
34 | public var transcript: Transcript {
| `- error: 'Transcript' is unavailable in tvOS
35 | session.transcript
36 | }
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/SwiftContextManagement/ContextualSession.swift:45:18: error: 'LanguageModelSession' is unavailable in tvOS
43 | /// - logLevel: The level of logging for context reduction operations. Defaults to `.off`.
44 | public init(
45 | session: LanguageModelSession,
| `- error: 'LanguageModelSession' is unavailable in tvOS
46 | policy: ContextReductionPolicy = .slidingWindow(turns: 10),
47 | logLevel: ContextReductionLogLevel = .off
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/SwiftContextManagement/ContextualSession.swift:54:60: error: 'LanguageModelSession' is unavailable in tvOS
52 | }
53 |
54 | public func respond(to prompt: String) async throws -> LanguageModelSession.Response<String> {
| `- error: 'LanguageModelSession' is unavailable in tvOS
55 | var attempts = 0
56 | let maxAttempts = 5
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/SwiftContextManagement/ContextualSession.swift:73:28: error: 'Generable' is unavailable in tvOS
71 | }
72 |
73 | public func respond<T: Generable>(
| `- error: 'Generable' is unavailable in tvOS
74 | to prompt: String,
75 | generating type: T.Type
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextualSession.swift:76:23: error: 'LanguageModelSession' is unavailable in tvOS
74 | to prompt: String,
75 | generating type: T.Type
76 | ) async throws -> LanguageModelSession.Response<T> {
| `- error: 'LanguageModelSession' is unavailable in tvOS
77 | var attempts = 0
78 | let maxAttempts = 5
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/SwiftContextManagement/ContextualSession.swift:113:35: error: 'Generable' is unavailable in tvOS
111 | /// - type: The `Generable` type to generate.
112 | /// - Returns: An `AsyncThrowingStream` that yields partially generated responses.
113 | public func streamResponse<T: Generable & Sendable>(
| `- error: 'Generable' is unavailable in tvOS
114 | to prompt: String,
115 | generating type: T.Type
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextualSession.swift:169:46: error: 'Generable' is unavailable in tvOS
167 | }
168 |
169 | func executeStructuredStreamWithRetry<T: Generable & Sendable>(
| `- error: 'Generable' is unavailable in tvOS
170 | prompt: String,
171 | type: T.Type,
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextualSession.swift:257:63: error: 'Transcript' is unavailable in tvOS
255 | }
256 |
257 | func extractInstructionsAndConversations(from transcript: Transcript) -> (instructions: [Transcript.Entry], conversations: [Transcript.Entry]) {
| `- error: 'Transcript' is unavailable in tvOS
258 | var instructions: [Transcript.Entry] = []
259 | var conversations: [Transcript.Entry] = []
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/SwiftContextManagement/ContextualSession.swift:257:94: error: 'Transcript' is unavailable in tvOS
255 | }
256 |
257 | func extractInstructionsAndConversations(from transcript: Transcript) -> (instructions: [Transcript.Entry], conversations: [Transcript.Entry]) {
| `- error: 'Transcript' is unavailable in tvOS
258 | var instructions: [Transcript.Entry] = []
259 | var conversations: [Transcript.Entry] = []
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/SwiftContextManagement/ContextualSession.swift:257:129: error: 'Transcript' is unavailable in tvOS
255 | }
256 |
257 | func extractInstructionsAndConversations(from transcript: Transcript) -> (instructions: [Transcript.Entry], conversations: [Transcript.Entry]) {
| `- error: 'Transcript' is unavailable in tvOS
258 | var instructions: [Transcript.Entry] = []
259 | var conversations: [Transcript.Entry] = []
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/SwiftContextManagement/Helpers/ContextReductionLogger.swift:16:19: error: 'Transcript' is unavailable in tvOS
14 | /// - logLevel: The level of detail to log.
15 | static func log(
16 | original: Transcript,
| `- error: 'Transcript' is unavailable in tvOS
17 | reduced: Transcript,
18 | reducer: String,
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/SwiftContextManagement/Helpers/ContextReductionLogger.swift:17:18: error: 'Transcript' is unavailable in tvOS
15 | static func log(
16 | original: Transcript,
17 | reduced: Transcript,
| `- error: 'Transcript' is unavailable in tvOS
18 | reducer: String,
19 | logLevel: ContextReductionLogLevel
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/SwiftContextManagement/Helpers/ConversationChunker.swift:19:21: error: 'Transcript' is unavailable in tvOS
17 | /// - Returns: An array of entry chunks, where each chunk fits within the token limit.
18 | static func chunkEntries(
19 | _ entries: [Transcript.Entry],
| `- error: 'Transcript' is unavailable in tvOS
20 | maxTokensPerChunk: Int = defaultMaxTokensPerChunk,
21 | overlapTokens: Int = defaultOverlapTokens
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/SwiftContextManagement/Helpers/ConversationChunker.swift:22:12: error: 'Transcript' is unavailable in tvOS
20 | maxTokensPerChunk: Int = defaultMaxTokensPerChunk,
21 | overlapTokens: Int = defaultOverlapTokens
22 | ) -> [[Transcript.Entry]] {
| `- error: 'Transcript' is unavailable in tvOS
23 | guard !entries.isEmpty else { return [] }
24 |
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/SwiftContextManagement/Helpers/ConversationChunker.swift:69:56: error: 'Transcript' is unavailable in tvOS
67 | /// - Parameter entries: The entries to estimate.
68 | /// - Returns: Total estimated token count.
69 | public static func estimateTotalTokens(_ entries: [Transcript.Entry]) -> Int {
| `- error: 'Transcript' is unavailable in tvOS
70 | entries.reduce(0) { $0 + TranscriptHelpers.estimateTokens(for: $1) }
71 | }
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/SwiftContextManagement/Helpers/ConversationChunker.swift:80:22: error: 'Transcript' is unavailable in tvOS
78 | /// - Returns: `true` if the transcript plus new entry fits within the limit, `false` otherwise.
79 | static func fitsInContextWindow(
80 | transcript: [Transcript.Entry],
| `- error: 'Transcript' is unavailable in tvOS
81 | newEntry: Transcript.Entry
82 | ) -> Bool {
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/SwiftContextManagement/Helpers/ConversationChunker.swift:81:19: error: 'Transcript' is unavailable in tvOS
79 | static func fitsInContextWindow(
80 | transcript: [Transcript.Entry],
81 | newEntry: Transcript.Entry
| `- error: 'Transcript' is unavailable in tvOS
82 | ) -> Bool {
83 | let currentTokens = estimateTotalTokens(transcript)
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/SwiftContextManagement/Helpers/ConversationChunker.swift:94:22: error: 'Transcript' is unavailable in tvOS
92 | /// - Returns: `true` if the transcript fits within the limit, `false` otherwise.
93 | static func fitsInContextWindow(
94 | transcript: [Transcript.Entry]
| `- error: 'Transcript' is unavailable in tvOS
95 | ) -> Bool {
96 | let totalTokens = estimateTotalTokens(transcript)
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/SwiftContextManagement/Helpers/Extensions/Transcript+Extensions.swift:4:18: error: 'Transcript' is unavailable in tvOS
2 |
3 | /// Convenience extensions for Transcript.
4 | public extension Transcript {
| `- error: 'Transcript' is unavailable in tvOS
5 | /// Pretty prints the transcript with the given prefix count.
6 | ///
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/SwiftContextManagement/Helpers/TranscriptHelpers.swift:13:48: error: 'Transcript' is unavailable in tvOS
11 | /// - Returns: A string containing all text content from the entry, or `nil` if no text segments are found
12 | /// or the entry type doesn't contain text (e.g., tool calls, tool outputs).
13 | public static func extractText(from entry: Transcript.Entry) -> String? {
| `- error: 'Transcript' is unavailable in tvOS
14 | switch entry {
15 | case .instructions(let instructions):
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/SwiftContextManagement/Helpers/TranscriptHelpers.swift:54:43: error: 'Transcript' is unavailable in tvOS
52 | /// - Parameter entry: The entry to estimate.
53 | /// - Returns: Estimated token count.
54 | static func estimateTokens(for entry: Transcript.Entry) -> Int {
| `- error: 'Transcript' is unavailable in tvOS
55 | guard let text = extractText(from: entry) else {
56 | return 0
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
| `- note: 'Transcript' has been explicitly marked unavailable here
4 | public init(entries: some Sequence<Transcript.Entry> = [])
5 | public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ReductionInfo.swift:23:36: error: 'Transcript' is unavailable in tvOS
21 | public struct ReductionInfo: Sendable {
22 | /// The transcript before reduction was applied.
23 | public let originalTranscript: Transcript
| `- error: 'Transcript' is unavailable in tvOS
24 |
25 | /// The transcript after reduction was applied.
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/SwiftContextManagement/ReductionInfo.swift:26:35: error: 'Transcript' is unavailable in tvOS
24 |
25 | /// The transcript after reduction was applied.
26 | public let reducedTranscript: Transcript
| `- error: 'Transcript' is unavailable in tvOS
27 |
28 | /// The name of the reducer that performed the reduction.
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/SwiftContextManagement/StateExtraction/CustomStateExtractor.swift:7:46: error: 'Transcript' is unavailable in tvOS
5 | /// This allows users to provide their own state extraction logic.
6 | public struct CustomStateExtractor: StateExtractor {
7 | private let extractFunction: @Sendable ([Transcript.Entry]) async throws -> StructuredState
| `- error: 'Transcript' is unavailable in tvOS
8 |
9 | /// Creates a custom state extractor with a user-provided extraction function.
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/SwiftContextManagement/StateExtraction/CustomStateExtractor.swift:13:48: error: 'Transcript' is unavailable in tvOS
11 | /// - Parameter extractFunction: An async function that takes conversation entries and returns a `StructuredState`.
12 | public init(
13 | extractFunction: @escaping @Sendable ([Transcript.Entry]) async throws -> StructuredState
| `- error: 'Transcript' is unavailable in tvOS
14 | ) {
15 | self.extractFunction = extractFunction
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/SwiftContextManagement/StateExtraction/CustomStateExtractor.swift:18:45: error: 'Transcript' is unavailable in tvOS
16 | }
17 |
18 | public func extractState(from entries: [Transcript.Entry]) async throws -> StructuredState {
| `- error: 'Transcript' is unavailable in tvOS
19 | return try await extractFunction(entries)
20 | }
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/SwiftContextManagement/StateExtraction/FoundationModelsStateExtractor.swift:15:45: error: 'Transcript' is unavailable in tvOS
13 | /// - Returns: A structured state containing extracted information.
14 | /// - Throws: An error if state extraction fails.
15 | public func extractState(from entries: [Transcript.Entry]) async throws -> StructuredState {
| `- error: 'Transcript' is unavailable in tvOS
16 | guard !entries.isEmpty else {
17 | return StructuredState(information: [])
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/SwiftContextManagement/StateExtraction/FoundationModelsStateExtractor.swift:29:42: error: 'Transcript' is unavailable in tvOS
27 | /// - Parameter entries: The entries to extract state from.
28 | /// - Returns: A structured state.
29 | func extractStateWithRetry(entries: [Transcript.Entry]) async throws -> StructuredState {
| `- error: 'Transcript' is unavailable in tvOS
30 | do {
31 | return try await extractStateDirectly(entries: 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/SwiftContextManagement/StateExtraction/FoundationModelsStateExtractor.swift:41:41: error: 'Transcript' is unavailable in tvOS
39 |
40 | /// Extracts state directly in a single LLM call.
41 | func extractStateDirectly(entries: [Transcript.Entry]) async throws -> StructuredState {
| `- error: 'Transcript' is unavailable in tvOS
42 | let conversationText = entries.enumerated().map { index, entry in
43 | if let text = TranscriptHelpers.extractText(from: entry) {
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/SwiftContextManagement/StateExtraction/FoundationModelsStateExtractor.swift:73:40: error: 'Transcript' is unavailable in tvOS
71 |
72 | /// Splits entries into parts, extracts state from each part, then combines the results.
73 | func extractStateInParts(entries: [Transcript.Entry]) async throws -> StructuredState {
| `- error: 'Transcript' is unavailable in tvOS
74 | guard entries.count > 1 else {
75 | return try await extractStateFromSingleEntry(entries[0])
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
| `- note: 'Transcript' has been explicitly marked unavailable here
4 | public init(entries: some Sequence<Transcript.Entry> = [])
5 | public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/FoundationModelsStateExtractor.swift:89:47: error: 'Transcript' is unavailable in tvOS
87 |
88 | /// Handles a single entry that is too large by extracting from its text.
89 | func extractStateFromSingleEntry(_ entry: Transcript.Entry) async throws -> StructuredState {
| `- error: 'Transcript' is unavailable in tvOS
90 | guard let text = TranscriptHelpers.extractText(from: entry) else {
91 | return StructuredState(information: [])
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/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:4:2: error: 'Generable(description:)' is unavailable in tvOS
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:6:6: error: 'Guide(description:)' is unavailable in tvOS
4 | @Generable
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
| `- error: 'Guide(description:)' is unavailable in tvOS
7 | public let key: String
8 |
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:9:6: error: 'Guide(description:)' is unavailable in tvOS
7 | public let key: String
8 |
9 | @Guide(description: "The value of this piece of information")
| `- error: 'Guide(description:)' is unavailable in tvOS
10 | public let value: String
11 | }
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
macro expansion @Generable:1:66: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:11:1: note: expanded code originates here
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'ExtractedFact' here
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
:
9 | @Guide(description: "The value of this piece of information")
10 | public let value: String
11 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
+--------------------------------------------------------------------
12 |
13 | @Generable
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 | }
macro expansion @Generable:11:42: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:11:1: note: expanded code originates here
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'ExtractedFact' here
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
:
9 | @Guide(description: "The value of this piece of information")
10 | public let value: String
11 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated public var generatedContent: GeneratedContent {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|12 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+--------------------------------------------------------------------
12 |
13 | @Generable
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
macro expansion @Generable:33:20: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:11:1: note: expanded code originates here
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'ExtractedFact' here
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
:
9 | @Guide(description: "The value of this piece of information")
10 | public let value: String
11 | }
+--- macro expansion @Generable -------------------------------------
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|33 | public var id: GenerationID
| | `- error: 'GenerationID' is unavailable in tvOS
|34 | public var key: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
+--------------------------------------------------------------------
12 |
13 | @Generable
FoundationModels.GenerationID:3:15: note: 'GenerationID' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' has been explicitly marked unavailable here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
macro expansion @Generable:34:28: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:11:1: note: expanded code originates here
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'ExtractedFact' here
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
:
9 | @Guide(description: "The value of this piece of information")
10 | public let value: String
11 | }
+--- macro expansion @Generable -------------------------------------
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|33 | public var id: GenerationID
|34 | public var key: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|35 | public var value: String.PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
12 |
13 | @Generable
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:35:30: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:11:1: note: expanded code originates here
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'ExtractedFact' here
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
:
9 | @Guide(description: "The value of this piece of information")
10 | public let value: String
11 | }
+--- macro expansion @Generable -------------------------------------
|33 | public var id: GenerationID
|34 | public var key: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
12 |
13 | @Generable
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:36:57: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:11:1: note: expanded code originates here
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'ExtractedFact' here
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
:
9 | @Guide(description: "The value of this piece of information")
10 | public let value: String
11 | }
+--- macro expansion @Generable -------------------------------------
|34 | public var key: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|37 | self.id = content.id ?? GenerationID()
|38 | self.key = try content.value(forProperty: "key")
+--------------------------------------------------------------------
12 |
13 | @Generable
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
macro expansion @Generable:32:90: error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:11:1: note: expanded code originates here
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'ExtractedFact' here
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
:
9 | @Guide(description: "The value of this piece of information")
10 | public let value: String
11 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
|33 | public var id: GenerationID
|34 | public var key: String.PartiallyGenerated?
+--------------------------------------------------------------------
12 |
13 | @Generable
FoundationModels.ConvertibleFromGeneratedContent:3:17: note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol ConvertibleFromGeneratedContent : SendableMetatype {
| `- note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
4 | init(_ content: GeneratedContent) throws
5 | }
macro expansion @Generable:32:27: warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:11:1: note: expanded code originates here
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'ExtractedFact' here
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
:
9 | @Guide(description: "The value of this piece of information")
10 | public let value: String
11 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
|33 | public var id: GenerationID
|34 | public var key: String.PartiallyGenerated?
+--------------------------------------------------------------------
12 |
13 | @Generable
FoundationModels.GenerationID:3:15: note: 'GenerationID' declared here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' declared here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
Swift.Identifiable.ID:2:16: note: requirement 'ID' declared here
1 | protocol Identifiable {
2 | associatedtype ID : Hashable}
| `- note: requirement 'ID' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:4:2: error: 'Generable(description:)' is unavailable in tvOS
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:15:6: error: 'Guide(description:)' is unavailable in tvOS
13 | @Generable
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
| `- error: 'Guide(description:)' is unavailable in tvOS
16 | public let information: [ExtractedFact]
17 | }
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
macro expansion @Generable:1:66: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:17:1: note: expanded code originates here
11 | }
12 |
13 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'StructuredState' here
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
16 | public let information: [ExtractedFact]
17 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
+--------------------------------------------------------------------
18 |
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 | }
macro expansion @Generable:10:42: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:17:1: note: expanded code originates here
11 | }
12 |
13 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'StructuredState' here
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
16 | public let information: [ExtractedFact]
17 | }
+--- macro expansion @Generable -------------------------------------
| 8 | }
| 9 |
|10 | nonisolated public var generatedContent: GeneratedContent {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|11 | let explicitNil = false
|12 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+--------------------------------------------------------------------
18 |
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
macro expansion @Generable:31:20: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:17:1: note: expanded code originates here
11 | }
12 |
13 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'StructuredState' here
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
16 | public let information: [ExtractedFact]
17 | }
+--- macro expansion @Generable -------------------------------------
|29 |
|30 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|31 | public var id: GenerationID
| | `- error: 'GenerationID' is unavailable in tvOS
|32 | public var information: [ExtractedFact].PartiallyGenerated?
|33 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
18 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' has been explicitly marked unavailable here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
macro expansion @Generable:32:45: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:17:1: note: expanded code originates here
11 | }
12 |
13 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'StructuredState' here
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
16 | public let information: [ExtractedFact]
17 | }
+--- macro expansion @Generable -------------------------------------
|30 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|31 | public var id: GenerationID
|32 | public var information: [ExtractedFact].PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|33 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|34 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
18 |
FoundationModels.Array.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public typealias PartiallyGenerated = [Element.PartiallyGenerated]}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:33:57: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:17:1: note: expanded code originates here
11 | }
12 |
13 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'StructuredState' here
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
16 | public let information: [ExtractedFact]
17 | }
+--- macro expansion @Generable -------------------------------------
|31 | public var id: GenerationID
|32 | public var information: [ExtractedFact].PartiallyGenerated?
|33 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|34 | self.id = content.id ?? GenerationID()
|35 | self.information = try content.value(forProperty: "information")
+--------------------------------------------------------------------
18 |
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
macro expansion @Generable:30:90: error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:17:1: note: expanded code originates here
11 | }
12 |
13 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'StructuredState' here
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
16 | public let information: [ExtractedFact]
17 | }
+--- macro expansion @Generable -------------------------------------
|28 | }
|29 |
|30 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
|31 | public var id: GenerationID
|32 | public var information: [ExtractedFact].PartiallyGenerated?
+--------------------------------------------------------------------
18 |
FoundationModels.ConvertibleFromGeneratedContent:3:17: note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol ConvertibleFromGeneratedContent : SendableMetatype {
| `- note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
4 | init(_ content: GeneratedContent) throws
5 | }
macro expansion @Generable:30:27: warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:17:1: note: expanded code originates here
11 | }
12 |
13 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'StructuredState' here
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
16 | public let information: [ExtractedFact]
17 | }
+--- macro expansion @Generable -------------------------------------
|28 | }
|29 |
|30 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
|31 | public var id: GenerationID
|32 | public var information: [ExtractedFact].PartiallyGenerated?
+--------------------------------------------------------------------
18 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' declared here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' declared here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
Swift.Identifiable.ID:2:16: note: requirement 'ID' declared here
1 | protocol Identifiable {
2 | associatedtype ID : Hashable}
| `- note: requirement 'ID' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:13:2: error: 'Generable(description:)' is unavailable in tvOS
11 | }
12 |
13 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
macro expansion @Generable:2:57: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:17:2: note: expanded code originates here
11 | }
12 |
13 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'StructuredState' here
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
16 | public let information: [ExtractedFact]
17 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension StructuredState: nonisolated FoundationModels.Generable {
|2 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|3 | self.information = try content.value(forProperty: "information")
|4 | }
+--------------------------------------------------------------------
18 |
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
macro expansion @Generable:1:57: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:17:2: note: expanded code originates here
11 | }
12 |
13 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'StructuredState' here
14 | public struct StructuredState: Sendable {
15 | @Guide(description: "Extract all important information as key-value pairs. Use descriptive keys that indicate the type of information.")
16 | public let information: [ExtractedFact]
17 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension StructuredState: nonisolated FoundationModels.Generable {
| | `- error: 'Generable' is unavailable in tvOS
|2 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|3 | self.information = try content.value(forProperty: "information")
+--------------------------------------------------------------------
18 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:2:57: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:11:2: note: expanded code originates here
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'ExtractedFact' here
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
:
9 | @Guide(description: "The value of this piece of information")
10 | public let value: String
11 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension ExtractedFact: nonisolated FoundationModels.Generable {
|2 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|3 | self.key = try content.value(forProperty: "key")
|4 | self.value = try content.value(forProperty: "value")
+--------------------------------------------------------------------
12 |
13 | @Generable
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
macro expansion @Generable:1:55: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:11:2: note: expanded code originates here
2 |
3 | /// A key-value fact extracted from conversation history.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'ExtractedFact' here
5 | public struct ExtractedFact: Sendable {
6 | @Guide(description: "The key or name of this piece of information (e.g., 'name', 'date', 'constraint_quiet_table')")
:
9 | @Guide(description: "The value of this piece of information")
10 | public let value: String
11 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension ExtractedFact: nonisolated FoundationModels.Generable {
| | `- error: 'Generable' is unavailable in tvOS
|2 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|3 | self.key = try content.value(forProperty: "key")
+--------------------------------------------------------------------
12 |
13 | @Generable
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/StateExtractor.swift:9:38: error: 'Transcript' is unavailable in tvOS
7 | /// - Parameter entries: The conversation entries to analyze.
8 | /// - Returns: A `StructuredState` containing important facts, constraints, and decisions.
9 | func extractState(from entries: [Transcript.Entry]) async throws -> StructuredState
| `- error: 'Transcript' is unavailable in tvOS
10 | }
11 |
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/SwiftContextManagement/Summarization/CustomLLMSummarizer.swift:7:48: error: 'Transcript' is unavailable in tvOS
5 | /// This allows users to provide their own summarization logic.
6 | public struct CustomLLMSummarizer: Summarizer {
7 | private let summarizeFunction: @Sendable ([Transcript.Entry], String?, Locale) async throws -> String
| `- error: 'Transcript' is unavailable in tvOS
8 |
9 | /// Creates a custom LLM summarizer with a user-provided summarization function.
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/SwiftContextManagement/Summarization/CustomLLMSummarizer.swift:13:50: error: 'Transcript' is unavailable in tvOS
11 | /// - Parameter summarizeFunction: An async function that takes conversation entries, optional instructions, and locale, and returns a summary string.
12 | public init(
13 | summarizeFunction: @escaping @Sendable ([Transcript.Entry], String?, Locale) async throws -> String
| `- error: 'Transcript' is unavailable in tvOS
14 | ) {
15 | self.summarizeFunction = summarizeFunction
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/SwiftContextManagement/Summarization/CustomLLMSummarizer.swift:19:19: error: 'Transcript' is unavailable in tvOS
17 |
18 | public func summarize(
19 | entries: [Transcript.Entry],
| `- error: 'Transcript' is unavailable in tvOS
20 | instructions: String?,
21 | locale: Locale
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/SwiftContextManagement/Summarization/FoundationModelsSummarizer.swift:31:19: error: 'Transcript' is unavailable in tvOS
29 | /// - Throws: An error if the summarization fails.
30 | public func summarize(
31 | entries: [Transcript.Entry],
| `- error: 'Transcript' is unavailable in tvOS
32 | instructions: String?,
33 | locale: Locale = .enUS
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/SwiftContextManagement/Summarization/FoundationModelsSummarizer.swift:56:19: error: 'Transcript' is unavailable in tvOS
54 | /// - Returns: A summary string.
55 | func summarizeWithRetry(
56 | entries: [Transcript.Entry],
| `- error: 'Transcript' is unavailable in tvOS
57 | instructions: String
58 | ) async throws -> String {
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/SwiftContextManagement/Summarization/FoundationModelsSummarizer.swift:74:19: error: 'Transcript' is unavailable in tvOS
72 | /// Summarizes entries directly in a single LLM call.
73 | func summarizeDirectly(
74 | entries: [Transcript.Entry],
| `- error: 'Transcript' is unavailable in tvOS
75 | instructions: String
76 | ) async throws -> String {
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/SwiftContextManagement/Summarization/FoundationModelsSummarizer.swift:97:19: error: 'Transcript' is unavailable in tvOS
95 | /// Splits entries into parts, summarizes each part, then combines the summaries.
96 | func summarizeInParts(
97 | entries: [Transcript.Entry],
| `- error: 'Transcript' is unavailable in tvOS
98 | instructions: String
99 | ) async throws -> String {
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/SwiftContextManagement/Summarization/FoundationModelsSummarizer.swift:120:18: error: 'Transcript' is unavailable in tvOS
118 | /// Handles the edge case of a single entry that's too large for the context window.
119 | func summarizeLargeEntry(
120 | _ entry: Transcript.Entry,
| `- error: 'Transcript' is unavailable in tvOS
121 | instructions: String
122 | ) async throws -> String {
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/SwiftContextManagement/Summarization/Summarizer.swift:16:19: error: 'Transcript' is unavailable in tvOS
14 | /// - Throws: An error if summarization fails.
15 | func summarize(
16 | entries: [Transcript.Entry],
| `- error: 'Transcript' is unavailable in tvOS
17 | instructions: String?,
18 | locale: Locale
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/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift:6:26: error: 'LanguageModelSession' is unavailable in tvOS
4 | /// Uses the LLM to identify topics and group conversation entries accordingly.
5 | public struct FoundationModelsTopicDetector: TopicDetector {
6 | private let session: LanguageModelSession
| `- error: 'LanguageModelSession' is unavailable in tvOS
7 |
8 | /// Creates a FoundationModels topic detector.
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/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift:11:26: error: 'LanguageModelSession' is unavailable in tvOS
9 | ///
10 | /// - Parameter session: An optional LanguageModelSession. If `nil`, creates a new session.
11 | public init(session: LanguageModelSession? = nil) {
| `- error: 'LanguageModelSession' is unavailable in tvOS
12 | self.session = session ?? LanguageModelSession()
13 | }
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/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift:15:43: error: 'Transcript' is unavailable in tvOS
13 | }
14 |
15 | public func detectTopics(in entries: [Transcript.Entry]) async throws -> [[Transcript.Entry]] {
| `- error: 'Transcript' is unavailable in tvOS
16 | let conversationText = entries.enumerated().map { index, entry in
17 | if let text = TranscriptHelpers.extractText(from: entry) {
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/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift:15:80: error: 'Transcript' is unavailable in tvOS
13 | }
14 |
15 | public func detectTopics(in entries: [Transcript.Entry]) async throws -> [[Transcript.Entry]] {
| `- error: 'Transcript' is unavailable in tvOS
16 | let conversationText = entries.enumerated().map { index, entry in
17 | if let text = TranscriptHelpers.extractText(from: entry) {
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/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift:6:17: error: stored property 'session' of 'Sendable'-conforming struct 'FoundationModelsTopicDetector' has non-Sendable type 'LanguageModelSession'
4 | /// Uses the LLM to identify topics and group conversation entries accordingly.
5 | public struct FoundationModelsTopicDetector: TopicDetector {
6 | private let session: LanguageModelSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'FoundationModelsTopicDetector' has non-Sendable type 'LanguageModelSession'
7 |
8 | /// Creates a FoundationModels topic detector.
FoundationModels.LanguageModelSession:3:20: note: class 'LanguageModelSession' does not conform to the 'Sendable' protocol
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: class 'LanguageModelSession' does not conform to the 'Sendable' protocol
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:4:2: error: 'Generable(description:)' is unavailable in tvOS
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift:63:19: error: 'Transcript' is unavailable in tvOS
61 | func groupEntriesByTopics(
62 | results: [TopicDetectionResult],
63 | entries: [Transcript.Entry]
| `- error: 'Transcript' is unavailable in tvOS
64 | ) throws -> [[Transcript.Entry]] {
65 | var topicGroups: [[Transcript.Entry]] = []
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/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift:64:19: error: 'Transcript' is unavailable in tvOS
62 | results: [TopicDetectionResult],
63 | entries: [Transcript.Entry]
64 | ) throws -> [[Transcript.Entry]] {
| `- error: 'Transcript' is unavailable in tvOS
65 | var topicGroups: [[Transcript.Entry]] = []
66 | var usedIndices = Set<Int>()
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/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:6:6: error: 'Guide(description:)' is unavailable in tvOS
4 | @Generable
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
| `- error: 'Guide(description:)' is unavailable in tvOS
7 | public let topic: String
8 |
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:9:6: error: 'Guide(description:)' is unavailable in tvOS
7 | public let topic: String
8 |
9 | @Guide(description: "The indices of the entries that are related to the topic")
| `- error: 'Guide(description:)' is unavailable in tvOS
10 | public let entryIndices: [Int]
11 | }
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
macro expansion @Generable:1:66: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
+--------------------------------------------------------------------
12 |
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 | }
macro expansion @Generable:11:42: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated public var generatedContent: GeneratedContent {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|12 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+--------------------------------------------------------------------
12 |
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
macro expansion @Generable:33:20: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|33 | public var id: GenerationID
| | `- error: 'GenerationID' is unavailable in tvOS
|34 | public var topic: String.PartiallyGenerated?
|35 | public var entryIndices: [Int].PartiallyGenerated?
+--------------------------------------------------------------------
12 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' has been explicitly marked unavailable here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
macro expansion @Generable:34:30: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|33 | public var id: GenerationID
|34 | public var topic: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|35 | public var entryIndices: [Int].PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
12 |
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:35:36: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|33 | public var id: GenerationID
|34 | public var topic: String.PartiallyGenerated?
|35 | public var entryIndices: [Int].PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
12 |
FoundationModels.Array.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public typealias PartiallyGenerated = [Element.PartiallyGenerated]}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:36:57: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|34 | public var topic: String.PartiallyGenerated?
|35 | public var entryIndices: [Int].PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|37 | self.id = content.id ?? GenerationID()
|38 | self.topic = try content.value(forProperty: "topic")
+--------------------------------------------------------------------
12 |
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
macro expansion @Generable:32:90: error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
|33 | public var id: GenerationID
|34 | public var topic: String.PartiallyGenerated?
+--------------------------------------------------------------------
12 |
FoundationModels.ConvertibleFromGeneratedContent:3:17: note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol ConvertibleFromGeneratedContent : SendableMetatype {
| `- note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
4 | init(_ content: GeneratedContent) throws
5 | }
macro expansion @Generable:32:27: warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:1: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
|33 | public var id: GenerationID
|34 | public var topic: String.PartiallyGenerated?
+--------------------------------------------------------------------
12 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' declared here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' declared here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
Swift.Identifiable.ID:2:16: note: requirement 'ID' declared here
1 | protocol Identifiable {
2 | associatedtype ID : Hashable}
| `- note: requirement 'ID' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:4:2: error: 'Generable(description:)' is unavailable in tvOS
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
macro expansion @Generable:2:57: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:2: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension TopicDetectionResult: nonisolated FoundationModels.Generable {
|2 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|3 | self.topic = try content.value(forProperty: "topic")
|4 | self.entryIndices = try content.value(forProperty: "entryIndices")
+--------------------------------------------------------------------
12 |
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
macro expansion @Generable:1:62: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:11:2: note: expanded code originates here
2 |
3 | /// Result of topic detection containing a topic and the indices of related entries.
4 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'TopicDetectionResult' here
5 | public struct TopicDetectionResult {
6 | @Guide(description: "The topic of the entries")
:
9 | @Guide(description: "The indices of the entries that are related to the topic")
10 | public let entryIndices: [Int]
11 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension TopicDetectionResult: nonisolated FoundationModels.Generable {
| | `- error: 'Generable' is unavailable in tvOS
|2 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|3 | self.topic = try content.value(forProperty: "topic")
+--------------------------------------------------------------------
12 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/TopicDetector.swift:11:36: error: 'Transcript' is unavailable in tvOS
9 | /// - Returns: An array of topic groups, where each group contains entries that belong to the same topic. Each group is represented as an array of entries.
10 | /// - Throws: An error if topic detection fails.
11 | func detectTopics(in entries: [Transcript.Entry]) async throws -> [[Transcript.Entry]]
| `- error: 'Transcript' is unavailable in tvOS
12 | }
13 |
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/SwiftContextManagement/TopicDetection/TopicDetector.swift:11:73: error: 'Transcript' is unavailable in tvOS
9 | /// - Returns: An array of topic groups, where each group contains entries that belong to the same topic. Each group is represented as an array of entries.
10 | /// - Throws: An error if topic detection fails.
11 | func detectTopics(in entries: [Transcript.Entry]) async throws -> [[Transcript.Entry]]
| `- error: 'Transcript' is unavailable in tvOS
12 | }
13 |
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
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.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/SwiftContextManagement/ContextReducers/ContextReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/HeadTailWindowReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/HierarchicalSummaryReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/NoOpReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/RollingSummaryReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/SlidingWindowReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/StructuredStateReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionLogLevel.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextualSession.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/Constants.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/ContextReductionLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/ConversationChunker.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/Extensions/Locale+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/Extensions/Transcript+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/TranscriptHelpers.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ReductionInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/CustomStateExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/FoundationModelsStateExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredStateConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/StateExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/CustomLLMSummarizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/FoundationModelsSummarizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Models/HierarchicalSummaryConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Models/RollingSummaryConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Models/SummaryGranularity.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Summarizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/TopicDetector.swift -target arm64-apple-tvos26.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.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/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/Objects-normal/arm64/SwiftContextManagement-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.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-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.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 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-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftContextManagement -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/Objects-normal/arm64/SwiftContextManagement_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-Release.Candidate.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/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/Objects-normal/arm64/SwiftContextManagement.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/Objects-normal/arm64/SwiftContextManagement.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/Objects-normal/arm64/SwiftContextManagement-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/Objects-normal/arm64/SwiftContextManagement-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/Objects-normal/arm64/SwiftContextManagement-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/Objects-normal/arm64/SwiftContextManagement.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement-t.build/Objects-normal/arm64/SwiftContextManagement.abi.json
SwiftCompile normal arm64 (in target 'SwiftContextManagement' from project 'swift-context-management')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ RollingSummaryConfiguration.swift,\ SummaryGranularity.swift,\ Summarizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Models/RollingSummaryConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Models/SummaryGranularity.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Summarizer.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Models/RollingSummaryConfiguration.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RollingSummaryConfiguration.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Models/SummaryGranularity.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SummaryGranularity.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Summarizer.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Summarizer.swift
SwiftCompile normal arm64 Compiling\ ContextReductionLogLevel.swift,\ ContextReductionObserver.swift,\ ContextReductionPolicy.swift,\ ContextualSession.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionLogLevel.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextualSession.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionLogLevel.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContextReductionLogLevel.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionObserver.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContextReductionObserver.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionPolicy.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContextReductionPolicy.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextualSession.swift (in target 'SwiftContextManagement' from project 'swift-context-management')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContextualSession.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-23 21:16:07.252 xcodebuild[741:4576] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-23 21:16:07.395 xcodebuild[741:4576] [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\ SwiftContextManagement (in target 'SwiftContextManagement' from project 'swift-context-management')
SwiftCompile normal arm64 (in target 'SwiftContextManagement' from project 'swift-context-management')
Building workspace swift-context-management with scheme swift-context-management
(3 failures)
BUILD FAILURE 6.4 tvOS