Build Information
Failed to build SwiftAgent, reference 0.8.0 (48bfda), with Swift 6.4 for tvOS using Xcode 27.0 on 23 Sep 2026 21:00:39 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 SwiftAgent-Package -destination generic/platform=tvOSBuild Log
346 | generating type: KeyPath<SessionSchema.StructuredOutputs, StructuredOutput.Type>,
347 | using model: Adapter.Model = .default,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:397:6: error: 'PromptBuilder' is unavailable in tvOS
395 | using model: Adapter.Model = .default,
396 | options: Adapter.GenerationOptions? = nil,
397 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in tvOS
398 | ) async throws -> Response<StructuredOutput> {
399 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:397:41: error: 'Prompt' is unavailable in tvOS
395 | using model: Adapter.Model = .default,
396 | options: Adapter.GenerationOptions? = nil,
397 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
398 | ) async throws -> Response<StructuredOutput> {
399 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:464:6: error: 'PromptBuilder' is unavailable in tvOS
462 | using model: Adapter.Model = .default,
463 | options: Adapter.GenerationOptions? = nil,
464 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in tvOS
465 | ) async throws -> Response<StructuredOutput> {
466 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:464:41: error: 'Prompt' is unavailable in tvOS
462 | using model: Adapter.Model = .default,
463 | options: Adapter.GenerationOptions? = nil,
464 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
465 | ) async throws -> Response<StructuredOutput> {
466 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:521:6: error: 'PromptBuilder' is unavailable in tvOS
519 | groundingWith sources: [SessionSchema.DecodedGrounding],
520 | options: Adapter.GenerationOptions? = nil,
521 | @PromptBuilder embeddingInto prompt: @Sendable (_ input: String, _ sources: [SessionSchema.DecodedGrounding])
| `- error: 'PromptBuilder' is unavailable in tvOS
522 | -> Prompt,
523 | ) async throws -> Response<String> where SessionSchema: GroundingSupportingSchema {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:522:10: error: 'Prompt' is unavailable in tvOS
520 | options: Adapter.GenerationOptions? = nil,
521 | @PromptBuilder embeddingInto prompt: @Sendable (_ input: String, _ sources: [SessionSchema.DecodedGrounding])
522 | -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
523 | ) async throws -> Response<String> where SessionSchema: GroundingSupportingSchema {
524 | let sourcesData = try schema.encodeGrounding(sources)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:603:6: error: 'PromptBuilder' is unavailable in tvOS
601 | groundingWith sources: [SessionSchema.DecodedGrounding],
602 | options: Adapter.GenerationOptions? = nil,
603 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
| `- error: 'PromptBuilder' is unavailable in tvOS
604 | -> Prompt,
605 | ) async throws -> Response<StructuredOutput> where SessionSchema: GroundingSupportingSchema {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:604:10: error: 'Prompt' is unavailable in tvOS
602 | options: Adapter.GenerationOptions? = nil,
603 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
604 | -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
605 | ) async throws -> Response<StructuredOutput> where SessionSchema: GroundingSupportingSchema {
606 | let sourcesData = try schema.encodeGrounding(sources)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:635:6: error: 'PromptBuilder' is unavailable in tvOS
633 | groundingWith sources: [SessionSchema.DecodedGrounding],
634 | options: Adapter.GenerationOptions? = nil,
635 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
| `- error: 'PromptBuilder' is unavailable in tvOS
636 | -> Prompt,
637 | ) async throws -> Response<StructuredOutput> where SessionSchema: GroundingSupportingSchema {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:636:10: error: 'Prompt' is unavailable in tvOS
634 | options: Adapter.GenerationOptions? = nil,
635 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
636 | -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
637 | ) async throws -> Response<StructuredOutput> where SessionSchema: GroundingSupportingSchema {
638 | let sourcesData = try schema.encodeGrounding(sources)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:81:16: error: 'Prompt' is unavailable in tvOS
79 | /// - Returns: An ``AsyncThrowingStream`` that yields response snapshots as they arrive.
80 | func streamResponse(
81 | to prompt: Prompt,
| `- error: 'Prompt' is unavailable in tvOS
82 | using model: Adapter.Model = .default,
83 | options: Adapter.GenerationOptions? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:122:6: error: 'PromptBuilder' is unavailable in tvOS
120 | using model: Adapter.Model = .default,
121 | options: Adapter.GenerationOptions? = nil,
122 | @PromptBuilder prompt: @Sendable () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in tvOS
123 | ) throws -> AsyncThrowingStream<Snapshot<String>, any Error> {
124 | try streamResponse(to: prompt().formatted(), using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:122:51: error: 'Prompt' is unavailable in tvOS
120 | using model: Adapter.Model = .default,
121 | options: Adapter.GenerationOptions? = nil,
122 | @PromptBuilder prompt: @Sendable () throws -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
123 | ) throws -> AsyncThrowingStream<Snapshot<String>, any Error> {
124 | try streamResponse(to: prompt().formatted(), using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:300:16: error: 'Prompt' is unavailable in tvOS
298 | /// - Returns: An ``AsyncThrowingStream`` yielding structured snapshots until generation completes.
299 | func streamResponse<StructuredOutput: SwiftAgent.StructuredOutput>(
300 | to prompt: Prompt,
| `- error: 'Prompt' is unavailable in tvOS
301 | generating type: StructuredOutput.Type,
302 | using model: Adapter.Model = .default,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:363:16: error: 'Prompt' is unavailable in tvOS
361 | /// - Returns: An ``AsyncThrowingStream`` yielding structured snapshots until generation completes.
362 | func streamResponse<StructuredOutput: SwiftAgent.StructuredOutput>(
363 | to prompt: Prompt,
| `- error: 'Prompt' is unavailable in tvOS
364 | generating type: KeyPath<SessionSchema.StructuredOutputs, StructuredOutput.Type>,
365 | using model: Adapter.Model = .default,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:419:6: error: 'PromptBuilder' is unavailable in tvOS
417 | using model: Adapter.Model = .default,
418 | options: Adapter.GenerationOptions? = nil,
419 | @PromptBuilder prompt: @Sendable () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in tvOS
420 | ) throws -> AsyncThrowingStream<Snapshot<StructuredOutput>, any Error> {
421 | try streamResponse(to: prompt().formatted(), generating: type, using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:419:51: error: 'Prompt' is unavailable in tvOS
417 | using model: Adapter.Model = .default,
418 | options: Adapter.GenerationOptions? = nil,
419 | @PromptBuilder prompt: @Sendable () throws -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
420 | ) throws -> AsyncThrowingStream<Snapshot<StructuredOutput>, any Error> {
421 | try streamResponse(to: prompt().formatted(), generating: type, using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:478:6: error: 'PromptBuilder' is unavailable in tvOS
476 | using model: Adapter.Model = .default,
477 | options: Adapter.GenerationOptions? = nil,
478 | @PromptBuilder prompt: @Sendable () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in tvOS
479 | ) throws -> AsyncThrowingStream<Snapshot<StructuredOutput>, any Error> {
480 | try streamResponse(to: prompt().formatted(), generating: StructuredOutput.self, using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:478:51: error: 'Prompt' is unavailable in tvOS
476 | using model: Adapter.Model = .default,
477 | options: Adapter.GenerationOptions? = nil,
478 | @PromptBuilder prompt: @Sendable () throws -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
479 | ) throws -> AsyncThrowingStream<Snapshot<StructuredOutput>, any Error> {
480 | try streamResponse(to: prompt().formatted(), generating: StructuredOutput.self, using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:541:6: error: 'PromptBuilder' is unavailable in tvOS
539 | using model: Adapter.Model = .default,
540 | options: Adapter.GenerationOptions? = nil,
541 | @PromptBuilder embeddingInto prompt: @Sendable (_ input: String, _ sources: [SessionSchema.DecodedGrounding])
| `- error: 'PromptBuilder' is unavailable in tvOS
542 | -> Prompt,
543 | ) throws -> AsyncThrowingStream<Snapshot<String>, any Error> {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:542:10: error: 'Prompt' is unavailable in tvOS
540 | options: Adapter.GenerationOptions? = nil,
541 | @PromptBuilder embeddingInto prompt: @Sendable (_ input: String, _ sources: [SessionSchema.DecodedGrounding])
542 | -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
543 | ) throws -> AsyncThrowingStream<Snapshot<String>, any Error> {
544 | let sourcesData = try schema.encodeGrounding(sources)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:624:6: error: 'PromptBuilder' is unavailable in tvOS
622 | using model: Adapter.Model = .default,
623 | options: Adapter.GenerationOptions? = nil,
624 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
| `- error: 'PromptBuilder' is unavailable in tvOS
625 | -> Prompt,
626 | ) throws -> AsyncThrowingStream<Snapshot<StructuredOutput>, any Error> {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:625:10: error: 'Prompt' is unavailable in tvOS
623 | options: Adapter.GenerationOptions? = nil,
624 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
625 | -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
626 | ) throws -> AsyncThrowingStream<Snapshot<StructuredOutput>, any Error> {
627 | let sourcesData = try schema.encodeGrounding(sources)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:707:6: error: 'PromptBuilder' is unavailable in tvOS
705 | using model: Adapter.Model = .default,
706 | options: Adapter.GenerationOptions? = nil,
707 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
| `- error: 'PromptBuilder' is unavailable in tvOS
708 | -> Prompt,
709 | ) throws -> AsyncThrowingStream<Snapshot<StructuredOutput>, any Error> {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:708:10: error: 'Prompt' is unavailable in tvOS
706 | options: Adapter.GenerationOptions? = nil,
707 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
708 | -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
709 | ) throws -> AsyncThrowingStream<Snapshot<StructuredOutput>, any Error> {
710 | let sourcesData = try schema.encodeGrounding(sources)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider.swift:214:72: error: 'GeneratedContent' is unavailable in tvOS
212 | do {
213 | if let text = lastResponse.text, !text.isEmpty {
214 | content = try StructuredOutput.Schema.PartiallyGenerated(GeneratedContent(kind: .string(text)))
| `- error: 'GeneratedContent' is unavailable in tvOS
215 | }
216 | } catch {
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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/URLMetadataProvider.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile URLMetadataProvider.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelProvider+Respond.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelProvider+StreamResponse.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelProvider.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Macros.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Macros.swift
SwiftCompile normal arm64 Compiling\ JSONUtilities.swift,\ Logging.swift,\ RejectionReportDetailsExtractor.swift,\ SnakeCaseName.swift,\ TranscriptResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/JSONUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/Logging.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/SnakeCaseName.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift (in target 'SwiftAgent' from project 'SwiftAgent')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift:10:53: error: 'GeneratedContent' is unavailable in tvOS
8 | ///
9 | /// The extractor keeps recoverable payloads accessible when strongly typed decoding fails.
10 | package static func values(from generatedContent: GeneratedContent) -> [String: String] {
| `- error: 'GeneratedContent' is unavailable in tvOS
11 | guard
12 | let jsonData = generatedContent.stableJsonString.data(using: .utf8),
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift:112:52: error: 'GeneratedContent' is unavailable in tvOS
110 | /// - rawOutput: The raw generated content produced by the tool, if found
111 | /// - Returns: A resolved tool run. Unknown tools are mapped to `Provider.DecodedToolRun.makeUnknown`.
112 | public func resolve(_ call: ToolCall, rawOutput: GeneratedContent?) -> SessionSchema.DecodedToolRun {
| `- error: 'GeneratedContent' is unavailable in tvOS
113 | guard let tool = toolsByName[call.toolName] else {
114 | let error = TranscriptResolvingError.ToolRunResolution.unknownTool(name: call.toolName)
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift:147:8: error: 'GeneratedContent' is unavailable in tvOS
145 | startingAt startIndex: Int,
146 | in entries: [Transcript.Entry],
147 | ) -> GeneratedContent? {
| `- error: 'GeneratedContent' is unavailable in tvOS
148 | // Search forward from the current position for the matching tool output
149 | // Tool outputs are typically close to their calls, so this is efficient
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift:155:18: error: 'GeneratedContent' is unavailable in tvOS
153 | switch toolOutput.segment {
154 | case let .text(text):
155 | return GeneratedContent(text.content)
| `- error: 'GeneratedContent' is unavailable in tvOS
156 | case let .structure(structure):
157 | return structure.content
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift:155:18: error: 'init(_:)' is unavailable in tvOS
153 | switch toolOutput.segment {
154 | case let .text(text):
155 | return GeneratedContent(text.content)
| `- error: 'init(_:)' is unavailable in tvOS
156 | case let .structure(structure):
157 | return structure.content
FoundationModels.GeneratedContent.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public init(_ value: some ConvertibleToGeneratedContent)}
| `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/AgentLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/JSONUtilities.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/Logging.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/SnakeCaseName.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/URLMetadataProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Macros.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AdapterUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/GenerationError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TokenUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript+Resolved.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TranscriptResolvingError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/_SwiftAgentToolWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/AuthorizationContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient+SSE.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPErrorMessageExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPReplayRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/NetworkLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/SSEEventTextEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuiltins.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/Adapter.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableStructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/supplementaryOutputs-69 -target arm64-apple-tvos26.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -swift-module-cross-import LinkPresentation /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Modules/LinkPresentation.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import LinkPresentation /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/LinkPresentation.framework/Modules/LinkPresentation.swiftcrossimport/AppIntents.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 \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAgentMacros\#SwiftAgentMacros -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/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent-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/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAgentMacros\#SwiftAgentMacros -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/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftAgent -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent_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 -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/JSONUtilities.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/Logging.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/RejectionReportDetailsExtractor.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SnakeCaseName.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/TranscriptResolver.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent.swiftmodule -index-unit-output-path /SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/JSONUtilities.o -index-unit-output-path /SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/Logging.o -index-unit-output-path /SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/RejectionReportDetailsExtractor.o -index-unit-output-path /SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SnakeCaseName.o -index-unit-output-path /SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/TranscriptResolver.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/JSONUtilities.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile JSONUtilities.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/Logging.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Logging.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RejectionReportDetailsExtractor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/SnakeCaseName.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SnakeCaseName.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TranscriptResolver.swift
SwiftCompile normal arm64 Compiling\ AuthorizationContext.swift,\ HTTPClient+SSE.swift,\ HTTPClient.swift,\ HTTPErrorMessageExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/AuthorizationContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient+SSE.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPErrorMessageExtractor.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/AuthorizationContext.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AuthorizationContext.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient+SSE.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTTPClient+SSE.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTTPClient.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPErrorMessageExtractor.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTTPErrorMessageExtractor.swift
SwiftCompile normal arm64 Compiling\ PromptBuiltins.swift,\ Adapter.swift,\ DecodableStructuredOutput.swift,\ DecodableTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuiltins.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/Adapter.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableStructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:14:45: error: 'Tool' is unavailable in tvOS
12 | BaseTool.Output: Generable {
13 | /// The tool implementation being decoded.
14 | associatedtype BaseTool: FoundationModels.Tool
| `- error: 'Tool' is unavailable in tvOS
15 | /// Schema-specific projection used in resolved transcripts and snapshots.
16 | associatedtype DecodedToolRun: SwiftAgent.DecodedToolRun
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Tool<Arguments, Output> : Sendable {
| `- note: 'Tool' has been explicitly marked unavailable here
4 | associatedtype Output : PromptRepresentable
5 | associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:11:89: error: 'Generable' is unavailable in tvOS
9 | /// generated types turn streaming `ToolRun<BaseTool>` snapshots into concrete `DecodedToolRun`
10 | /// objects that feed resolved transcripts, UI views, and analytics.
11 | public protocol DecodableTool<DecodedToolRun>: SwiftAgentTool where BaseTool.Arguments: Generable,
| `- error: 'Generable' is unavailable in tvOS
12 | BaseTool.Output: Generable {
13 | /// The tool implementation being decoded.
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:12:20: error: 'Generable' is unavailable in tvOS
10 | /// objects that feed resolved transcripts, UI views, and analytics.
11 | public protocol DecodableTool<DecodedToolRun>: SwiftAgentTool where BaseTool.Arguments: Generable,
12 | BaseTool.Output: Generable {
| `- error: 'Generable' is unavailable in tvOS
13 | /// The tool implementation being decoded.
14 | associatedtype BaseTool: FoundationModels.Tool
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:29:19: error: 'GeneratedContent' is unavailable in tvOS
27 | func decodeCompleted(
28 | id: String,
29 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is unavailable in tvOS
30 | rawOutput: GeneratedContent?,
31 | ) throws -> DecodedToolRun {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:30:16: error: 'GeneratedContent' is unavailable in tvOS
28 | id: String,
29 | rawArguments: GeneratedContent,
30 | rawOutput: GeneratedContent?,
| `- error: 'GeneratedContent' is unavailable in tvOS
31 | ) throws -> DecodedToolRun {
32 | let arguments = try BaseTool.Arguments(rawArguments)
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:45:19: error: 'GeneratedContent' is unavailable in tvOS
43 | func decodePartial(
44 | id: String,
45 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is unavailable in tvOS
46 | rawOutput: GeneratedContent?,
47 | ) throws -> DecodedToolRun {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:46:16: error: 'GeneratedContent' is unavailable in tvOS
44 | id: String,
45 | rawArguments: GeneratedContent,
46 | rawOutput: GeneratedContent?,
| `- error: 'GeneratedContent' is unavailable in tvOS
47 | ) throws -> DecodedToolRun {
48 | let arguments = try BaseTool.Arguments.PartiallyGenerated(rawArguments)
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:62:19: error: 'GeneratedContent' is unavailable in tvOS
60 | id: String,
61 | error: TranscriptResolvingError.ToolRunResolution,
62 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is unavailable in tvOS
63 | rawOutput: GeneratedContent?,
64 | ) throws -> DecodedToolRun {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:63:16: error: 'GeneratedContent' is unavailable in tvOS
61 | error: TranscriptResolvingError.ToolRunResolution,
62 | rawArguments: GeneratedContent,
63 | rawOutput: GeneratedContent?,
| `- error: 'GeneratedContent' is unavailable in tvOS
64 | ) throws -> DecodedToolRun {
65 | let toolRun = ToolRun<BaseTool>(
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:80:19: error: 'GeneratedContent' is unavailable in tvOS
78 | id: String,
79 | argumentsPhase: ToolRun<BaseTool>.ArgumentsPhase,
80 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is unavailable in tvOS
81 | rawOutput: GeneratedContent?,
82 | ) throws -> ToolRun<BaseTool> {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:81:16: error: 'GeneratedContent' is unavailable in tvOS
79 | argumentsPhase: ToolRun<BaseTool>.ArgumentsPhase,
80 | rawArguments: GeneratedContent,
81 | rawOutput: GeneratedContent?,
| `- error: 'GeneratedContent' is unavailable in tvOS
82 | ) throws -> ToolRun<BaseTool> {
83 | guard let rawOutput else {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:116:41: error: 'GeneratedContent' is unavailable in tvOS
114 |
115 | /// Extracts a structured rejection description from generated content (if present).
116 | func rejection(from generatedContent: GeneratedContent) -> ToolRun<BaseTool>.Rejection? {
| `- error: 'GeneratedContent' is unavailable in tvOS
117 | guard
118 | let rejectionReport = try? RejectionReport(generatedContent),
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:137:19: error: 'GenerationSchema' is unavailable in tvOS
135 | let name: String
136 | let description: String
137 | let parameters: GenerationSchema
| `- error: 'GenerationSchema' is unavailable in tvOS
138 | }
139 |
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 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuiltins.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PromptBuiltins.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/Adapter.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Adapter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableStructuredOutput.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DecodableStructuredOutput.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DecodableTool.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-23 16:59:38.085 xcodebuild[1769:8809] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-23 16:59:38.188 xcodebuild[1769:8809] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ LanguageModelSessionSchema.swift,\ StructuredOutput.swift,\ SwiftAgentTool.swift,\ SwiftAgentConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 Compiling\ JSONUtilities.swift,\ Logging.swift,\ RejectionReportDetailsExtractor.swift,\ SnakeCaseName.swift,\ TranscriptResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/JSONUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/Logging.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/SnakeCaseName.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift (in target 'SwiftAgent' from project 'SwiftAgent')
Building workspace SwiftAgent with scheme SwiftAgent-Package
(7 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:
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
EventSource: https://github.com/mattt/EventSource @ 1.2.0
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
swift-snapshot-testing: https://github.com/pointfreeco/swift-snapshot-testing @ 1.18.7
swift-system: https://github.com/apple/swift-system.git @ 1.6.4
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-http-types: https://github.com/apple/swift-http-types @ 1.5.0
OpenAI: https://github.com/MacPaw/OpenAI.git @ main (c8b02fc)
swift-custom-dump: https://github.com/pointfreeco/swift-custom-dump @ 1.3.3
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic.git @ 2.2.0
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
swift-openapi-runtime: https://github.com/apple/swift-openapi-runtime @ 1.8.3
swift-macro-testing: https://github.com/pointfreeco/swift-macro-testing @ 0.6.4
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.3
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
SwiftAgent: /Users/admin/builder/spi-builder-workspace
swift-nio: https://github.com/apple/swift-nio.git @ 2.92.2
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.3
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.1
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
swift-log: https://github.com/apple/swift-log.git @ 1.9.0
swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 600.0.1
swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
xctest-dynamic-overlay: https://github.com/pointfreeco/xctest-dynamic-overlay @ 1.7.0
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
resolved source packages: swift-algorithms, EventSource, swift-service-context, swift-nio-ssl, swift-snapshot-testing, swift-system, swift-nio-http2, swift-numerics, swift-http-types, OpenAI, swift-custom-dump, swift-nio-transport-services, SwiftAnthropic, swift-async-algorithms, swift-openapi-runtime, swift-macro-testing, swift-service-lifecycle, swift-nio-extras, swift-asn1, SwiftAgent, swift-nio, swift-distributed-tracing, async-http-client, swift-http-structured-headers, swift-certificates, swift-crypto, swift-log, swift-syntax, swift-collections, xctest-dynamic-overlay, swift-atomics
2026-09-23 17:00:29.777 xcodebuild[2642:13584] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-23 17:00:29.878 xcodebuild[2642:13584] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.0",
"upper_bound" : "603.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "openai",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/MacPaw/OpenAI.git"
},
{
"identity" : "swiftanthropic",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jamesrochabrun/SwiftAnthropic.git"
},
{
"identity" : "eventsource",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattt/EventSource"
},
{
"identity" : "swift-macro-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-macro-testing"
}
],
"manifest_display_name" : "SwiftAgent",
"name" : "SwiftAgent",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "26.0"
},
{
"name" : "macos",
"version" : "26.0"
}
],
"products" : [
{
"name" : "OpenAISession",
"targets" : [
"OpenAISession",
"SimulatedSession",
"SwiftAgent"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AnthropicSession",
"targets" : [
"AnthropicSession",
"SimulatedSession",
"SwiftAgent"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ExampleCode",
"targets" : [
"ExampleCode"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftAgentMacros",
"targets" : [
"SwiftAgentMacros"
],
"type" : {
"macro" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "SwiftAgentTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAgentTests",
"path" : "Tests/SwiftAgentTests",
"product_dependencies" : [
"SwiftAnthropic"
],
"sources" : [
"AnthropicSession/AnthropicGenerationOptionsValidationTests.swift",
"AnthropicSession/AnthropicHTTPErrorMappingTests.swift",
"AnthropicSession/AnthropicStreamingMultipleToolCallsTests.swift",
"AnthropicSession/AnthropicStreamingTextTests.swift",
"AnthropicSession/AnthropicStreamingThinkingRoundtripTests.swift",
"AnthropicSession/AnthropicStreamingToolCallsNoArgsTests.swift",
"AnthropicSession/AnthropicStreamingToolCallsTests.swift",
"AnthropicSession/AnthropicStructuredOutputTests.swift",
"AnthropicSession/AnthropicTextTests.swift",
"AnthropicSession/AnthropicThinkingCompatibilityValidationTests.swift",
"Helpers/ReplayHTTPClient.swift",
"Networking/HTTPReplayRecorderTests.swift",
"OpenAISession/OpenAIErrorHandling.swift",
"OpenAISession/OpenAIGenerationOptionsValidationTests.swift",
"OpenAISession/OpenAIStreamingErrorHandling.swift",
"OpenAISession/OpenAIStreamingMalformedToolArgumentsTests.swift",
"OpenAISession/OpenAIStreamingMultipleToolCallsTests.swift",
"OpenAISession/OpenAIStreamingStructuredOutputTests.swift",
"OpenAISession/OpenAIStreamingTextTests.swift",
"OpenAISession/OpenAIStreamingToolCallsTests.swift",
"OpenAISession/OpenAIStructuredOutputTests.swift",
"OpenAISession/OpenAITextTests.swift",
"OpenAISession/OpenAIToolCallsTests.swift",
"PromptBuilderTests.swift",
"Protocols/DecodableToolJSONSchemaTests.swift",
"SimulatedSession/SimulationMultiTurnExhaustionTests.swift",
"SimulatedSession/SimulationStreamingTextTests.swift",
"SimulatedSession/SimulationTextTests.swift",
"SwiftAgentTests.swift",
"TranscriptCodableTests.swift"
],
"target_dependencies" : [
"AnthropicSession",
"OpenAISession",
"SwiftAgent",
"SimulatedSession"
],
"type" : "test"
},
{
"c99name" : "SwiftAgentMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftAgentMacros",
"path" : "Sources/SwiftAgentMacros",
"product_dependencies" : [
"SwiftCompilerPlugin",
"SwiftDiagnostics",
"SwiftSyntax",
"SwiftSyntaxMacros",
"SwiftSyntaxBuilder"
],
"product_memberships" : [
"OpenAISession",
"AnthropicSession",
"ExampleCode",
"SwiftAgentMacros"
],
"sources" : [
"MacroHelpers.swift",
"SessionSchema/SessionSchemaMacro+Extensions.swift",
"SessionSchema/SessionSchemaMacro+Extraction.swift",
"SessionSchema/SessionSchemaMacro+Generation.swift",
"SessionSchema/SessionSchemaMacro+Types.swift",
"SessionSchema/SessionSchemaMacro.swift",
"SwiftAgentMacroPlugin.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftAgentMacroTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAgentMacroTests",
"path" : "Tests/SwiftAgentMacroTests",
"product_dependencies" : [
"MacroTesting",
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"SessionSchemaMacroEdgeShapesTests.swift",
"SessionSchemaMacroTests.swift"
],
"target_dependencies" : [
"SwiftAgentMacros"
],
"type" : "test"
},
{
"c99name" : "SwiftAgent",
"module_type" : "SwiftTarget",
"name" : "SwiftAgent",
"path" : "Sources/SwiftAgent",
"product_dependencies" : [
"EventSource"
],
"product_memberships" : [
"OpenAISession",
"AnthropicSession",
"ExampleCode"
],
"sources" : [
"Helpers/AgentLog.swift",
"Helpers/ContentFragmentBuffer.swift",
"Helpers/GeneratedContent+StableJSON.swift",
"Helpers/GenerationError+HTTPMapping.swift",
"Helpers/GenerationError+Pipeline.swift",
"Helpers/JSONUtilities.swift",
"Helpers/Logging.swift",
"Helpers/RejectionReportDetailsExtractor.swift",
"Helpers/SnakeCaseName.swift",
"Helpers/TranscriptResolver.swift",
"Helpers/URLMetadataProvider.swift",
"LanguageModelProvider/LanguageModelProvider+Respond.swift",
"LanguageModelProvider/LanguageModelProvider+StreamResponse.swift",
"LanguageModelProvider/LanguageModelProvider.swift",
"Macros.swift",
"Models/AdapterUpdate.swift",
"Models/AgentResponse.swift",
"Models/AgentSnapshot.swift",
"Models/GenerationError.swift",
"Models/StructuredOutputSnapshot.swift",
"Models/TokenUsage.swift",
"Models/ToolRun.swift",
"Models/ToolRunRejection.swift",
"Models/Transcript+Resolved.swift",
"Models/Transcript.swift",
"Models/TranscriptResolvingError.swift",
"Models/_SwiftAgentToolWrapper.swift",
"Networking/AuthorizationContext.swift",
"Networking/HTTPClient+SSE.swift",
"Networking/HTTPClient.swift",
"Networking/HTTPErrorMessageExtractor.swift",
"Networking/HTTPReplayRecorder.swift",
"Networking/NetworkLog.swift",
"Networking/SSEEventTextEncoder.swift",
"Prompting/PromptBuilder.swift",
"Prompting/PromptBuiltins.swift",
"Protocols/Adapter.swift",
"Protocols/DecodableStructuredOutput.swift",
"Protocols/DecodableTool.swift",
"Protocols/LanguageModelSessionSchema.swift",
"Protocols/StructuredOutput.swift",
"Protocols/SwiftAgentTool.swift",
"SwiftAgentConfiguration.swift"
],
"target_dependencies" : [
"SwiftAgentMacros"
],
"type" : "library"
},
{
"c99name" : "SimulatedSession",
"module_type" : "SwiftTarget",
"name" : "SimulatedSession",
"path" : "Sources/SimulatedSession",
"product_dependencies" : [
"OpenAI"
],
"product_memberships" : [
"OpenAISession",
"AnthropicSession",
"ExampleCode"
],
"sources" : [
"MockableTool.swift",
"SimulatedGeneration.swift",
"SimulatedSession.swift",
"SimulationAdapter.swift",
"SimulationConfiguration.swift",
"SimulationExports.swift",
"SimulationGenerationOptions.swift",
"SimulationModel.swift"
],
"target_dependencies" : [
"SwiftAgent"
],
"type" : "library"
},
{
"c99name" : "OpenAISession",
"module_type" : "SwiftTarget",
"name" : "OpenAISession",
"path" : "Sources/OpenAISession",
"product_dependencies" : [
"OpenAI",
"EventSource"
],
"product_memberships" : [
"OpenAISession",
"ExampleCode"
],
"sources" : [
"Helpers/GenerationError+OpenAI.swift",
"Helpers/GenerationSchema+JSONSchema.swift",
"Helpers/OpenAIResponseStreamEventDecoder.swift",
"Helpers/OutputContent+asText.swift",
"OpenAIAdapter+Streaming.swift",
"OpenAIAdapter.swift",
"OpenAIConfiguration.swift",
"OpenAIExports.swift",
"OpenAIGenerationOptions.swift",
"OpenAIGenerationOptionsError.swift",
"OpenAIModel.swift",
"OpenAISession.swift"
],
"target_dependencies" : [
"SwiftAgent",
"SwiftAgentMacros"
],
"type" : "library"
},
{
"c99name" : "ExampleCode",
"module_type" : "SwiftTarget",
"name" : "ExampleCode",
"path" : "Sources/ExampleCode",
"product_dependencies" : [
"SwiftAnthropic"
],
"product_memberships" : [
"ExampleCode"
],
"sources" : [
"ReadmeCode.swift"
],
"target_dependencies" : [
"SwiftAgent",
"AnthropicSession",
"OpenAISession",
"SimulatedSession"
],
"type" : "library"
},
{
"c99name" : "AnthropicSession",
"module_type" : "SwiftTarget",
"name" : "AnthropicSession",
"path" : "Sources/AnthropicSession",
"product_dependencies" : [
"SwiftAnthropic",
"EventSource"
],
"product_memberships" : [
"AnthropicSession",
"ExampleCode"
],
"sources" : [
"AnthropicAdapter+Request.swift",
"AnthropicAdapter+Streaming.swift",
"AnthropicAdapter+StreamingHandlers.swift",
"AnthropicAdapter+StreamingTranscript.swift",
"AnthropicAdapter+TokenUsage.swift",
"AnthropicAdapter+ToolExecution.swift",
"AnthropicAdapter.swift",
"AnthropicConfiguration.swift",
"AnthropicExports.swift",
"AnthropicGenerationOptions.swift",
"AnthropicGenerationOptionsError.swift",
"AnthropicModel.swift",
"AnthropicSession.swift",
"AnthropicStreamingState.swift",
"Helpers/AnthropicMessageBuilder.swift",
"Helpers/AnthropicMessageStreamEventDecoder.swift",
"Helpers/GenerationError+Anthropic.swift",
"Helpers/GenerationSchema+AnthropicJSONSchema.swift",
"Helpers/MessageParameter+Sendable.swift"
],
"target_dependencies" : [
"SwiftAgent",
"SwiftAgentMacros"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
{
"workspace" : {
"name" : "SwiftAgent",
"schemes" : [
"AnthropicSession",
"ExampleCode",
"OpenAISession",
"SwiftAgent",
"SwiftAgent-Package",
"SwiftAgentMacroTests",
"SwiftAgentTests"
]
}
}
2026-09-23 17:00:32.552 xcodebuild[2651:13659] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-23 17:00:32.653 xcodebuild[2651:13659] [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 SwiftAgent-Package -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 SwiftAgent-Package -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
swift-log: https://github.com/apple/swift-log.git @ 1.9.0
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
OpenAI: https://github.com/MacPaw/OpenAI.git @ main (c8b02fc)
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-macro-testing: https://github.com/pointfreeco/swift-macro-testing @ 0.6.4
xctest-dynamic-overlay: https://github.com/pointfreeco/xctest-dynamic-overlay @ 1.7.0
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.3
swift-openapi-runtime: https://github.com/apple/swift-openapi-runtime @ 1.8.3
swift-system: https://github.com/apple/swift-system.git @ 1.6.4
EventSource: https://github.com/mattt/EventSource @ 1.2.0
swift-custom-dump: https://github.com/pointfreeco/swift-custom-dump @ 1.3.3
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.1
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
swift-nio: https://github.com/apple/swift-nio.git @ 2.92.2
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
SwiftAgent: /Users/admin/builder/spi-builder-workspace
swift-http-types: https://github.com/apple/swift-http-types @ 1.5.0
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 600.0.1
swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.3
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic.git @ 2.2.0
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
swift-snapshot-testing: https://github.com/pointfreeco/swift-snapshot-testing @ 1.18.7
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (39 targets)
Target 'ExampleCode-product' in project 'SwiftAgent'
➜ Explicit dependency on target 'ExampleCode' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'AnthropicSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'OpenAISession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SimulatedSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'SwiftAnthropic-product' in project 'SwiftAnthropic'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'ExampleCode' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'AnthropicSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'OpenAISession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SimulatedSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'SwiftAnthropic-product' in project 'SwiftAnthropic'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'AnthropicSession-product' in project 'SwiftAgent'
➜ Explicit dependency on target 'AnthropicSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SimulatedSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'SwiftAnthropic-product' in project 'SwiftAnthropic'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'AnthropicSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'SwiftAnthropic-product' in project 'SwiftAnthropic'
Target 'SwiftAnthropic-product' in project 'SwiftAnthropic'
➜ Explicit dependency on target 'SwiftAnthropic' in project 'SwiftAnthropic'
Target 'SwiftAnthropic' in project 'SwiftAnthropic' (no dependencies)
Target 'OpenAISession-product' in project 'SwiftAgent'
➜ Explicit dependency on target 'OpenAISession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SimulatedSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'SimulatedSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'OpenAISession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'OpenAI-product' in project 'OpenAI'
➜ Explicit dependency on target 'OpenAI' in project 'OpenAI'
➜ Explicit dependency on target 'OpenAPIRuntime-product' in project 'swift-openapi-runtime'
Target 'OpenAI' in project 'OpenAI'
➜ Explicit dependency on target 'OpenAPIRuntime-product' in project 'swift-openapi-runtime'
Target 'OpenAPIRuntime-product' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'HTTPTypes-product' in project 'swift-http-types'
Target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'HTTPTypes-product' in project 'swift-http-types'
Target 'HTTPTypes-product' in project 'swift-http-types'
➜ Explicit dependency on target 'HTTPTypes' in project 'swift-http-types'
Target 'HTTPTypes' in project 'swift-http-types' (no dependencies)
Target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
Target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'EventSource' in project 'EventSource'
Target 'EventSource' in project 'EventSource' (no dependencies)
Target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftCompilerPlugin-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder-product' in project 'swift-syntax'
Target 'SwiftSyntaxBuilder-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
Target 'SwiftSyntaxMacros-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
Target 'SwiftSyntax-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
Target 'SwiftDiagnostics-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftCompilerPlugin-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftCompilerPlugin' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
Target 'SwiftCompilerPlugin' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
Target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
Target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
Target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
Target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
Target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
Target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftOperators' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
Target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
Target 'SwiftSyntax600' in project 'swift-syntax' (no dependencies)
Target 'SwiftSyntax510' in project 'swift-syntax' (no dependencies)
Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
Target '_SwiftSyntaxCShims' in project 'swift-syntax' (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
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/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.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/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
SwiftDriver SwiftAgent normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftAgent' from project 'SwiftAgent')
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 SwiftAgent -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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-tvos26.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/PackageFrameworks -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 -Xfrontend -load-plugin-executable -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAgentMacros\#SwiftAgentMacros -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/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent-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/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent-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/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent_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/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-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/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver OpenAI normal arm64 com.apple.xcode.tools.swift.compiler (in target 'OpenAI' from project 'OpenAI')
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 OpenAI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-appletvos/OpenAI-t.build/Objects-normal/arm64/OpenAI.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -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/PackageFrameworks -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/OpenAI.build/Debug-appletvos/OpenAI-t.build/Objects-normal/arm64/OpenAI-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/OpenAI.build/Debug-appletvos/OpenAI-t.build/Objects-normal/arm64/OpenAI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-appletvos/OpenAI-t.build/Objects-normal/arm64/OpenAI-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 openai -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-appletvos/OpenAI-t.build/Objects-normal/arm64/OpenAI_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/OpenAI.build/Debug-appletvos/OpenAI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-appletvos/OpenAI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-appletvos/OpenAI-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/OpenAI.build/Debug-appletvos/OpenAI-t.build/Objects-normal/arm64/OpenAI-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ AgentLog.swift,\ ContentFragmentBuffer.swift,\ GeneratedContent+StableJSON.swift,\ GenerationError+HTTPMapping.swift,\ GenerationError+Pipeline.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/AgentLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/AgentLog.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentLog.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContentFragmentBuffer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GeneratedContent+StableJSON.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GenerationError+HTTPMapping.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GenerationError+Pipeline.swift
SwiftCompile normal arm64 Compiling\ AdapterUpdate.swift,\ AgentResponse.swift,\ AgentSnapshot.swift,\ GenerationError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AdapterUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/GenerationError.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AdapterUpdate.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AdapterUpdate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentResponse.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentResponse.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentSnapshot.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentSnapshot.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/GenerationError.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GenerationError.swift
SwiftCompile normal arm64 Compiling\ URLMetadataProvider.swift,\ LanguageModelProvider+Respond.swift,\ LanguageModelProvider+StreamResponse.swift,\ LanguageModelProvider.swift,\ Macros.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/URLMetadataProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Macros.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/URLMetadataProvider.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile URLMetadataProvider.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelProvider+Respond.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelProvider+StreamResponse.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelProvider.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Macros.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Macros.swift
SwiftCompile normal arm64 Compiling\ AuthorizationContext.swift,\ HTTPClient+SSE.swift,\ HTTPClient.swift,\ HTTPErrorMessageExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/AuthorizationContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient+SSE.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPErrorMessageExtractor.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/AuthorizationContext.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AuthorizationContext.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient+SSE.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTTPClient+SSE.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTTPClient.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPErrorMessageExtractor.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTTPErrorMessageExtractor.swift
SwiftCompile normal arm64 Compiling\ StructuredOutputSnapshot.swift,\ TokenUsage.swift,\ ToolRun.swift,\ ToolRunRejection.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TokenUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift (in target 'SwiftAgent' from project 'SwiftAgent')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:79:26: error: 'GeneratedContent' is unavailable in tvOS
77 |
78 | /// The raw provider payload from which the structured content was decoded.
79 | public var rawContent: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
80 |
81 | /// The current phase of the content (partial or final).
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:95:21: error: 'GeneratedContent' is unavailable in tvOS
93 |
94 | /// Error payload when the snapshot represents a provider-reported failure.
95 | public var error: GeneratedContent?
| `- error: 'GeneratedContent' is unavailable in tvOS
96 |
97 | /// Creates a snapshot backed by decoded content.
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:98:67: error: 'GeneratedContent' is unavailable in tvOS
96 |
97 | /// Creates a snapshot backed by decoded content.
98 | public init(id: String, contentPhase: ContentPhase, rawContent: GeneratedContent) {
| `- error: 'GeneratedContent' is unavailable in tvOS
99 | self.id = id
100 | self.contentPhase = contentPhase
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:113:34: error: 'GeneratedContent' is unavailable in tvOS
111 |
112 | /// Creates a snapshot that represents a provider-reported error payload.
113 | public init(id: String, error: GeneratedContent, rawContent: GeneratedContent) {
| `- error: 'GeneratedContent' is unavailable in tvOS
114 | self.id = id
115 | self.error = error
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:113:64: error: 'GeneratedContent' is unavailable in tvOS
111 |
112 | /// Creates a snapshot that represents a provider-reported error payload.
113 | public init(id: String, error: GeneratedContent, rawContent: GeneratedContent) {
| `- error: 'GeneratedContent' is unavailable in tvOS
114 | self.id = id
115 | self.error = error
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:134:47: error: 'GeneratedContent' is unavailable in tvOS
132 |
133 | /// Builds an error snapshot from the provider's JSON payload.
134 | public static func error(id: String, error: GeneratedContent) throws -> StructuredOutputSnapshot<Output> {
| `- error: 'GeneratedContent' is unavailable in tvOS
135 | StructuredOutputSnapshot(id: id, error: error, rawContent: error)
136 | }
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:141:67: error: 'GeneratedContent' is unavailable in tvOS
139 | private extension StructuredOutputSnapshot {
140 | /// Produces the `CurrentContent` projection for a given phase.
141 | static func makeCurrentContent(from content: ContentPhase, raw: GeneratedContent) -> CurrentContent? {
| `- error: 'GeneratedContent' is unavailable in tvOS
142 | switch content {
143 | case let .partial(content):
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:121:26: error: 'GeneratedContent' is unavailable in tvOS
119 | /// Builds a partial snapshot from the provider's JSON payload.
120 | public static func partial(id: String, json: String) throws -> StructuredOutputSnapshot<Output> {
121 | let rawContent = try GeneratedContent(json: json)
| `- error: 'GeneratedContent' is unavailable in tvOS
122 | let content = try Output.Schema.PartiallyGenerated(rawContent)
123 | return StructuredOutputSnapshot(id: id, contentPhase: .partial(content), rawContent: rawContent)
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:121:26: error: 'init(json:)' is unavailable in tvOS
119 | /// Builds a partial snapshot from the provider's JSON payload.
120 | public static func partial(id: String, json: String) throws -> StructuredOutputSnapshot<Output> {
121 | let rawContent = try GeneratedContent(json: json)
| `- error: 'init(json:)' is unavailable in tvOS
122 | let content = try Output.Schema.PartiallyGenerated(rawContent)
123 | return StructuredOutputSnapshot(id: id, contentPhase: .partial(content), rawContent: rawContent)
FoundationModels.GeneratedContent.init:2:8: note: 'init(json:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public init(json: String) throws}
| `- note: 'init(json:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:128:26: error: 'GeneratedContent' is unavailable in tvOS
126 | /// Builds a final snapshot from the provider's JSON payload.
127 | public static func final(id: String, json: String) throws -> StructuredOutputSnapshot<Output> {
128 | let rawContent = try GeneratedContent(json: json)
| `- error: 'GeneratedContent' is unavailable in tvOS
129 | let content = try Output.Schema(rawContent)
130 | return StructuredOutputSnapshot(id: id, contentPhase: .final(content), rawContent: rawContent)
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:128:26: error: 'init(json:)' is unavailable in tvOS
126 | /// Builds a final snapshot from the provider's JSON payload.
127 | public static func final(id: String, json: String) throws -> StructuredOutputSnapshot<Output> {
128 | let rawContent = try GeneratedContent(json: json)
| `- error: 'init(json:)' is unavailable in tvOS
129 | let content = try Output.Schema(rawContent)
130 | return StructuredOutputSnapshot(id: id, contentPhase: .final(content), rawContent: rawContent)
FoundationModels.GeneratedContent.init:2:8: note: 'init(json:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public init(json: String) throws}
| `- note: 'init(json:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:146:54: error: 'asPartiallyGenerated()' is unavailable in tvOS
144 | CurrentContent(isFinal: false, content: content)
145 | case let .final(content):
146 | CurrentContent(isFinal: true, content: content.asPartiallyGenerated())
| `- error: 'asPartiallyGenerated()' is unavailable in tvOS
147 | }
148 | }
FoundationModels.Generable.asPartiallyGenerated:2:13: note: 'asPartiallyGenerated()' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public func asPartiallyGenerated() -> Self.PartiallyGenerated}
| `- note: 'asPartiallyGenerated()' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:104:28: error: 'GeneratedContent' is unavailable in tvOS
102 |
103 | /// The raw generated content containing the tool arguments.
104 | public var rawArguments: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
105 |
106 | /// The raw generated content containing the tool output, if available.
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:107:25: error: 'GeneratedContent' is unavailable in tvOS
105 |
106 | /// The raw generated content containing the tool output, if available.
107 | public var rawOutput: GeneratedContent?
| `- error: 'GeneratedContent' is unavailable in tvOS
108 |
109 | /// The current phase of the tool arguments (partial or final).
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:161:19: error: 'GeneratedContent' is unavailable in tvOS
159 | output: Output? = nil,
160 | rejection: Rejection? = nil,
161 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is unavailable in tvOS
162 | rawOutput: GeneratedContent? = nil,
163 | ) {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:162:16: error: 'GeneratedContent' is unavailable in tvOS
160 | rejection: Rejection? = nil,
161 | rawArguments: GeneratedContent,
162 | rawOutput: GeneratedContent? = nil,
| `- error: 'GeneratedContent' is unavailable in tvOS
163 | ) {
164 | self.id = id
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:185:19: error: 'GeneratedContent' is unavailable in tvOS
183 | rejection: Rejection? = nil,
184 | error: TranscriptResolvingError.ToolRunResolution,
185 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is unavailable in tvOS
186 | rawOutput: GeneratedContent? = nil,
187 | ) {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:186:16: error: 'GeneratedContent' is unavailable in tvOS
184 | error: TranscriptResolvingError.ToolRunResolution,
185 | rawArguments: GeneratedContent,
186 | rawOutput: GeneratedContent? = nil,
| `- error: 'GeneratedContent' is unavailable in tvOS
187 | ) {
188 | self.id = id
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:56:46: error: 'Tool' is unavailable in tvOS
54 | /// }
55 | /// ```
56 | public struct ToolRun<Tool: FoundationModels.Tool>: Identifiable where Tool.Arguments: Generable,
| `- error: 'Tool' is unavailable in tvOS
57 | Tool.Output: Generable {
58 | /// The arguments type for this tool.
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Tool<Arguments, Output> : Sendable {
| `- note: 'Tool' has been explicitly marked unavailable here
4 | associatedtype Output : PromptRepresentable
5 | associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:56:88: error: 'Generable' is unavailable in tvOS
54 | /// }
55 | /// ```
56 | public struct ToolRun<Tool: FoundationModels.Tool>: Identifiable where Tool.Arguments: Generable,
| `- error: 'Generable' is unavailable in tvOS
57 | Tool.Output: Generable {
58 | /// The arguments type for this tool.
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 }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StructuredOutputSnapshot.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TokenUsage.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TokenUsage.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToolRun.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToolRunRejection.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftAgent (in target 'SwiftAgent' from project 'SwiftAgent')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift:6:11: error: 'GeneratedContent' is unavailable in tvOS
4 | import FoundationModels
5 |
6 | extension GeneratedContent {
| `- error: 'GeneratedContent' is unavailable in tvOS
7 | /// A stable JSON string representation whose dictionary keys are deterministically sorted.
8 | ///
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift:10:53: error: 'GeneratedContent' is unavailable in tvOS
8 | ///
9 | /// The extractor keeps recoverable payloads accessible when strongly typed decoding fails.
10 | package static func values(from generatedContent: GeneratedContent) -> [String: String] {
| `- error: 'GeneratedContent' is unavailable in tvOS
11 | guard
12 | let jsonData = generatedContent.stableJsonString.data(using: .utf8),
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift:112:52: error: 'GeneratedContent' is unavailable in tvOS
110 | /// - rawOutput: The raw generated content produced by the tool, if found
111 | /// - Returns: A resolved tool run. Unknown tools are mapped to `Provider.DecodedToolRun.makeUnknown`.
112 | public func resolve(_ call: ToolCall, rawOutput: GeneratedContent?) -> SessionSchema.DecodedToolRun {
| `- error: 'GeneratedContent' is unavailable in tvOS
113 | guard let tool = toolsByName[call.toolName] else {
114 | let error = TranscriptResolvingError.ToolRunResolution.unknownTool(name: call.toolName)
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift:147:8: error: 'GeneratedContent' is unavailable in tvOS
145 | startingAt startIndex: Int,
146 | in entries: [Transcript.Entry],
147 | ) -> GeneratedContent? {
| `- error: 'GeneratedContent' is unavailable in tvOS
148 | // Search forward from the current position for the matching tool output
149 | // Tool outputs are typically close to their calls, so this is efficient
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:75:16: error: 'Prompt' is unavailable in tvOS
73 | @discardableResult
74 | func respond(
75 | to prompt: Prompt,
| `- error: 'Prompt' is unavailable in tvOS
76 | using model: Adapter.Model = .default,
77 | options: Adapter.GenerationOptions? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:107:6: error: 'PromptBuilder' is unavailable in tvOS
105 | using model: Adapter.Model = .default,
106 | options: Adapter.GenerationOptions? = nil,
107 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in tvOS
108 | ) async throws -> Response<String> {
109 | try await respond(to: prompt().formatted(), using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:107:41: error: 'Prompt' is unavailable in tvOS
105 | using model: Adapter.Model = .default,
106 | options: Adapter.GenerationOptions? = nil,
107 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
108 | ) async throws -> Response<String> {
109 | try await respond(to: prompt().formatted(), using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:274:16: error: 'Prompt' is unavailable in tvOS
272 | @discardableResult
273 | func respond<StructuredOutput: SwiftAgent.StructuredOutput>(
274 | to prompt: Prompt,
| `- error: 'Prompt' is unavailable in tvOS
275 | generating type: StructuredOutput.Type,
276 | using model: Adapter.Model = .default,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:345:16: error: 'Prompt' is unavailable in tvOS
343 | @discardableResult
344 | func respond<StructuredOutput: SwiftAgent.StructuredOutput>(
345 | to prompt: Prompt,
| `- error: 'Prompt' is unavailable in tvOS
346 | generating type: KeyPath<SessionSchema.StructuredOutputs, StructuredOutput.Type>,
347 | using model: Adapter.Model = .default,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:397:6: error: 'PromptBuilder' is unavailable in tvOS
395 | using model: Adapter.Model = .default,
396 | options: Adapter.GenerationOptions? = nil,
397 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in tvOS
398 | ) async throws -> Response<StructuredOutput> {
399 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:397:41: error: 'Prompt' is unavailable in tvOS
395 | using model: Adapter.Model = .default,
396 | options: Adapter.GenerationOptions? = nil,
397 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
398 | ) async throws -> Response<StructuredOutput> {
399 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:464:6: error: 'PromptBuilder' is unavailable in tvOS
462 | using model: Adapter.Model = .default,
463 | options: Adapter.GenerationOptions? = nil,
464 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in tvOS
465 | ) async throws -> Response<StructuredOutput> {
466 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:464:41: error: 'Prompt' is unavailable in tvOS
462 | using model: Adapter.Model = .default,
463 | options: Adapter.GenerationOptions? = nil,
464 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'Prompt' is unavailable in tvOS
465 | ) async throws -> Response<StructuredOutput> {
466 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:521:6: error: 'PromptBuilder' is unavailable in tvOS
519 | groundingWith sources: [SessionSchema.DecodedGrounding],
520 | options: Adapter.GenerationOptions? = nil,
521 | @PromptBuilder embeddingInto prompt: @Sendable (_ input: String, _ sources: [SessionSchema.DecodedGrounding])
| `- error: 'PromptBuilder' is unavailable in tvOS
522 | -> Prompt,
523 | ) async throws -> Response<String> where SessionSchema: GroundingSupportingSchema {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
SwiftCompile normal arm64 (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Transcript+Resolved.swift,\ Transcript.swift,\ TranscriptResolvingError.swift,\ _SwiftAgentToolWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript+Resolved.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TranscriptResolvingError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/_SwiftAgentToolWrapper.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript+Resolved.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Transcript+Resolved.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Transcript.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TranscriptResolvingError.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TranscriptResolvingError.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/_SwiftAgentToolWrapper.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile _SwiftAgentToolWrapper.swift
SwiftCompile normal arm64 Compiling\ LanguageModelSessionSchema.swift,\ StructuredOutput.swift,\ SwiftAgentTool.swift,\ SwiftAgentConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift (in target 'SwiftAgent' from project 'SwiftAgent')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift:33:26: error: 'Generable' is unavailable in tvOS
31 | public protocol StructuredOutput<Schema>: Sendable {
32 | /// The schema that the model should produce for this output.
33 | associatedtype Schema: Generable
| `- error: 'Generable' is unavailable in tvOS
34 |
35 | /// A stable identifier for the output used in transcripts.
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift:39:1: error: conformance of 'String' to 'Generable' is unavailable in tvOS
37 | }
38 |
39 | extension String: StructuredOutput {
| |- error: conformance of 'String' to 'Generable' is unavailable in tvOS
| `- note: in associated type 'Self.Schema' (inferred as 'String')
40 | /// The schema is the string itself, enabling plain text generation
41 | /// through the same structured output pipeline.
FoundationModels.String:3:11: note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension String : Generable {
| `- note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
4 | public static var generationSchema: GenerationSchema { get }
5 | public init(_ content: GeneratedContent) throws
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift:11:50: error: 'Tool' is unavailable in tvOS
9 | /// - Note: You do not conform to this protocol directly. When you define a language model session and pass a `@Tool`
10 | /// property, the macro will synthesize a conformance to this protocol.
11 | public protocol SwiftAgentTool: FoundationModels.Tool where Arguments: Generable, Output: Generable {}
| `- error: 'Tool' is unavailable in tvOS
12 |
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Tool<Arguments, Output> : Sendable {
| `- note: 'Tool' has been explicitly marked unavailable here
4 | associatedtype Output : PromptRepresentable
5 | associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift:11:72: error: 'Generable' is unavailable in tvOS
9 | /// - Note: You do not conform to this protocol directly. When you define a language model session and pass a `@Tool`
10 | /// property, the macro will synthesize a conformance to this protocol.
11 | public protocol SwiftAgentTool: FoundationModels.Tool where Arguments: Generable, Output: Generable {}
| `- error: 'Generable' is unavailable in tvOS
12 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift:11:91: error: 'Generable' is unavailable in tvOS
9 | /// - Note: You do not conform to this protocol directly. When you define a language model session and pass a `@Tool`
10 | /// property, the macro will synthesize a conformance to this protocol.
11 | public protocol SwiftAgentTool: FoundationModels.Tool where Arguments: Generable, Output: Generable {}
| `- error: 'Generable' is unavailable in tvOS
12 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/AgentLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/JSONUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/Logging.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/SnakeCaseName.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/URLMetadataProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Macros.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AdapterUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/GenerationError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TokenUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript+Resolved.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TranscriptResolvingError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/_SwiftAgentToolWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/AuthorizationContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient+SSE.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPErrorMessageExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPReplayRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/NetworkLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/SSEEventTextEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuiltins.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/Adapter.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableStructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/supplementaryOutputs-10 -target arm64-apple-tvos26.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -swift-module-cross-import LinkPresentation /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Modules/LinkPresentation.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import LinkPresentation /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/LinkPresentation.framework/Modules/LinkPresentation.swiftcrossimport/AppIntents.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 \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAgentMacros\#SwiftAgentMacros -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/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent-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/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAgentMacros\#SwiftAgentMacros -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/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftAgent -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent_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 -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/LanguageModelSessionSchema.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/StructuredOutput.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgentTool.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgentConfiguration.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent.swiftmodule -index-unit-output-path /SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/LanguageModelSessionSchema.o -index-unit-output-path /SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/StructuredOutput.o -index-unit-output-path /SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgentTool.o -index-unit-output-path /SwiftAgent.build/Debug-appletvos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgentConfiguration.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelSessionSchema.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StructuredOutput.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftAgentTool.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftAgentConfiguration.swift
SwiftCompile normal arm64 Compiling\ PromptBuiltins.swift,\ Adapter.swift,\ DecodableStructuredOutput.swift,\ DecodableTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuiltins.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/Adapter.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableStructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:14:45: error: 'Tool' is unavailable in tvOS
12 | BaseTool.Output: Generable {
13 | /// The tool implementation being decoded.
14 | associatedtype BaseTool: FoundationModels.Tool
| `- error: 'Tool' is unavailable in tvOS
15 | /// Schema-specific projection used in resolved transcripts and snapshots.
16 | associatedtype DecodedToolRun: SwiftAgent.DecodedToolRun
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Tool<Arguments, Output> : Sendable {
| `- note: 'Tool' has been explicitly marked unavailable here
4 | associatedtype Output : PromptRepresentable
5 | associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:11:89: error: 'Generable' is unavailable in tvOS
9 | /// generated types turn streaming `ToolRun<BaseTool>` snapshots into concrete `DecodedToolRun`
10 | /// objects that feed resolved transcripts, UI views, and analytics.
11 | public protocol DecodableTool<DecodedToolRun>: SwiftAgentTool where BaseTool.Arguments: Generable,
| `- error: 'Generable' is unavailable in tvOS
12 | BaseTool.Output: Generable {
13 | /// The tool implementation being decoded.
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:12:20: error: 'Generable' is unavailable in tvOS
10 | /// objects that feed resolved transcripts, UI views, and analytics.
11 | public protocol DecodableTool<DecodedToolRun>: SwiftAgentTool where BaseTool.Arguments: Generable,
12 | BaseTool.Output: Generable {
| `- error: 'Generable' is unavailable in tvOS
13 | /// The tool implementation being decoded.
14 | associatedtype BaseTool: FoundationModels.Tool
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:29:19: error: 'GeneratedContent' is unavailable in tvOS
27 | func decodeCompleted(
28 | id: String,
29 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is unavailable in tvOS
30 | rawOutput: GeneratedContent?,
31 | ) throws -> DecodedToolRun {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:30:16: error: 'GeneratedContent' is unavailable in tvOS
28 | id: String,
29 | rawArguments: GeneratedContent,
30 | rawOutput: GeneratedContent?,
| `- error: 'GeneratedContent' is unavailable in tvOS
31 | ) throws -> DecodedToolRun {
32 | let arguments = try BaseTool.Arguments(rawArguments)
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:45:19: error: 'GeneratedContent' is unavailable in tvOS
43 | func decodePartial(
44 | id: String,
45 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is unavailable in tvOS
46 | rawOutput: GeneratedContent?,
47 | ) throws -> DecodedToolRun {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:46:16: error: 'GeneratedContent' is unavailable in tvOS
44 | id: String,
45 | rawArguments: GeneratedContent,
46 | rawOutput: GeneratedContent?,
| `- error: 'GeneratedContent' is unavailable in tvOS
47 | ) throws -> DecodedToolRun {
48 | let arguments = try BaseTool.Arguments.PartiallyGenerated(rawArguments)
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:62:19: error: 'GeneratedContent' is unavailable in tvOS
60 | id: String,
61 | error: TranscriptResolvingError.ToolRunResolution,
62 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is unavailable in tvOS
63 | rawOutput: GeneratedContent?,
64 | ) throws -> DecodedToolRun {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:63:16: error: 'GeneratedContent' is unavailable in tvOS
61 | error: TranscriptResolvingError.ToolRunResolution,
62 | rawArguments: GeneratedContent,
63 | rawOutput: GeneratedContent?,
| `- error: 'GeneratedContent' is unavailable in tvOS
64 | ) throws -> DecodedToolRun {
65 | let toolRun = ToolRun<BaseTool>(
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:80:19: error: 'GeneratedContent' is unavailable in tvOS
78 | id: String,
79 | argumentsPhase: ToolRun<BaseTool>.ArgumentsPhase,
80 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is unavailable in tvOS
81 | rawOutput: GeneratedContent?,
82 | ) throws -> ToolRun<BaseTool> {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:81:16: error: 'GeneratedContent' is unavailable in tvOS
79 | argumentsPhase: ToolRun<BaseTool>.ArgumentsPhase,
80 | rawArguments: GeneratedContent,
81 | rawOutput: GeneratedContent?,
| `- error: 'GeneratedContent' is unavailable in tvOS
82 | ) throws -> ToolRun<BaseTool> {
83 | guard let rawOutput else {
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:116:41: error: 'GeneratedContent' is unavailable in tvOS
114 |
115 | /// Extracts a structured rejection description from generated content (if present).
116 | func rejection(from generatedContent: GeneratedContent) -> ToolRun<BaseTool>.Rejection? {
| `- error: 'GeneratedContent' is unavailable in tvOS
117 | guard
118 | let rejectionReport = try? RejectionReport(generatedContent),
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
| `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 | public var id: GenerationID?
5 | public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift:137:19: error: 'GenerationSchema' is unavailable in tvOS
135 | let name: String
136 | let description: String
137 | let parameters: GenerationSchema
| `- error: 'GenerationSchema' is unavailable in tvOS
138 | }
139 |
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 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuiltins.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PromptBuiltins.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/Adapter.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Adapter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableStructuredOutput.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DecodableStructuredOutput.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DecodableTool.swift
SwiftCompile normal arm64 Compiling\ HTTPReplayRecorder.swift,\ NetworkLog.swift,\ SSEEventTextEncoder.swift,\ PromptBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPReplayRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/NetworkLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/SSEEventTextEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPReplayRecorder.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTTPReplayRecorder.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/NetworkLog.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NetworkLog.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/SSEEventTextEncoder.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SSEEventTextEncoder.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PromptBuilder.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ OpenAI (in target 'OpenAI' from project 'OpenAI')
SwiftCompile normal arm64 (in target 'OpenAI' from project 'OpenAI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
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-23 17:00:35.083 xcodebuild[2653:13694] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-23 17:00:35.186 xcodebuild[2653:13694] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ LanguageModelSessionSchema.swift,\ StructuredOutput.swift,\ SwiftAgentTool.swift,\ SwiftAgentConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
Building workspace SwiftAgent with scheme SwiftAgent-Package
(4 failures)
BUILD FAILURE 6.4 tvOS