Build Information
Failed to build HelpView, reference 1.4.1 (40dc04), with Swift 6.4 for tvOS using Xcode 27.0 on 25 Sep 2026 10:55:49 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 HelpView -destination generic/platform=tvOSBuild Log
4 | }
macro expansion @Generable:11:35: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated var generatedContent: GeneratedContent {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|12 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+--------------------------------------------------------------------
82 | #endif
83 |
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:13: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|31 |
|32 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|33 | var id: GenerationID
| | `- error: 'GenerationID' is unavailable in tvOS
|34 | var answer: String.PartiallyGenerated?
|35 | var relatedFAQs: [String].PartiallyGenerated?
+--------------------------------------------------------------------
82 | #endif
83 |
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:24: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|32 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|33 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|35 | var relatedFAQs: [String].PartiallyGenerated?
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
82 | #endif
83 |
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:31: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|33 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
|35 | var relatedFAQs: [String].PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
82 | #endif
83 |
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:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|34 | var answer: String.PartiallyGenerated?
|35 | var relatedFAQs: [String].PartiallyGenerated?
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|37 | self.id = content.id ?? GenerationID()
|38 | self.answer = try content.value(forProperty: "answer")
+--------------------------------------------------------------------
82 | #endif
83 |
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:83: error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
|33 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
+--------------------------------------------------------------------
82 | #endif
83 |
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:20: 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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated 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 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:74:2: error: 'Generable(description:)' is unavailable in tvOS
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
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:3:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:2: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, *)
|2 | extension HelpResponse: nonisolated FoundationModels.Generable {
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|4 | self.answer = try content.value(forProperty: "answer")
|5 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
+--------------------------------------------------------------------
82 | #endif
83 |
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:2:54: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:2: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, *)
|2 | extension HelpResponse: nonisolated FoundationModels.Generable {
| | `- error: 'Generable' is unavailable in tvOS
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.answer = try content.value(forProperty: "answer")
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| 2 | FoundationModels.GenerationSchema(
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 3 | type: Self.self,
| 4 | properties: [
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| 2 | FoundationModels.GenerationSchema(
| | `- error: 'init(type:description:properties:)' is unavailable in tvOS
| 3 | type: Self.self,
| 4 | properties: [
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "answer", description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.", type: String.self),
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 6 | FoundationModels.GenerationSchema.Property(name: "relatedFAQs", description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.", type: [String].self)
| 7 | ]
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "answer", description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.", type: String.self),
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 6 | FoundationModels.GenerationSchema.Property(name: "relatedFAQs", description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.", type: [String].self)
| 7 | ]
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "answer", description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "relatedFAQs", description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.", type: [String].self)
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 7 | ]
| 8 | )
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "answer", description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "relatedFAQs", description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.", type: [String].self)
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 7 | ]
| 8 | )
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|11 | nonisolated var generatedContent: GeneratedContent {
|12 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | `- error: 'ConvertibleToGeneratedContent' is unavailable in tvOS
|14 | addProperty(name: "answer", value: self.answer)
|15 | addProperty(name: "relatedFAQs", value: self.relatedFAQs)
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|12 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|14 | addProperty(name: "answer", value: self.answer)
| | `- error: conformance of 'String' to 'Generable' is unavailable in tvOS
|15 | addProperty(name: "relatedFAQs", value: self.relatedFAQs)
|16 | return GeneratedContent(
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|14 | addProperty(name: "answer", value: self.answer)
|15 | addProperty(name: "relatedFAQs", value: self.relatedFAQs)
| | `- error: conformance of 'Array<Element>' to 'Generable' is unavailable in tvOS
|16 | return GeneratedContent(
|17 | properties: properties,
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|14 | addProperty(name: "answer", value: self.answer)
|15 | addProperty(name: "relatedFAQs", value: self.relatedFAQs)
|16 | return GeneratedContent(
| | `- error: 'GeneratedContent' is unavailable in tvOS
|17 | properties: properties,
|18 | uniquingKeysWith: { _, second in
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|14 | addProperty(name: "answer", value: self.answer)
|15 | addProperty(name: "relatedFAQs", value: self.relatedFAQs)
|16 | return GeneratedContent(
| | `- error: 'init(properties:id:uniquingKeysWith:)' is unavailable in tvOS
|17 | properties: properties,
|18 | uniquingKeysWith: { _, second in
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- 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 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- 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 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- 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))
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- 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))
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- 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 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|35 | var relatedFAQs: [String].PartiallyGenerated?
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
| | `- error: 'GenerationID' is unavailable in tvOS
|38 | self.answer = try content.value(forProperty: "answer")
|39 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
+--------------------------------------------------------------------
82 | #endif
83 |
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)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Models.swift
macro expansion @Generable:37:33: error: 'init()' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|35 | var relatedFAQs: [String].PartiallyGenerated?
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
| | `- error: 'init()' is unavailable in tvOS
|38 | self.answer = try content.value(forProperty: "answer")
|39 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
+--------------------------------------------------------------------
82 | #endif
83 |
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:35: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
|38 | self.answer = try content.value(forProperty: "answer")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|39 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
|40 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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:39:40: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|37 | self.id = content.id ?? GenerationID()
|38 | self.answer = try content.value(forProperty: "answer")
|39 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|40 | }
|41 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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:35: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:2: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|2 | extension HelpResponse: nonisolated FoundationModels.Generable {
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.answer = try content.value(forProperty: "answer")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|5 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
|6 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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 Compiling\ Localization.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Localization.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Localization.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Localization.swift
SwiftCompile normal arm64 Compiling\ ViewComponents.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/ViewComponents.swift (in target 'HelpView' from project 'HelpView')
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/ViewComponents.swift:23:26: error: 'textSelection' is unavailable in tvOS
21 | .font(.body)
22 | .foregroundStyle(.primary)
23 | .textSelection(.enabled)
| `- error: 'textSelection' is unavailable in tvOS
24 | }
25 | }
SwiftUI.View.textSelection:2:25: note: 'textSelection' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func textSelection<S>(_ selectability: S) -> some View where S : TextSelectability
| `- note: 'textSelection' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/ViewComponents.swift:23:41: error: 'enabled' is unavailable in tvOS
21 | .font(.body)
22 | .foregroundStyle(.primary)
23 | .textSelection(.enabled)
| `- error: 'enabled' is unavailable in tvOS
24 | }
25 | }
SwiftUI.TextSelectability.enabled:2:43: note: 'enabled' has been explicitly marked unavailable here
1 | protocol TextSelectability {
2 | @export(implementation) public static var enabled: EnabledTextSelectability { get }}
| `- note: 'enabled' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/ViewComponents.swift:175:22: error: 'textSelection' is unavailable in tvOS
173 | SyntaxHighlightedText(code: code, language: language)
174 | .font(.system(.body, design: .monospaced))
175 | .textSelection(.enabled)
| `- error: 'textSelection' is unavailable in tvOS
176 | .padding(12)
177 | }
SwiftUI.View.textSelection:2:25: note: 'textSelection' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func textSelection<S>(_ selectability: S) -> some View where S : TextSelectability
| `- note: 'textSelection' has been explicitly marked unavailable here
3 | }
4 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/ViewComponents.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ViewComponents.swift
SwiftCompile normal arm64 Compiling\ HelpContentView.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpContentView.swift (in target 'HelpView' from project 'HelpView')
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpContentView.swift:212:9: error: no exact matches in call to initializer
210 | Color(.systemGroupedBackground)
211 | #else
212 | Color(nsColor: .windowBackgroundColor)
| `- error: no exact matches in call to initializer
213 | #endif
214 | }
SwiftUI.Color.init:3:10: note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
1 | struct Color {
2 | @available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *)
3 | public init<T>(_ color: T) where T : Hashable, T : ShapeStyle, T.Resolved == Color.Resolved}
| `- note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
4 |
SwiftUI.Color.init:2:8: note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
1 | struct Color {
2 | public init(_ resolved: Color.Resolved)}
| `- note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
3 |
SwiftUI.Color.init:2:8: note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
1 | struct Color {
2 | public init(_ cgColor: CGColor)}
| `- note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
3 |
SwiftUI.Color.init:2:8: note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
1 | struct Color {
2 | public init(_ name: String, bundle: Bundle? = nil)}
| `- note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
3 |
SwiftUI.Color.init:2:8: note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
1 | struct Color {
2 | public init(_ resource: ColorResource)}
| `- note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
3 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpContentView.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HelpContentView.swift
SwiftCompile normal arm64 Compiling\ AppleIntelligenceLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AppleIntelligenceLoader.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AppleIntelligenceLoader.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleIntelligenceLoader.swift
SwiftCompile normal arm64 Compiling\ FAQListViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/FAQListViewModel.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/FAQListViewModel.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FAQListViewModel.swift
SwiftCompile normal arm64 Compiling\ HelpViewButton.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpViewButton.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpViewButton.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HelpViewButton.swift
SwiftCompile normal arm64 Compiling\ AIHelper.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift (in target 'HelpView' from project 'HelpView')
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:33:34: error: 'SystemLanguageModel' is unavailable in tvOS
31 | #if canImport(FoundationModels)
32 | if #available(iOS 26.0, macOS 26.0, *) {
33 | if case .available = SystemLanguageModel.default.availability {
| `- error: 'SystemLanguageModel' is unavailable in tvOS
34 | return true
35 | }
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
| `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 | @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:33:54: error: 'default' is unavailable in tvOS
31 | #if canImport(FoundationModels)
32 | if #available(iOS 26.0, macOS 26.0, *) {
33 | if case .available = SystemLanguageModel.default.availability {
| `- error: 'default' is unavailable in tvOS
34 | return true
35 | }
FoundationModels.SystemLanguageModel.default:5:20: note: 'default' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | @available(watchOS, unavailable)
5 | public class var `default`: SystemLanguageModel { get }}
| `- note: 'default' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:33:62: error: 'availability' is unavailable in tvOS
31 | #if canImport(FoundationModels)
32 | if #available(iOS 26.0, macOS 26.0, *) {
33 | if case .available = SystemLanguageModel.default.availability {
| `- error: 'availability' is unavailable in tvOS
34 | return true
35 | }
FoundationModels.SystemLanguageModel.availability:2:18: note: 'availability' has been explicitly marked unavailable here
1 | class SystemLanguageModel {
2 | final public var availability: SystemLanguageModel.Availability { get }}
| `- note: 'availability' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:133:27: error: 'LanguageModelSession' is unavailable in tvOS
131 | // Create a fresh session per query to avoid conversation history
132 | // accumulating and degrading response quality over time.
133 | let session = LanguageModelSession {
| `- error: 'LanguageModelSession' is unavailable in tvOS
134 | systemPrompt
135 | }
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/HelpView/Internal/AIHelper.swift:133:27: error: 'init(model:tools:instructions:)' is unavailable in tvOS
131 | // Create a fresh session per query to avoid conversation history
132 | // accumulating and degrading response quality over time.
133 | let session = LanguageModelSession {
| `- error: 'init(model:tools:instructions:)' is unavailable in tvOS
134 | systemPrompt
135 | }
FoundationModels.LanguageModelSession.init:2:20: note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | public convenience init(model: SystemLanguageModel = .default, tools: [any Tool] = [], @InstructionsBuilder instructions: () throws -> Instructions) rethrows}
| `- note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:134:17: error: 'buildExpression' is unavailable in tvOS
132 | // accumulating and degrading response quality over time.
133 | let session = LanguageModelSession {
134 | systemPrompt
| `- error: 'buildExpression' is unavailable in tvOS
135 | }
136 |
FoundationModels.InstructionsBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @available(*, unavailable, message: "Only `Instructions` and `InstructionsRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Instructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:133:48: error: 'buildBlock' is unavailable in tvOS
131 | // Create a fresh session per query to avoid conversation history
132 | // accumulating and degrading response quality over time.
133 | let session = LanguageModelSession {
| `- error: 'buildBlock' is unavailable in tvOS
134 | systemPrompt
135 | }
FoundationModels.InstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each I>(_ components: repeat each I) -> Instructions where repeat each I : InstructionsRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:74:2: error: 'Generable(description:)' is unavailable in tvOS
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
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/HelpView/Internal/AIHelper.swift:138:50: error: 'respond(to:generating:includeSchemaInPrompt:options:)' is unavailable in tvOS
136 |
137 | do {
138 | let response = try await session.respond(
| `- error: 'respond(to:generating:includeSchemaInPrompt:options:)' is unavailable in tvOS
139 | to: userQuery,
140 | generating: HelpResponse.self
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:generating:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 | nonisolated(nonsending) final public func respond<Content>(to prompt: String, generating type: Content.Type = Content.self, includeSchemaInPrompt: Bool = true, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<Content> where Content : Generable}
| `- note: 'respond(to:generating:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:79:6: error: 'Guide(description:)' is unavailable in tvOS
77 | var answer: String
78 |
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
| `- error: 'Guide(description:)' is unavailable in tvOS
80 | var relatedFAQs: [String]
81 | }
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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AIHelper.swift
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-25 06:55:39.608 xcodebuild[627:3903] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'HelpView' from project 'HelpView')
SwiftEmitModule normal arm64 Emitting\ module\ for\ HelpView (in target 'HelpView' from project 'HelpView')
Building workspace HelpView with scheme HelpView
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
HelpView: /Users/admin/builder/spi-builder-workspace
resolved source packages: HelpView
2026-09-25 06:55:46.172 xcodebuild[750:4482] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "HelpView",
"name" : "HelpView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "visionos",
"version" : "26.0"
}
],
"products" : [
{
"name" : "HelpView",
"targets" : [
"HelpView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HelpViewTests",
"module_type" : "SwiftTarget",
"name" : "HelpViewTests",
"path" : "Tests/HelpViewTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HelpViewTests/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AIHelperTests.swift",
"FAQListViewModelTests.swift",
"FAQLoaderTests.swift",
"LocalizationTests.swift",
"MarkdownParserTests.swift",
"ModelsTests.swift"
],
"target_dependencies" : [
"HelpView"
],
"type" : "test"
},
{
"c99name" : "HelpView",
"module_type" : "SwiftTarget",
"name" : "HelpView",
"path" : "Sources/HelpView",
"product_memberships" : [
"HelpView"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Resources/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"HelpContentView.swift",
"HelpViewButton.swift",
"Internal/AIHelper.swift",
"Internal/AppleIntelligenceLoader.swift",
"Internal/FAQListViewModel.swift",
"Internal/FAQLoader.swift",
"Internal/Localization.swift",
"Internal/Models.swift",
"Internal/ViewComponents.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "HelpView",
"schemes" : [
"HelpView"
]
}
}
2026-09-25 06:55:47.405 xcodebuild[758:4548] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme HelpView -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme HelpView -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
HelpView: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'HelpView-product' in project 'HelpView'
➜ Explicit dependency on target 'HelpView' in project 'HelpView'
➜ Explicit dependency on target 'HelpView_HelpView' in project 'HelpView'
Target 'HelpView' in project 'HelpView'
➜ Explicit dependency on target 'HelpView_HelpView' in project 'HelpView'
Target 'HelpView_HelpView' in project 'HelpView' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
SwiftDriver HelpView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name HelpView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos17.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-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 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64 Compiling\ AIHelper.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AIHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:33:34: error: 'SystemLanguageModel' is unavailable in tvOS
31 | #if canImport(FoundationModels)
32 | if #available(iOS 26.0, macOS 26.0, *) {
33 | if case .available = SystemLanguageModel.default.availability {
| `- error: 'SystemLanguageModel' is unavailable in tvOS
34 | return true
35 | }
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
| `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 | @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:33:54: error: 'default' is unavailable in tvOS
31 | #if canImport(FoundationModels)
32 | if #available(iOS 26.0, macOS 26.0, *) {
33 | if case .available = SystemLanguageModel.default.availability {
| `- error: 'default' is unavailable in tvOS
34 | return true
35 | }
FoundationModels.SystemLanguageModel.default:5:20: note: 'default' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | @available(watchOS, unavailable)
5 | public class var `default`: SystemLanguageModel { get }}
| `- note: 'default' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:33:62: error: 'availability' is unavailable in tvOS
31 | #if canImport(FoundationModels)
32 | if #available(iOS 26.0, macOS 26.0, *) {
33 | if case .available = SystemLanguageModel.default.availability {
| `- error: 'availability' is unavailable in tvOS
34 | return true
35 | }
FoundationModels.SystemLanguageModel.availability:2:18: note: 'availability' has been explicitly marked unavailable here
1 | class SystemLanguageModel {
2 | final public var availability: SystemLanguageModel.Availability { get }}
| `- note: 'availability' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:133:27: error: 'LanguageModelSession' is unavailable in tvOS
131 | // Create a fresh session per query to avoid conversation history
132 | // accumulating and degrading response quality over time.
133 | let session = LanguageModelSession {
| `- error: 'LanguageModelSession' is unavailable in tvOS
134 | systemPrompt
135 | }
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/HelpView/Internal/AIHelper.swift:133:27: error: 'init(model:tools:instructions:)' is unavailable in tvOS
131 | // Create a fresh session per query to avoid conversation history
132 | // accumulating and degrading response quality over time.
133 | let session = LanguageModelSession {
| `- error: 'init(model:tools:instructions:)' is unavailable in tvOS
134 | systemPrompt
135 | }
FoundationModels.LanguageModelSession.init:2:20: note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | public convenience init(model: SystemLanguageModel = .default, tools: [any Tool] = [], @InstructionsBuilder instructions: () throws -> Instructions) rethrows}
| `- note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:134:17: error: 'buildExpression' is unavailable in tvOS
132 | // accumulating and degrading response quality over time.
133 | let session = LanguageModelSession {
134 | systemPrompt
| `- error: 'buildExpression' is unavailable in tvOS
135 | }
136 |
FoundationModels.InstructionsBuilder.buildExpression:3:46: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @available(*, unavailable, message: "Only `Instructions` and `InstructionsRepresentable` are supported.")
3 | @export(implementation) public static func buildExpression<T>(_ expression: T) -> Instructions}
| `- note: 'buildExpression' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift:133:48: error: 'buildBlock' is unavailable in tvOS
131 | // Create a fresh session per query to avoid conversation history
132 | // accumulating and degrading response quality over time.
133 | let session = LanguageModelSession {
| `- error: 'buildBlock' is unavailable in tvOS
134 | systemPrompt
135 | }
FoundationModels.InstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each I>(_ components: repeat each I) -> Instructions where repeat each I : InstructionsRepresentable}
| `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:74:2: error: 'Generable(description:)' is unavailable in tvOS
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
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/HelpView/Internal/AIHelper.swift:138:50: error: 'respond(to:generating:includeSchemaInPrompt:options:)' is unavailable in tvOS
136 |
137 | do {
138 | let response = try await session.respond(
| `- error: 'respond(to:generating:includeSchemaInPrompt:options:)' is unavailable in tvOS
139 | to: userQuery,
140 | generating: HelpResponse.self
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:generating:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 | nonisolated(nonsending) final public func respond<Content>(to prompt: String, generating type: Content.Type = Content.self, includeSchemaInPrompt: Bool = true, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<Content> where Content : Generable}
| `- note: 'respond(to:generating:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:79:6: error: 'Guide(description:)' is unavailable in tvOS
77 | var answer: String
78 |
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
| `- error: 'Guide(description:)' is unavailable in tvOS
80 | var relatedFAQs: [String]
81 | }
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
SwiftCompile normal arm64 Compiling\ FAQListViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/FAQListViewModel.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/FAQListViewModel.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FAQListViewModel.swift
SwiftCompile normal arm64 Compiling\ HelpViewButton.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpViewButton.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpViewButton.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HelpViewButton.swift
SwiftCompile normal arm64 Compiling\ AppleIntelligenceLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AppleIntelligenceLoader.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AppleIntelligenceLoader.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleIntelligenceLoader.swift
SwiftCompile normal arm64 Compiling\ Models.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift (in target 'HelpView' from project 'HelpView')
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:74:2: error: 'Generable(description:)' is unavailable in tvOS
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
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/HelpView/Internal/Models.swift:76:6: error: 'Guide(description:)' is unavailable in tvOS
74 | @Generable
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
| `- error: 'Guide(description:)' is unavailable in tvOS
77 | var answer: String
78 |
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/HelpView/Internal/Models.swift:79:6: error: 'Guide(description:)' is unavailable in tvOS
77 | var answer: String
78 |
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
| `- error: 'Guide(description:)' is unavailable in tvOS
80 | var relatedFAQs: [String]
81 | }
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:59: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
+--------------------------------------------------------------------
82 | #endif
83 |
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:35: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated var generatedContent: GeneratedContent {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|12 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+--------------------------------------------------------------------
82 | #endif
83 |
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:13: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|31 |
|32 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|33 | var id: GenerationID
| | `- error: 'GenerationID' is unavailable in tvOS
|34 | var answer: String.PartiallyGenerated?
|35 | var relatedFAQs: [String].PartiallyGenerated?
+--------------------------------------------------------------------
82 | #endif
83 |
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:24: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|32 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|33 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|35 | var relatedFAQs: [String].PartiallyGenerated?
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
82 | #endif
83 |
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:31: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|33 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
|35 | var relatedFAQs: [String].PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
82 | #endif
83 |
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:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|34 | var answer: String.PartiallyGenerated?
|35 | var relatedFAQs: [String].PartiallyGenerated?
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|37 | self.id = content.id ?? GenerationID()
|38 | self.answer = try content.value(forProperty: "answer")
+--------------------------------------------------------------------
82 | #endif
83 |
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:83: error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
|33 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
+--------------------------------------------------------------------
82 | #endif
83 |
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:20: 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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated 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 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:74:2: error: 'Generable(description:)' is unavailable in tvOS
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
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:3:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:2: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, *)
|2 | extension HelpResponse: nonisolated FoundationModels.Generable {
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|4 | self.answer = try content.value(forProperty: "answer")
|5 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
+--------------------------------------------------------------------
82 | #endif
83 |
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:2:54: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:2: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, *)
|2 | extension HelpResponse: nonisolated FoundationModels.Generable {
| | `- error: 'Generable' is unavailable in tvOS
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.answer = try content.value(forProperty: "answer")
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| 2 | FoundationModels.GenerationSchema(
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 3 | type: Self.self,
| 4 | properties: [
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| 2 | FoundationModels.GenerationSchema(
| | `- error: 'init(type:description:properties:)' is unavailable in tvOS
| 3 | type: Self.self,
| 4 | properties: [
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "answer", description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.", type: String.self),
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 6 | FoundationModels.GenerationSchema.Property(name: "relatedFAQs", description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.", type: [String].self)
| 7 | ]
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "answer", description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.", type: String.self),
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 6 | FoundationModels.GenerationSchema.Property(name: "relatedFAQs", description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.", type: [String].self)
| 7 | ]
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "answer", description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "relatedFAQs", description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.", type: [String].self)
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 7 | ]
| 8 | )
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "answer", description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "relatedFAQs", description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.", type: [String].self)
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 7 | ]
| 8 | )
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|11 | nonisolated var generatedContent: GeneratedContent {
|12 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | `- error: 'ConvertibleToGeneratedContent' is unavailable in tvOS
|14 | addProperty(name: "answer", value: self.answer)
|15 | addProperty(name: "relatedFAQs", value: self.relatedFAQs)
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|12 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|14 | addProperty(name: "answer", value: self.answer)
| | `- error: conformance of 'String' to 'Generable' is unavailable in tvOS
|15 | addProperty(name: "relatedFAQs", value: self.relatedFAQs)
|16 | return GeneratedContent(
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|14 | addProperty(name: "answer", value: self.answer)
|15 | addProperty(name: "relatedFAQs", value: self.relatedFAQs)
| | `- error: conformance of 'Array<Element>' to 'Generable' is unavailable in tvOS
|16 | return GeneratedContent(
|17 | properties: properties,
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|14 | addProperty(name: "answer", value: self.answer)
|15 | addProperty(name: "relatedFAQs", value: self.relatedFAQs)
|16 | return GeneratedContent(
| | `- error: 'GeneratedContent' is unavailable in tvOS
|17 | properties: properties,
|18 | uniquingKeysWith: { _, second in
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|14 | addProperty(name: "answer", value: self.answer)
|15 | addProperty(name: "relatedFAQs", value: self.relatedFAQs)
|16 | return GeneratedContent(
| | `- error: 'init(properties:id:uniquingKeysWith:)' is unavailable in tvOS
|17 | properties: properties,
|18 | uniquingKeysWith: { _, second in
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- 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 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- 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 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- 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))
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- 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))
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- 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 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|35 | var relatedFAQs: [String].PartiallyGenerated?
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
| | `- error: 'GenerationID' is unavailable in tvOS
|38 | self.answer = try content.value(forProperty: "answer")
|39 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|35 | var relatedFAQs: [String].PartiallyGenerated?
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
| | `- error: 'init()' is unavailable in tvOS
|38 | self.answer = try content.value(forProperty: "answer")
|39 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
+--------------------------------------------------------------------
82 | #endif
83 |
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:35: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
|38 | self.answer = try content.value(forProperty: "answer")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|39 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
|40 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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:39:40: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|37 | self.id = content.id ?? GenerationID()
|38 | self.answer = try content.value(forProperty: "answer")
|39 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|40 | }
|41 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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:35: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:2: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|2 | extension HelpResponse: nonisolated FoundationModels.Generable {
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.answer = try content.value(forProperty: "answer")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|5 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
|6 | }
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Models.swift
SwiftCompile normal arm64 Compiling\ HelpContentView.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpContentView.swift (in target 'HelpView' from project 'HelpView')
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpContentView.swift:212:9: error: no exact matches in call to initializer
210 | Color(.systemGroupedBackground)
211 | #else
212 | Color(nsColor: .windowBackgroundColor)
| `- error: no exact matches in call to initializer
213 | #endif
214 | }
SwiftUI.Color.init:3:10: note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
1 | struct Color {
2 | @available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *)
3 | public init<T>(_ color: T) where T : Hashable, T : ShapeStyle, T.Resolved == Color.Resolved}
| `- note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
4 |
SwiftUI.Color.init:2:8: note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
1 | struct Color {
2 | public init(_ resolved: Color.Resolved)}
| `- note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
3 |
SwiftUI.Color.init:2:8: note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
1 | struct Color {
2 | public init(_ cgColor: CGColor)}
| `- note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
3 |
SwiftUI.Color.init:2:8: note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
1 | struct Color {
2 | public init(_ name: String, bundle: Bundle? = nil)}
| `- note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
3 |
SwiftUI.Color.init:2:8: note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
1 | struct Color {
2 | public init(_ resource: ColorResource)}
| `- note: incorrect labels for candidate (have: '(nsColor:)', expected: '(_:)')
3 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpContentView.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HelpContentView.swift
SwiftCompile normal arm64 Compiling\ FAQLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/FAQLoader.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/FAQLoader.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FAQLoader.swift
SwiftCompile normal arm64 Compiling\ ViewComponents.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/ViewComponents.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/ViewComponents.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ViewComponents.swift
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/ViewComponents.swift:23:26: error: 'textSelection' is unavailable in tvOS
21 | .font(.body)
22 | .foregroundStyle(.primary)
23 | .textSelection(.enabled)
| `- error: 'textSelection' is unavailable in tvOS
24 | }
25 | }
SwiftUI.View.textSelection:2:25: note: 'textSelection' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func textSelection<S>(_ selectability: S) -> some View where S : TextSelectability
| `- note: 'textSelection' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/ViewComponents.swift:23:41: error: 'enabled' is unavailable in tvOS
21 | .font(.body)
22 | .foregroundStyle(.primary)
23 | .textSelection(.enabled)
| `- error: 'enabled' is unavailable in tvOS
24 | }
25 | }
SwiftUI.TextSelectability.enabled:2:43: note: 'enabled' has been explicitly marked unavailable here
1 | protocol TextSelectability {
2 | @export(implementation) public static var enabled: EnabledTextSelectability { get }}
| `- note: 'enabled' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/ViewComponents.swift:175:22: error: 'textSelection' is unavailable in tvOS
173 | SyntaxHighlightedText(code: code, language: language)
174 | .font(.system(.body, design: .monospaced))
175 | .textSelection(.enabled)
| `- error: 'textSelection' is unavailable in tvOS
176 | .padding(12)
177 | }
SwiftUI.View.textSelection:2:25: note: 'textSelection' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func textSelection<S>(_ selectability: S) -> some View where S : TextSelectability
| `- note: 'textSelection' has been explicitly marked unavailable here
3 | }
4 |
SwiftEmitModule normal arm64 Emitting\ module\ for\ HelpView (in target 'HelpView' from project 'HelpView')
/Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:74:2: error: 'Generable(description:)' is unavailable in tvOS
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
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/HelpView/Internal/Models.swift:76:6: error: 'Guide(description:)' is unavailable in tvOS
74 | @Generable
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
| `- error: 'Guide(description:)' is unavailable in tvOS
77 | var answer: String
78 |
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/HelpView/Internal/Models.swift:79:6: error: 'Guide(description:)' is unavailable in tvOS
77 | var answer: String
78 |
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
| `- error: 'Guide(description:)' is unavailable in tvOS
80 | var relatedFAQs: [String]
81 | }
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:59: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
+--------------------------------------------------------------------
82 | #endif
83 |
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:35: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated var generatedContent: GeneratedContent {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|12 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+--------------------------------------------------------------------
82 | #endif
83 |
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:13: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|31 |
|32 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|33 | var id: GenerationID
| | `- error: 'GenerationID' is unavailable in tvOS
|34 | var answer: String.PartiallyGenerated?
|35 | var relatedFAQs: [String].PartiallyGenerated?
+--------------------------------------------------------------------
82 | #endif
83 |
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:24: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|32 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|33 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|35 | var relatedFAQs: [String].PartiallyGenerated?
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
82 | #endif
83 |
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:31: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|33 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
|35 | var relatedFAQs: [String].PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
82 | #endif
83 |
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:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|34 | var answer: String.PartiallyGenerated?
|35 | var relatedFAQs: [String].PartiallyGenerated?
|36 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|37 | self.id = content.id ?? GenerationID()
|38 | self.answer = try content.value(forProperty: "answer")
+--------------------------------------------------------------------
82 | #endif
83 |
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:83: error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
|33 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
+--------------------------------------------------------------------
82 | #endif
83 |
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:20: 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/HelpView/Internal/Models.swift:81:1: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|30 | }
|31 |
|32 | nonisolated 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 | var id: GenerationID
|34 | var answer: String.PartiallyGenerated?
+--------------------------------------------------------------------
82 | #endif
83 |
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/HelpView/Internal/Models.swift:74:2: error: 'Generable(description:)' is unavailable in tvOS
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
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:3:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:2: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, *)
|2 | extension HelpResponse: nonisolated FoundationModels.Generable {
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|4 | self.answer = try content.value(forProperty: "answer")
|5 | self.relatedFAQs = try content.value(forProperty: "relatedFAQs")
+--------------------------------------------------------------------
82 | #endif
83 |
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:2:54: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift:81:2: note: expanded code originates here
72 | #if canImport(FoundationModels)
73 | @available(iOS 26.0, macOS 26.0, *)
74 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HelpResponse' here
75 | struct HelpResponse {
76 | @Guide(description: "Answer ONLY using the FAQ information provided. If the question is not covered in the FAQs, refuse politely and suggest relevant FAQ topics. Do NOT use external knowledge. Do NOT answer general questions.")
:
79 | @Guide(description: "List of FAQ titles that are most relevant to the user's question. Include 2-4 related FAQs from the provided FAQ list.")
80 | var relatedFAQs: [String]
81 | }
+--- macro expansion @Generable -------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, *)
|2 | extension HelpResponse: nonisolated FoundationModels.Generable {
| | `- error: 'Generable' is unavailable in tvOS
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.answer = try content.value(forProperty: "answer")
+--------------------------------------------------------------------
82 | #endif
83 |
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 }
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/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpContentView.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/HelpViewButton.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AIHelper.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/AppleIntelligenceLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/FAQListViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/FAQLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Localization.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Models.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/ViewComponents.swift -target arm64-apple-tvos17.0 -module-can-import-version FoundationModels 2.0.68.1 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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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 -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -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/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView-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\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -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/HelpView.build/Debug-appletvos/HelpView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name HelpView -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView_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/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HelpView.build/Debug-appletvos/HelpView-t.build/Objects-normal/arm64/HelpView.abi.json
SwiftCompile normal arm64 (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Localization.swift /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Localization.swift (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HelpView/Internal/Localization.swift (in target 'HelpView' from project 'HelpView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Localization.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-25 06:55:48.381 xcodebuild[759:4575] [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\ HelpView (in target 'HelpView' from project 'HelpView')
SwiftCompile normal arm64 (in target 'HelpView' from project 'HelpView')
Building workspace HelpView with scheme HelpView
(3 failures)
BUILD FAILURE 6.4 tvOS