Build Information
Failed to build SystemOneFoundationModels, reference 0.2.0 (8fbd66), with Swift 6.4 for tvOS using Xcode 27.0 on 3 Oct 2026 08:20:28 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 SystemOneFoundationModels-Package -destination generic/platform=tvOSBuild Log
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift -target arm64-apple-tvos27.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Jev -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency -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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SystemOneCore -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.abi.json
SwiftCompile normal arm64 Compiling\ SystemOneLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneLanguageModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:32:30: error: 'LanguageModelCapabilities' is unavailable in tvOS
30 | public var executorConfiguration: Configuration
31 |
32 | public var capabilities: LanguageModelCapabilities {
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
33 | LanguageModelCapabilities([.guidedGeneration])
34 | }
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
| `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 | public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:6:39: error: 'LanguageModel' is unavailable in tvOS
4 |
5 | /// An Apple Foundation Models provider for System One decision models.
6 | public struct SystemOneLanguageModel: LanguageModel, Sendable {
| `- error: 'LanguageModel' is unavailable in tvOS
7 | public struct Configuration: Hashable, Sendable {
8 | public var backend: AnySystemOneBackend
FoundationModels.LanguageModel:3:17: note: 'LanguageModel' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol LanguageModel : Sendable {
| `- note: 'LanguageModel' has been explicitly marked unavailable here
4 | associatedtype Executor : LanguageModelExecutor where Self == Self.Executor.Model
5 | var capabilities: LanguageModelCapabilities { get }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:33:9: error: 'LanguageModelCapabilities' is unavailable in tvOS
31 |
32 | public var capabilities: LanguageModelCapabilities {
33 | LanguageModelCapabilities([.guidedGeneration])
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
34 | }
35 |
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
| `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 | public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
SwiftCompile normal arm64 Compiling\ SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:19:68: error: 'Transcript' is unavailable in tvOS
17 | }
18 |
19 | public func prewarm(model: SystemOneLanguageModel, transcript: Transcript) {
| `- error: 'Transcript' is unavailable in tvOS
20 | // System One models with local weights or remote connections may prewarm as needed.
21 | }
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
| `- note: 'Transcript' has been explicitly marked unavailable here
4 | public init(entries: some Sequence<Transcript.Entry> = [])
5 | public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:24:21: error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
22 |
23 | public func respond(
24 | to request: LanguageModelExecutorGenerationRequest,
| `- error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
25 | model: SystemOneLanguageModel,
26 | streamingInto channel: LanguageModelExecutorGenerationChannel
FoundationModels.LanguageModelExecutorGenerationRequest:3:15: note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelExecutorGenerationRequest : Sendable {
| `- note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
4 | public var id: UUID
5 | public var transcript: Transcript
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:26:32: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
24 | to request: LanguageModelExecutorGenerationRequest,
25 | model: SystemOneLanguageModel,
26 | streamingInto channel: LanguageModelExecutorGenerationChannel
| `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
27 | ) async throws {
28 | guard let schema = request.schema else {
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
| `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
4 | public init()
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:97:47: error: 'Transcript' is unavailable in tvOS
95 | }
96 |
97 | public func extractState(from transcript: Transcript) -> String {
| `- error: 'Transcript' is unavailable in tvOS
98 | var parts: [String] = []
99 |
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
| `- note: 'Transcript' has been explicitly marked unavailable here
4 | public init(entries: some Sequence<Transcript.Entry> = [])
5 | public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:5:39: error: 'LanguageModelExecutor' is unavailable in tvOS
3 |
4 | /// An executor bridging `LanguageModelSession` requests to any `SystemOneBackend`.
5 | public final class SystemOneExecutor: LanguageModelExecutor, Sendable {
| `- error: 'LanguageModelExecutor' is unavailable in tvOS
6 | public typealias Model = SystemOneLanguageModel
7 | public typealias Configuration = SystemOneLanguageModel.Configuration
FoundationModels.LanguageModelExecutor:3:17: note: 'LanguageModelExecutor' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol LanguageModelExecutor : Sendable {
| `- note: 'LanguageModelExecutor' has been explicitly marked unavailable here
4 | associatedtype Configuration : Hashable, Sendable
5 | associatedtype Model : LanguageModel
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:56:23: error: 'send' is unavailable in tvOS
54 |
55 | // 5. Emit single-frame text for @Generable decoding
56 | await channel.send(.response(
| `- error: 'send' is unavailable in tvOS
57 | entryID: entryID,
58 | action: .appendText(synthesizedText, tokenCount: outputTokenCount)
FoundationModels.LanguageModelExecutorGenerationChannel.send:2:37: note: 'send' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 | nonisolated(nonsending) public func send(_ event: LanguageModelExecutorGenerationChannel.Event) async}
| `- note: 'send' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:56:29: error: 'response(entryID:action:)' is unavailable in tvOS
54 |
55 | // 5. Emit single-frame text for @Generable decoding
56 | await channel.send(.response(
| `- error: 'response(entryID:action:)' is unavailable in tvOS
57 | entryID: entryID,
58 | action: .appendText(synthesizedText, tokenCount: outputTokenCount)
FoundationModels.LanguageModelExecutorGenerationChannel.Event.response:3:20: note: 'response(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 | struct Event {
3 | public static func response(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Response.Action) -> LanguageModelExecutorGenerationChannel.Event }
| `- note: 'response(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:58:22: error: 'appendText(_:segmentID:tokenCount:)' is unavailable in tvOS
56 | await channel.send(.response(
57 | entryID: entryID,
58 | action: .appendText(synthesizedText, tokenCount: outputTokenCount)
| `- error: 'appendText(_:segmentID:tokenCount:)' is unavailable in tvOS
59 | ))
60 |
FoundationModels.LanguageModelExecutorGenerationChannel.Response.Action.appendText:4:20: note: 'appendText(_:segmentID:tokenCount:)' has been explicitly marked unavailable here
2 | struct Response {
3 | struct Action {
4 | public static func appendText(_ text: String, segmentID: String? = nil, tokenCount: Int) -> LanguageModelExecutorGenerationChannel.Response.Action }
| `- note: 'appendText(_:segmentID:tokenCount:)' has been explicitly marked unavailable here
5 | }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:62:32: error: 'GeneratedContent' is unavailable in tvOS
60 |
61 | // 6. Emit metadata with probabilities, confidence scores, and score rubric values
62 | var metadata: [String: GeneratedContent] = [
| `- error: 'GeneratedContent' is unavailable in tvOS
63 | "model": GeneratedContent(response.model)
64 | ]
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/SystemOneCore/SystemOneExecutor.swift:63:22: error: 'GeneratedContent' is unavailable in tvOS
61 | // 6. Emit metadata with probabilities, confidence scores, and score rubric values
62 | var metadata: [String: GeneratedContent] = [
63 | "model": GeneratedContent(response.model)
| `- error: 'GeneratedContent' is unavailable in tvOS
64 | ]
65 |
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/SystemOneCore/SystemOneExecutor.swift:63:22: error: 'init(_:)' is unavailable in tvOS
61 | // 6. Emit metadata with probabilities, confidence scores, and score rubric values
62 | var metadata: [String: GeneratedContent] = [
63 | "model": GeneratedContent(response.model)
| `- error: 'init(_:)' is unavailable in tvOS
64 | ]
65 |
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 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:67:44: error: 'GeneratedContent' is unavailable in tvOS
65 |
66 | if let serverDurationMs = response.serverDurationMs {
67 | metadata["serverDurationMs"] = GeneratedContent(String(format: "%.1f", serverDurationMs))
| `- error: 'GeneratedContent' is unavailable in tvOS
68 | }
69 | if let transportDurationMs = response.transportDurationMs {
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/SystemOneCore/SystemOneExecutor.swift:67:44: error: 'init(_:)' is unavailable in tvOS
65 |
66 | if let serverDurationMs = response.serverDurationMs {
67 | metadata["serverDurationMs"] = GeneratedContent(String(format: "%.1f", serverDurationMs))
| `- error: 'init(_:)' is unavailable in tvOS
68 | }
69 | if let transportDurationMs = response.transportDurationMs {
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 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:70:47: error: 'GeneratedContent' is unavailable in tvOS
68 | }
69 | if let transportDurationMs = response.transportDurationMs {
70 | metadata["transportDurationMs"] = GeneratedContent(String(format: "%.1f", transportDurationMs))
| `- error: 'GeneratedContent' is unavailable in tvOS
71 | }
72 |
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/SystemOneCore/SystemOneExecutor.swift:70:47: error: 'init(_:)' is unavailable in tvOS
68 | }
69 | if let transportDurationMs = response.transportDurationMs {
70 | metadata["transportDurationMs"] = GeneratedContent(String(format: "%.1f", transportDurationMs))
| `- error: 'init(_:)' is unavailable in tvOS
71 | }
72 |
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 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:74:47: error: 'GeneratedContent' is unavailable in tvOS
72 |
73 | if let probabilitiesJSON = synthesizer.extractProbabilitiesJSON(from: response.answers) {
74 | metadata["probabilities"] = (try? GeneratedContent(json: probabilitiesJSON)) ?? GeneratedContent(probabilitiesJSON)
| `- error: 'GeneratedContent' is unavailable in tvOS
75 | }
76 | if let confidenceJSON = synthesizer.extractConfidenceJSON(from: response.answers) {
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/SystemOneCore/SystemOneExecutor.swift:74:47: error: 'init(json:)' is unavailable in tvOS
72 |
73 | if let probabilitiesJSON = synthesizer.extractProbabilitiesJSON(from: response.answers) {
74 | metadata["probabilities"] = (try? GeneratedContent(json: probabilitiesJSON)) ?? GeneratedContent(probabilitiesJSON)
| `- error: 'init(json:)' is unavailable in tvOS
75 | }
76 | if let confidenceJSON = synthesizer.extractConfidenceJSON(from: response.answers) {
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/SystemOneCore/SystemOneExecutor.swift:74:93: error: 'GeneratedContent' is unavailable in tvOS
72 |
73 | if let probabilitiesJSON = synthesizer.extractProbabilitiesJSON(from: response.answers) {
74 | metadata["probabilities"] = (try? GeneratedContent(json: probabilitiesJSON)) ?? GeneratedContent(probabilitiesJSON)
| `- error: 'GeneratedContent' is unavailable in tvOS
75 | }
76 | if let confidenceJSON = synthesizer.extractConfidenceJSON(from: response.answers) {
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/SystemOneCore/SystemOneExecutor.swift:74:93: error: 'init(_:)' is unavailable in tvOS
72 |
73 | if let probabilitiesJSON = synthesizer.extractProbabilitiesJSON(from: response.answers) {
74 | metadata["probabilities"] = (try? GeneratedContent(json: probabilitiesJSON)) ?? GeneratedContent(probabilitiesJSON)
| `- error: 'init(_:)' is unavailable in tvOS
75 | }
76 | if let confidenceJSON = synthesizer.extractConfidenceJSON(from: response.answers) {
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 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:77:44: error: 'GeneratedContent' is unavailable in tvOS
75 | }
76 | if let confidenceJSON = synthesizer.extractConfidenceJSON(from: response.answers) {
77 | metadata["confidence"] = (try? GeneratedContent(json: confidenceJSON)) ?? GeneratedContent(confidenceJSON)
| `- error: 'GeneratedContent' is unavailable in tvOS
78 | }
79 | if let scoresJSON = synthesizer.extractScoresJSON(from: response.answers, layout: translation.layout) {
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/SystemOneCore/SystemOneExecutor.swift:77:44: error: 'init(json:)' is unavailable in tvOS
75 | }
76 | if let confidenceJSON = synthesizer.extractConfidenceJSON(from: response.answers) {
77 | metadata["confidence"] = (try? GeneratedContent(json: confidenceJSON)) ?? GeneratedContent(confidenceJSON)
| `- error: 'init(json:)' is unavailable in tvOS
78 | }
79 | if let scoresJSON = synthesizer.extractScoresJSON(from: response.answers, layout: translation.layout) {
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/SystemOneCore/SystemOneExecutor.swift:77:87: error: 'GeneratedContent' is unavailable in tvOS
75 | }
76 | if let confidenceJSON = synthesizer.extractConfidenceJSON(from: response.answers) {
77 | metadata["confidence"] = (try? GeneratedContent(json: confidenceJSON)) ?? GeneratedContent(confidenceJSON)
| `- error: 'GeneratedContent' is unavailable in tvOS
78 | }
79 | if let scoresJSON = synthesizer.extractScoresJSON(from: response.answers, layout: translation.layout) {
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/SystemOneCore/SystemOneExecutor.swift:77:87: error: 'init(_:)' is unavailable in tvOS
75 | }
76 | if let confidenceJSON = synthesizer.extractConfidenceJSON(from: response.answers) {
77 | metadata["confidence"] = (try? GeneratedContent(json: confidenceJSON)) ?? GeneratedContent(confidenceJSON)
| `- error: 'init(_:)' is unavailable in tvOS
78 | }
79 | if let scoresJSON = synthesizer.extractScoresJSON(from: response.answers, layout: translation.layout) {
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 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:80:40: error: 'GeneratedContent' is unavailable in tvOS
78 | }
79 | if let scoresJSON = synthesizer.extractScoresJSON(from: response.answers, layout: translation.layout) {
80 | metadata["scores"] = (try? GeneratedContent(json: scoresJSON)) ?? GeneratedContent(scoresJSON)
| `- error: 'GeneratedContent' is unavailable in tvOS
81 | }
82 |
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/SystemOneCore/SystemOneExecutor.swift:80:40: error: 'init(json:)' is unavailable in tvOS
78 | }
79 | if let scoresJSON = synthesizer.extractScoresJSON(from: response.answers, layout: translation.layout) {
80 | metadata["scores"] = (try? GeneratedContent(json: scoresJSON)) ?? GeneratedContent(scoresJSON)
| `- error: 'init(json:)' is unavailable in tvOS
81 | }
82 |
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/SystemOneCore/SystemOneExecutor.swift:80:79: error: 'GeneratedContent' is unavailable in tvOS
78 | }
79 | if let scoresJSON = synthesizer.extractScoresJSON(from: response.answers, layout: translation.layout) {
80 | metadata["scores"] = (try? GeneratedContent(json: scoresJSON)) ?? GeneratedContent(scoresJSON)
| `- error: 'GeneratedContent' is unavailable in tvOS
81 | }
82 |
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/SystemOneCore/SystemOneExecutor.swift:80:79: error: 'init(_:)' is unavailable in tvOS
78 | }
79 | if let scoresJSON = synthesizer.extractScoresJSON(from: response.answers, layout: translation.layout) {
80 | metadata["scores"] = (try? GeneratedContent(json: scoresJSON)) ?? GeneratedContent(scoresJSON)
| `- error: 'init(_:)' is unavailable in tvOS
81 | }
82 |
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 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:83:23: error: 'send' is unavailable in tvOS
81 | }
82 |
83 | await channel.send(.response(entryID: entryID, action: .updateMetadata(metadata)))
| `- error: 'send' is unavailable in tvOS
84 |
85 | // 7. Emit token usage
FoundationModels.LanguageModelExecutorGenerationChannel.send:2:37: note: 'send' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 | nonisolated(nonsending) public func send(_ event: LanguageModelExecutorGenerationChannel.Event) async}
| `- note: 'send' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:83:29: error: 'response(entryID:action:)' is unavailable in tvOS
81 | }
82 |
83 | await channel.send(.response(entryID: entryID, action: .updateMetadata(metadata)))
| `- error: 'response(entryID:action:)' is unavailable in tvOS
84 |
85 | // 7. Emit token usage
FoundationModels.LanguageModelExecutorGenerationChannel.Event.response:3:20: note: 'response(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 | struct Event {
3 | public static func response(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Response.Action) -> LanguageModelExecutorGenerationChannel.Event }
| `- note: 'response(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:83:65: error: 'updateMetadata' is unavailable in tvOS
81 | }
82 |
83 | await channel.send(.response(entryID: entryID, action: .updateMetadata(metadata)))
| `- error: 'updateMetadata' is unavailable in tvOS
84 |
85 | // 7. Emit token usage
FoundationModels.LanguageModelExecutorGenerationChannel.Response.Action.updateMetadata:4:20: note: 'updateMetadata' has been explicitly marked unavailable here
2 | struct Response {
3 | struct Action {
4 | public static func updateMetadata(_ values: [String : any ConvertibleToGeneratedContent]) -> LanguageModelExecutorGenerationChannel.Response.Action }
| `- note: 'updateMetadata' has been explicitly marked unavailable here
5 | }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:87:27: error: 'send' is unavailable in tvOS
85 | // 7. Emit token usage
86 | if let usage = response.usage {
87 | await channel.send(.response(
| `- error: 'send' is unavailable in tvOS
88 | entryID: entryID,
89 | action: .updateUsage(
FoundationModels.LanguageModelExecutorGenerationChannel.send:2:37: note: 'send' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 | nonisolated(nonsending) public func send(_ event: LanguageModelExecutorGenerationChannel.Event) async}
| `- note: 'send' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:87:33: error: 'response(entryID:action:)' is unavailable in tvOS
85 | // 7. Emit token usage
86 | if let usage = response.usage {
87 | await channel.send(.response(
| `- error: 'response(entryID:action:)' is unavailable in tvOS
88 | entryID: entryID,
89 | action: .updateUsage(
FoundationModels.LanguageModelExecutorGenerationChannel.Event.response:3:20: note: 'response(entryID:action:)' has been explicitly marked unavailable here
1 | struct LanguageModelExecutorGenerationChannel {
2 | struct Event {
3 | public static func response(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Response.Action) -> LanguageModelExecutorGenerationChannel.Event }
| `- note: 'response(entryID:action:)' has been explicitly marked unavailable here
4 | }
5 |
Assertion failed: (Range.hasLowerEndpoint()), function getVersionString at AvailabilityRange.h:337.
(to display assertion configuration options: -Xllvm -assert-help)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.dia -target arm64-apple-tvos27.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Jev -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency -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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name SystemOneCore -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore_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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/
arm64/SystemOneExecutor.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftmodule -index-unit-output-path /SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
1. Apple Swift version 6.4 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)
2. Compiling with the current language version
3. While evaluating request TypeCheckPrimaryFileRequest(source_file "/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift")
4. While evaluating request TypeCheckFunctionBodyRequest(SystemOneCore.(file).SystemOneExecutor.extractState(from:)@/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:97:17)
5. While evaluating request DesugarForEachStmtRequest(ForEach)
6. Assertion failed: (Range.hasLowerEndpoint()), function getVersionString at AvailabilityRange.h:337.
| (to display assertion configuration options: -Xllvm -assert-help)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x0000000106b63bd0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x0000000106b61358 llvm::sys::RunSignalHandlers() + 172
2 swift-frontend 0x0000000106b641c8 SignalHandler(int, __siginfo*, void*) + 360
3 libsystem_platform.dylib 0x00000001852ed744 _sigtramp + 56
4 libsystem_pthread.dylib 0x00000001852e38d8 pthread_kill + 296
5 libsystem_c.dylib 0x00000001851e9978 abort + 148
6 swift-frontend 0x0000000102312bc4 _ABORT(char const*, int, char const*, llvm::function_ref<void (llvm::raw_ostream&)>) + 0
7 swift-frontend 0x0000000102312b80 _abortWithMessage(llvm::StringRef) + 0
8 swift-frontend 0x0000000101c65a5c (anonymous namespace)::DesugarForEachStmt::emitDiagnosticsForUnavailableConformance(swift::Type, swift::AvailabilityConstraint) + 1268
9 swift-frontend 0x0000000101c5ca40 swift::DesugarForEachStmtRequest::evaluate(swift::Evaluator&, swift::ForEachStmt*) const + 456
10 swift-frontend 0x00000001022a45a8 swift::DesugarForEachStmtRequest::OutputType swift::Evaluator::getResultUncached<swift::DesugarForEachStmtRequest, swift::DesugarForEachStmtRequest::OutputType swift::evaluateOrDefault<swift::DesugarForEachStmtRequest>(swift::Evaluator&, swift::DesugarForEachStmtRequest, swift::DesugarForEachStmtRequest::OutputType)::'lambda'()>(swift::DesugarForEachStmtRequest const&, swift::DesugarForEachStmtRequest::OutputType swift::evaluateOrDefault<swift::DesugarForEachStmtRequest>(swift::Evaluator&, swift::DesugarForEachStmtRequest, swift::DesugarForEachStmtRequest::OutputType)::'lambda'()) + 656
11 swift-frontend 0x0000000101c60dec (anonymous namespace)::ContextualizationWalker::walkToStmtPre(swift::Stmt*) + 340
12 swift-frontend 0x0000000101f5f034 (anonymous namespace)::Traversal::visit(swift::Stmt*) + 2732
13 swift-frontend 0x0000000101ee70ec swift::ASTNode::walk(swift::ASTWalker&) + 288
14 swift-frontend 0x0000000101c5abe4 swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const + 2368
15 swift-frontend 0x00000001020d2838 swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) + 680
16 swift-frontend 0x00000001020d2474 swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultCached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'(), (void*)0>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) + 76
17 swift-frontend 0x000000010219770c swift::SourceFile::typeCheckDelayedFunctions() + 72
18 swift-frontend 0x0000000101cb6444 swift::TypeCheckPrimaryFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const + 1248
19 swift-frontend 0x0000000101cbf244 swift::TypeCheckPrimaryFileRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'()>(swift::TypeCheckPrimaryFileRequest const&, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'()) + 648
20 swift-frontend 0x0000000101cbefa8 swift::TypeCheckPrimaryFileRequest::OutputType swift::Evaluator::getResultCached<swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'(), (void*)0>(swift::TypeCheckPrimaryFileRequest const&, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'()) + 184
21 swift-frontend 0x0000000100ab81a4 bool llvm::function_ref<bool (swift::SourceFile&)>::callback_fn<swift::CompilerInstance::performSema()::$_0>(long, swift::SourceFile&) + 116
22 swift-frontend 0x0000000100ab111c swift::CompilerInstance::forEachFileToTypeCheck(llvm::function_ref<bool (swift::SourceFile&)>) + 176
23 swift-frontend 0x0000000100ab103c swift::CompilerInstance::performSema() + 456
24 swift-frontend 0x0000000100678918 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) + 556
25 swift-frontend 0x0000000100675dc4 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3776
26 swift-frontend 0x00000001005f5008 swift::mainEntry(int, char const**) + 5600
27 dyld 0x0000000184f184e4 start + 6992
Failed frontend command:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneExecutor.swift
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.dia:1:1: warning: Could not read serialized diagnostics file: Error Domain=NSCocoaErrorDomain Code=260 "The file “SystemOneExecutor.dia” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.dia, NSURL=file:///Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.dia, NSUnderlyingError=0x769221a10 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/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/SystemOneCore/Backend/MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.dia -target arm64-apple-tvos27.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Jev -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency -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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SystemOneCore -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore_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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftmodule -index-unit-output-path /SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneExecutor.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
Command SwiftCompile failed with a nonzero exit code
SwiftCompile normal arm64 Compiling\ SystemOneError.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneError.swift
SwiftCompile normal arm64 Compiling\ SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift:59:37: error: 'GenerationSchema' is unavailable in tvOS
57 |
58 | /// Translates a `GenerationSchema` into a `SchemaTranslation` containing System One questions and structural layout.
59 | public func translate(_ schema: GenerationSchema) throws -> SchemaTranslation {
| `- error: 'GenerationSchema' is unavailable in tvOS
60 | let schemaData: Data
61 | do {
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift:76:48: error: 'GenerationSchema' is unavailable in tvOS
74 |
75 | /// Convenience method to translate a `GenerationSchema` directly to System One questions dictionary.
76 | public func translateToQuestions(_ schema: GenerationSchema) throws -> [String: SystemOneQuestion] {
| `- error: 'GenerationSchema' is unavailable in tvOS
77 | try translate(schema).questions
78 | }
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/SystemOneCore/Schema/SchemaTranslator.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SchemaTranslator.swift
SwiftCompile normal arm64 Compiling\ DynamicDecisionSchema.swift,\ LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:17:17: error: 'GenerationSchema' is unavailable in tvOS
15 | whenTrue: String? = nil,
16 | whenFalse: String? = nil
17 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
18 | var fullInstructions = instructions
19 | if let whenTrue, let whenFalse {
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:52:17: error: 'GenerationSchema' is unavailable in tvOS
50 | instructions: String,
51 | options: [(name: String, description: String?)]
52 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
53 | guard !options.isEmpty else {
54 | throw SystemOneError.invalidSchema("Choice schema requires at least one candidate option.")
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:88:17: error: 'GenerationSchema' is unavailable in tvOS
86 | instructions: String,
87 | levels: [String]
88 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
89 | guard !levels.isEmpty else {
90 | throw SystemOneError.invalidSchema("Score schema requires at least one rubric level.")
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:27:31: error: 'DynamicGenerationSchema' is unavailable in tvOS
25 | }
26 |
27 | let booleanProperty = DynamicGenerationSchema.Property(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:27:55: error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
25 | }
26 |
27 | let booleanProperty = DynamicGenerationSchema.Property(
| `- error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema.Property.init:3:8: note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | struct Property {
3 | public init(name: String, description: String? = nil, schema: DynamicGenerationSchema, isOptional: Bool = false) }
| `- note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:30:21: error: 'DynamicGenerationSchema' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
30 | schema: DynamicGenerationSchema(type: Bool.self, guides: []),
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
31 | isOptional: false
32 | )
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:30:21: error: 'init(type:guides:)' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
30 | schema: DynamicGenerationSchema(type: Bool.self, guides: []),
| `- error: 'init(type:guides:)' is unavailable in tvOS
31 | isOptional: false
32 | )
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
| `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:34:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
32 | )
33 |
34 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
35 | name: "BinaryDecision",
36 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:34:20: error: 'init(name:description:properties:)' is unavailable in tvOS
32 | )
33 |
34 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:properties:)' is unavailable in tvOS
35 | name: "BinaryDecision",
36 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:properties:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, properties: [DynamicGenerationSchema.Property])}
| `- note: 'init(name:description:properties:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:40:20: error: 'GenerationSchema' is unavailable in tvOS
38 | )
39 |
40 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
41 | }
42 |
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:40:20: error: 'init(root:dependencies:)' is unavailable in tvOS
38 | )
39 |
40 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'init(root:dependencies:)' is unavailable in tvOS
41 | }
42 |
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
| `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:70:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
68 | }
69 |
70 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
71 | name: "Choice",
72 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:70:20: error: 'init(name:description:anyOf:)' is unavailable in tvOS
68 | }
69 |
70 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
71 | name: "Choice",
72 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, anyOf choices: [String])}
| `- note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:76:20: error: 'GenerationSchema' is unavailable in tvOS
74 | )
75 |
76 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
77 | }
78 |
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:76:20: error: 'init(root:dependencies:)' is unavailable in tvOS
74 | )
75 |
76 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'init(root:dependencies:)' is unavailable in tvOS
77 | }
78 |
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
| `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:25: error: 'DynamicGenerationSchema' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:25: error: 'init(type:guides:)' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'init(type:guides:)' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
| `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:75: error: 'range' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'range' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
FoundationModels.GenerationGuide.range:2:20: note: 'range' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func range(_ range: ClosedRange<Int>) -> GenerationGuide<Int>}
| `- note: 'range' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:100:29: error: 'DynamicGenerationSchema' is unavailable in tvOS
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
101 | name: "score",
102 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:100:53: error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
| `- error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
101 | name: "score",
102 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema.Property.init:3:8: note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | struct Property {
3 | public init(name: String, description: String? = nil, schema: DynamicGenerationSchema, isOptional: Bool = false) }
| `- note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:107:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
105 | )
106 |
107 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
108 | name: "ScoreDecision",
109 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:107:20: error: 'init(name:description:properties:)' is unavailable in tvOS
105 | )
106 |
107 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:properties:)' is unavailable in tvOS
108 | name: "ScoreDecision",
109 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:properties:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, properties: [DynamicGenerationSchema.Property])}
| `- note: 'init(name:description:properties:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:113:20: error: 'GenerationSchema' is unavailable in tvOS
111 | )
112 |
113 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
114 | }
115 | }
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:113:20: error: 'init(root:dependencies:)' is unavailable in tvOS
111 | )
112 |
113 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'init(root:dependencies:)' is unavailable in tvOS
114 | }
115 | }
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
| `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:6:18: error: 'LanguageModelSession' is unavailable in tvOS
4 | // MARK: - LanguageModelSession System One Ergonomic Decision Shortcuts
5 |
6 | public extension LanguageModelSession {
| `- error: 'LanguageModelSession' is unavailable in tvOS
7 | /// Evaluates the probability of truth (0.0 to 1.0) for a statement given context state.
8 | ///
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:25:39: error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
23 | )
24 |
25 | let response = try await self.respond(to: state, schema: schema)
| `- error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
26 |
27 | if let prob = response.probability(for: "decision") {
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 | nonisolated(nonsending) final public func respond(to prompt: String, schema: GenerationSchema, includeSchemaInPrompt: Bool = true, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<GeneratedContent>}
| `- note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:36:48: error: 'value(_:forProperty:)' is unavailable in tvOS
34 | return trueProb
35 | }
36 | if let boolVal = try? response.content.value(Bool.self, forProperty: "decision") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
37 | return boolVal ? 1.0 : 0.0
38 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:39:48: error: 'value(_:forProperty:)' is unavailable in tvOS
37 | return boolVal ? 1.0 : 0.0
38 | }
39 | if let boolVal = try? response.content.value(Bool.self, forProperty: "root") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
40 | return boolVal ? 1.0 : 0.0
41 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:42:48: error: 'value' is unavailable in tvOS
40 | return boolVal ? 1.0 : 0.0
41 | }
42 | if let boolVal = try? response.content.value(Bool.self) {
| `- error: 'value' is unavailable in tvOS
43 | return boolVal ? 1.0 : 0.0
44 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:67:39: error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
65 | let options = Option.allCases.map { (name: $0.optionIdentifier, description: $0.optionDescription) }
66 | let schema = try DynamicDecisionSchema.makeChoiceSchema(instructions: instructions, options: options)
67 | let response = try await self.respond(to: state, schema: schema)
| `- error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
68 |
69 | let rawString: String
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 | nonisolated(nonsending) final public func respond(to prompt: String, schema: GenerationSchema, includeSchemaInPrompt: Bool = true, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<GeneratedContent>}
| `- note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:70:44: error: 'value' is unavailable in tvOS
68 |
69 | let rawString: String
70 | if let str = try? response.content.value(String.self) {
| `- error: 'value' is unavailable in tvOS
71 | rawString = str
72 | } else if let str = try? response.content.value(String.self, forProperty: "choice") {
FoundationModels.GeneratedContent.value:2:13: note: 'value' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:72:51: error: 'value(_:forProperty:)' is unavailable in tvOS
70 | if let str = try? response.content.value(String.self) {
71 | rawString = str
72 | } else if let str = try? response.content.value(String.self, forProperty: "choice") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
73 | rawString = str
74 | } else {
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DynamicDecisionSchema.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelSession+SystemOne.swift
SwiftCompile normal arm64 Compiling\ MockSystemOneBackend.swift,\ SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MockSystemOneBackend.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneBackend.swift
SwiftCompile normal arm64 Compiling\ ScoreResult.swift,\ SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScoreResult.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneDTOs.swift
SwiftCompile normal arm64 Compiling\ Choice.swift,\ Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift:16:28: error: 'GeneratedContent' is unavailable in tvOS
14 |
15 | /// The raw `GeneratedContent` received from the Foundation Models runtime.
16 | public let rawContent: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
17 |
18 | public init(
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/SystemOneCore/Ergonomics/Choice.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Choice.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Choosable.swift
SwiftCompile normal arm64 Compiling\ ResponseSynthesizer.swift,\ RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift:109:39: error: 'LanguageModelSession' is unavailable in tvOS
107 |
108 | /// Decides the action for a categorical or scored question from a Foundation Models `LanguageModelSession.Response`.
109 | public func decide<T>(_ response: LanguageModelSession.Response<T>, of question: String) -> Decision {
| `- error: 'LanguageModelSession' is unavailable in tvOS
110 | decide(confidence: response.confidence(for: question))
111 | }
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResponseSynthesizer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RoutingPolicy.swift
SwiftCompile normal arm64 Compiling\ Values.swift,\ ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Values.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResponseExtensions.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-10-03 04:20:18.675 xcodebuild[627:3884] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SystemOneCore (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 Compiling\ SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
Building workspace SystemOneFoundationModels with scheme SystemOneFoundationModels-Package
(4 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:
SystemOneFoundationModels: /Users/admin/builder/spi-builder-workspace
resolved source packages: SystemOneFoundationModels
2026-10-03 04:20:24.599 xcodebuild[720:4403] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SystemOneFoundationModels",
"name" : "SystemOneFoundationModels",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "27.0"
},
{
"name" : "macos",
"version" : "27.0"
},
{
"name" : "visionos",
"version" : "27.0"
}
],
"products" : [
{
"name" : "SystemOneCore",
"targets" : [
"SystemOneCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SystemOneFoundationModels",
"targets" : [
"SystemOneCore",
"LayaFoundationModels",
"LayaOnDevice",
"JevFoundationModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LayaFoundationModels",
"targets" : [
"LayaFoundationModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LayaOnDevice",
"targets" : [
"LayaOnDevice"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "JevFoundationModels",
"targets" : [
"JevFoundationModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ticket-triage-demo",
"targets" : [
"TicketTriageDemo"
],
"type" : {
"executable" : null
}
},
{
"name" : "duplicate-article-demo",
"targets" : [
"DuplicateArticleDemo"
],
"type" : {
"executable" : null
}
},
{
"name" : "file-organizer-demo",
"targets" : [
"FileOrganizerDemo"
],
"type" : {
"executable" : null
}
},
{
"name" : "laya-demo",
"targets" : [
"LayaDemo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TicketTriageDemo",
"module_type" : "SwiftTarget",
"name" : "TicketTriageDemo",
"path" : "Examples/TicketTriageDemo",
"product_memberships" : [
"ticket-triage-demo"
],
"sources" : [
"Helpers.swift",
"main.swift"
],
"target_dependencies" : [
"JevFoundationModels"
],
"type" : "executable"
},
{
"c99name" : "SystemOneCoreTests",
"module_type" : "SwiftTarget",
"name" : "SystemOneCoreTests",
"path" : "Tests/SystemOneCoreTests",
"sources" : [
"ErgonomicShortcutTests.swift"
],
"target_dependencies" : [
"SystemOneCore"
],
"type" : "test"
},
{
"c99name" : "SystemOneCore",
"module_type" : "SwiftTarget",
"name" : "SystemOneCore",
"path" : "Sources/SystemOneCore",
"product_memberships" : [
"SystemOneCore",
"SystemOneFoundationModels",
"LayaFoundationModels",
"LayaOnDevice",
"JevFoundationModels",
"ticket-triage-demo",
"duplicate-article-demo",
"file-organizer-demo",
"laya-demo"
],
"sources" : [
"Backend/MockSystemOneBackend.swift",
"Backend/SystemOneBackend.swift",
"Ergonomics/Choice.swift",
"Ergonomics/Choosable.swift",
"Ergonomics/DynamicDecisionSchema.swift",
"Ergonomics/LanguageModelSession+SystemOne.swift",
"Ergonomics/ScoreResult.swift",
"Models/SystemOneDTOs.swift",
"Models/Values.swift",
"Response/ResponseExtensions.swift",
"Response/ResponseSynthesizer.swift",
"Routing/RoutingPolicy.swift",
"Schema/SchemaTranslator.swift",
"SystemOneError.swift",
"SystemOneExecutor.swift",
"SystemOneLanguageModel.swift"
],
"type" : "library"
},
{
"c99name" : "LayaOnDevice",
"module_type" : "SwiftTarget",
"name" : "LayaOnDevice",
"path" : "Sources/LayaOnDevice",
"product_memberships" : [
"SystemOneFoundationModels",
"LayaOnDevice"
],
"sources" : [
"CoreML/LayaCoreMLEngine.swift",
"CoreML/TemperatureCalibration.swift",
"LayaOnDeviceBackend.swift",
"LayaOnDeviceLanguageModel.swift",
"Tokenization/LayaSequenceBuilder.swift",
"Tokenization/LayaTokenizer.swift",
"Tokenization/MMBERTTokenizer.swift",
"Tokenization/ModernBERTTokenizer.swift"
],
"target_dependencies" : [
"SystemOneCore"
],
"type" : "library"
},
{
"c99name" : "LayaFoundationModels",
"module_type" : "SwiftTarget",
"name" : "LayaFoundationModels",
"path" : "Sources/LayaFoundationModels",
"product_memberships" : [
"SystemOneFoundationModels",
"LayaFoundationModels",
"laya-demo"
],
"sources" : [
"LayaEndpoint.swift",
"LayaHTTPBackend.swift",
"LayaLanguageModel.swift"
],
"target_dependencies" : [
"SystemOneCore"
],
"type" : "library"
},
{
"c99name" : "LayaDemo",
"module_type" : "SwiftTarget",
"name" : "LayaDemo",
"path" : "Examples/LayaDemo",
"product_memberships" : [
"laya-demo"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"LayaFoundationModels"
],
"type" : "executable"
},
{
"c99name" : "JevFoundationModelsTests",
"module_type" : "SwiftTarget",
"name" : "JevFoundationModelsTests",
"path" : "Tests/JevFoundationModelsTests",
"sources" : [
"ArticleDeduplicationTests.swift",
"FileOrganizerTests.swift",
"JevFoundationModelsTests.swift",
"LayaFoundationModelsTests.swift",
"LayaOnDeviceTests.swift",
"NutritionScannerTests.swift",
"ProxyTransportTests.swift",
"ResilienceTests.swift",
"SystemOneCoreTests.swift",
"URLSessionTransportTests.swift",
"ValuesAndRoutingTests.swift"
],
"target_dependencies" : [
"JevFoundationModels",
"SystemOneCore",
"LayaFoundationModels",
"LayaOnDevice"
],
"type" : "test"
},
{
"c99name" : "JevFoundationModels",
"module_type" : "SwiftTarget",
"name" : "JevFoundationModels",
"path" : "Sources/JevFoundationModels",
"product_memberships" : [
"SystemOneFoundationModels",
"JevFoundationModels",
"ticket-triage-demo",
"duplicate-article-demo",
"file-organizer-demo"
],
"sources" : [
"Client/JevClient.swift",
"JevAliases.swift",
"JevExecutor.swift",
"JevLanguageModel.swift",
"Transport/JevTransport.swift",
"Transport/ProxyTransport.swift",
"Transport/RetryPolicy.swift"
],
"target_dependencies" : [
"SystemOneCore"
],
"type" : "library"
},
{
"c99name" : "FileOrganizerDemo",
"module_type" : "SwiftTarget",
"name" : "FileOrganizerDemo",
"path" : "Examples/FileOrganizerDemo",
"product_memberships" : [
"file-organizer-demo"
],
"sources" : [
"FileOrganizer.swift",
"FileOrganizerProfile.swift",
"Helpers.swift",
"SampleData.swift",
"main.swift"
],
"target_dependencies" : [
"JevFoundationModels"
],
"type" : "executable"
},
{
"c99name" : "DuplicateArticleDemo",
"module_type" : "SwiftTarget",
"name" : "DuplicateArticleDemo",
"path" : "Examples/DuplicateArticleDemo",
"product_memberships" : [
"duplicate-article-demo"
],
"sources" : [
"Article.swift",
"ArticleDeduplicator.swift",
"Helpers.swift",
"SampleData.swift",
"main.swift"
],
"target_dependencies" : [
"JevFoundationModels"
],
"type" : "executable"
}
],
"tools_version" : "6.1"
}
{
"workspace" : {
"name" : "SystemOneFoundationModels",
"schemes" : [
"duplicate-article-demo",
"file-organizer-demo",
"JevFoundationModels",
"laya-demo",
"LayaFoundationModels",
"LayaOnDevice",
"SystemOneCore",
"SystemOneFoundationModels",
"SystemOneFoundationModels-Package",
"ticket-triage-demo"
]
}
}
2026-10-03 04:20:25.944 xcodebuild[728:4471] [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 SystemOneFoundationModels-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 SystemOneFoundationModels-Package -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
SystemOneFoundationModels: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (13 targets)
Target 'laya-demo-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaFoundationModels' in project 'SystemOneFoundationModels'
Target 'file-organizer-demo-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'JevFoundationModels' in project 'SystemOneFoundationModels'
Target 'duplicate-article-demo-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'JevFoundationModels' in project 'SystemOneFoundationModels'
Target 'ticket-triage-demo-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'JevFoundationModels' in project 'SystemOneFoundationModels'
Target 'JevFoundationModels-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'JevFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'LayaOnDevice-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaOnDevice' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'LayaFoundationModels-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'SystemOneFoundationModels-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaOnDevice' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'JevFoundationModels' in project 'SystemOneFoundationModels'
Target 'JevFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'LayaOnDevice' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'LayaFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'SystemOneCore-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'SystemOneCore' in project 'SystemOneFoundationModels' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
SwiftDriver SystemOneCore normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
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 SystemOneCore -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DJev -DXcode -enable-upcoming-feature StrictConcurrency -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-tvos27.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore_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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Choice.swift,\ Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Choice.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Choosable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift:16:28: error: 'GeneratedContent' is unavailable in tvOS
14 |
15 | /// The raw `GeneratedContent` received from the Foundation Models runtime.
16 | public let rawContent: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
17 |
18 | public init(
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 Compiling\ ScoreResult.swift,\ SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScoreResult.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneDTOs.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SystemOneCore (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift:16:28: error: 'GeneratedContent' is unavailable in tvOS
14 |
15 | /// The raw `GeneratedContent` received from the Foundation Models runtime.
16 | public let rawContent: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
17 |
18 | public init(
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/SystemOneCore/Ergonomics/Choice.swift:22:21: error: 'GeneratedContent' is unavailable in tvOS
20 | confidence: Double,
21 | distribution: [Option: Double] = [:],
22 | rawContent: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
23 | ) {
24 | self.value = value
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:17:17: error: 'GenerationSchema' is unavailable in tvOS
15 | whenTrue: String? = nil,
16 | whenFalse: String? = nil
17 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
18 | var fullInstructions = instructions
19 | if let whenTrue, let whenFalse {
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:52:17: error: 'GenerationSchema' is unavailable in tvOS
50 | instructions: String,
51 | options: [(name: String, description: String?)]
52 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
53 | guard !options.isEmpty else {
54 | throw SystemOneError.invalidSchema("Choice schema requires at least one candidate option.")
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:88:17: error: 'GenerationSchema' is unavailable in tvOS
86 | instructions: String,
87 | levels: [String]
88 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
89 | guard !levels.isEmpty else {
90 | throw SystemOneError.invalidSchema("Score schema requires at least one rubric level.")
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:6:18: error: 'LanguageModelSession' is unavailable in tvOS
4 | // MARK: - LanguageModelSession System One Ergonomic Decision Shortcuts
5 |
6 | public extension LanguageModelSession {
| `- error: 'LanguageModelSession' is unavailable in tvOS
7 | /// Evaluates the probability of truth (0.0 to 1.0) for a statement given context state.
8 | ///
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift:8:28: error: 'GeneratedContent' is unavailable in tvOS
6 | public extension LanguageModelSession.Response {
7 | /// The response metadata emitted by `SystemOneExecutor`, containing model ID, confidence scores, scores, and calibrated probabilities.
8 | var metadata: [String: GeneratedContent] {
| `- error: 'GeneratedContent' is unavailable in tvOS
9 | for entry in transcriptEntries {
10 | if case .response(let r) = entry {
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/SystemOneCore/Response/ResponseExtensions.swift:6:18: error: 'LanguageModelSession' is unavailable in tvOS
4 | // MARK: - LanguageModelSession.Response Extensions for System One Telemetry & Routing
5 |
6 | public extension LanguageModelSession.Response {
| `- error: 'LanguageModelSession' is unavailable in tvOS
7 | /// The response metadata emitted by `SystemOneExecutor`, containing model ID, confidence scores, scores, and calibrated probabilities.
8 | var metadata: [String: GeneratedContent] {
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift:109:39: error: 'LanguageModelSession' is unavailable in tvOS
107 |
108 | /// Decides the action for a categorical or scored question from a Foundation Models `LanguageModelSession.Response`.
109 | public func decide<T>(_ response: LanguageModelSession.Response<T>, of question: String) -> Decision {
| `- error: 'LanguageModelSession' is unavailable in tvOS
110 | decide(confidence: response.confidence(for: question))
111 | }
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift:114:43: error: 'LanguageModelSession' is unavailable in tvOS
112 |
113 | /// Decides the boolean judgment for a question from a Foundation Models `LanguageModelSession.Response`.
114 | public func decideNoul<T>(_ response: LanguageModelSession.Response<T>, of question: String) -> NoulJudgement {
| `- error: 'LanguageModelSession' is unavailable in tvOS
115 | decide(response.typedProbability(for: question))
116 | }
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift:59:37: error: 'GenerationSchema' is unavailable in tvOS
57 |
58 | /// Translates a `GenerationSchema` into a `SchemaTranslation` containing System One questions and structural layout.
59 | public func translate(_ schema: GenerationSchema) throws -> SchemaTranslation {
| `- error: 'GenerationSchema' is unavailable in tvOS
60 | let schemaData: Data
61 | do {
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift:76:48: error: 'GenerationSchema' is unavailable in tvOS
74 |
75 | /// Convenience method to translate a `GenerationSchema` directly to System One questions dictionary.
76 | public func translateToQuestions(_ schema: GenerationSchema) throws -> [String: SystemOneQuestion] {
| `- error: 'GenerationSchema' is unavailable in tvOS
77 | try translate(schema).questions
78 | }
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:19:68: error: 'Transcript' is unavailable in tvOS
17 | }
18 |
19 | public func prewarm(model: SystemOneLanguageModel, transcript: Transcript) {
| `- error: 'Transcript' is unavailable in tvOS
20 | // System One models with local weights or remote connections may prewarm as needed.
21 | }
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
| `- note: 'Transcript' has been explicitly marked unavailable here
4 | public init(entries: some Sequence<Transcript.Entry> = [])
5 | public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:24:21: error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
22 |
23 | public func respond(
24 | to request: LanguageModelExecutorGenerationRequest,
| `- error: 'LanguageModelExecutorGenerationRequest' is unavailable in tvOS
25 | model: SystemOneLanguageModel,
26 | streamingInto channel: LanguageModelExecutorGenerationChannel
FoundationModels.LanguageModelExecutorGenerationRequest:3:15: note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelExecutorGenerationRequest : Sendable {
| `- note: 'LanguageModelExecutorGenerationRequest' has been explicitly marked unavailable here
4 | public var id: UUID
5 | public var transcript: Transcript
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:26:32: error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
24 | to request: LanguageModelExecutorGenerationRequest,
25 | model: SystemOneLanguageModel,
26 | streamingInto channel: LanguageModelExecutorGenerationChannel
| `- error: 'LanguageModelExecutorGenerationChannel' is unavailable in tvOS
27 | ) async throws {
28 | guard let schema = request.schema else {
FoundationModels.LanguageModelExecutorGenerationChannel:3:15: note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelExecutorGenerationChannel : AsyncSequence, Sendable {
| `- note: 'LanguageModelExecutorGenerationChannel' has been explicitly marked unavailable here
4 | public init()
5 | @available(macOS 27.0, iOS 27.0, watchOS 27.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:97:47: error: 'Transcript' is unavailable in tvOS
95 | }
96 |
97 | public func extractState(from transcript: Transcript) -> String {
| `- error: 'Transcript' is unavailable in tvOS
98 | var parts: [String] = []
99 |
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
| `- note: 'Transcript' has been explicitly marked unavailable here
4 | public init(entries: some Sequence<Transcript.Entry> = [])
5 | public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift:5:39: error: 'LanguageModelExecutor' is unavailable in tvOS
3 |
4 | /// An executor bridging `LanguageModelSession` requests to any `SystemOneBackend`.
5 | public final class SystemOneExecutor: LanguageModelExecutor, Sendable {
| `- error: 'LanguageModelExecutor' is unavailable in tvOS
6 | public typealias Model = SystemOneLanguageModel
7 | public typealias Configuration = SystemOneLanguageModel.Configuration
FoundationModels.LanguageModelExecutor:3:17: note: 'LanguageModelExecutor' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol LanguageModelExecutor : Sendable {
| `- note: 'LanguageModelExecutor' has been explicitly marked unavailable here
4 | associatedtype Configuration : Hashable, Sendable
5 | associatedtype Model : LanguageModel
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:32:30: error: 'LanguageModelCapabilities' is unavailable in tvOS
30 | public var executorConfiguration: Configuration
31 |
32 | public var capabilities: LanguageModelCapabilities {
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
33 | LanguageModelCapabilities([.guidedGeneration])
34 | }
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
| `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 | public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:6:39: error: 'LanguageModel' is unavailable in tvOS
4 |
5 | /// An Apple Foundation Models provider for System One decision models.
6 | public struct SystemOneLanguageModel: LanguageModel, Sendable {
| `- error: 'LanguageModel' is unavailable in tvOS
7 | public struct Configuration: Hashable, Sendable {
8 | public var backend: AnySystemOneBackend
FoundationModels.LanguageModel:3:17: note: 'LanguageModel' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol LanguageModel : Sendable {
| `- note: 'LanguageModel' has been explicitly marked unavailable here
4 | associatedtype Executor : LanguageModelExecutor where Self == Self.Executor.Model
5 | var capabilities: LanguageModelCapabilities { get }
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift -target arm64-apple-tvos27.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Jev -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency -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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SystemOneCore -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.abi.json
SwiftCompile normal arm64 (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MockSystemOneBackend.swift,\ SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MockSystemOneBackend.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneBackend.swift
SwiftCompile normal arm64 Compiling\ SystemOneLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneLanguageModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:32:30: error: 'LanguageModelCapabilities' is unavailable in tvOS
30 | public var executorConfiguration: Configuration
31 |
32 | public var capabilities: LanguageModelCapabilities {
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
33 | LanguageModelCapabilities([.guidedGeneration])
34 | }
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
| `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 | public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:6:39: error: 'LanguageModel' is unavailable in tvOS
4 |
5 | /// An Apple Foundation Models provider for System One decision models.
6 | public struct SystemOneLanguageModel: LanguageModel, Sendable {
| `- error: 'LanguageModel' is unavailable in tvOS
7 | public struct Configuration: Hashable, Sendable {
8 | public var backend: AnySystemOneBackend
FoundationModels.LanguageModel:3:17: note: 'LanguageModel' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol LanguageModel : Sendable {
| `- note: 'LanguageModel' has been explicitly marked unavailable here
4 | associatedtype Executor : LanguageModelExecutor where Self == Self.Executor.Model
5 | var capabilities: LanguageModelCapabilities { get }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:33:9: error: 'LanguageModelCapabilities' is unavailable in tvOS
31 |
32 | public var capabilities: LanguageModelCapabilities {
33 | LanguageModelCapabilities([.guidedGeneration])
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
34 | }
35 |
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
| `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 | public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
SwiftCompile normal arm64 Compiling\ SystemOneError.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneError.swift
SwiftCompile normal arm64 Compiling\ Values.swift,\ ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift:8:28: error: 'GeneratedContent' is unavailable in tvOS
6 | public extension LanguageModelSession.Response {
7 | /// The response metadata emitted by `SystemOneExecutor`, containing model ID, confidence scores, scores, and calibrated probabilities.
8 | var metadata: [String: GeneratedContent] {
| `- error: 'GeneratedContent' is unavailable in tvOS
9 | for entry in transcriptEntries {
10 | if case .response(let r) = entry {
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/SystemOneCore/Response/ResponseExtensions.swift:6:18: error: 'LanguageModelSession' is unavailable in tvOS
4 | // MARK: - LanguageModelSession.Response Extensions for System One Telemetry & Routing
5 |
6 | public extension LanguageModelSession.Response {
| `- error: 'LanguageModelSession' is unavailable in tvOS
7 | /// The response metadata emitted by `SystemOneExecutor`, containing model ID, confidence scores, scores, and calibrated probabilities.
8 | var metadata: [String: GeneratedContent] {
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Values.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResponseExtensions.swift
SwiftCompile normal arm64 Compiling\ SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift:59:37: error: 'GenerationSchema' is unavailable in tvOS
57 |
58 | /// Translates a `GenerationSchema` into a `SchemaTranslation` containing System One questions and structural layout.
59 | public func translate(_ schema: GenerationSchema) throws -> SchemaTranslation {
| `- error: 'GenerationSchema' is unavailable in tvOS
60 | let schemaData: Data
61 | do {
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift:76:48: error: 'GenerationSchema' is unavailable in tvOS
74 |
75 | /// Convenience method to translate a `GenerationSchema` directly to System One questions dictionary.
76 | public func translateToQuestions(_ schema: GenerationSchema) throws -> [String: SystemOneQuestion] {
| `- error: 'GenerationSchema' is unavailable in tvOS
77 | try translate(schema).questions
78 | }
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/SystemOneCore/Schema/SchemaTranslator.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SchemaTranslator.swift
SwiftCompile normal arm64 Compiling\ ResponseSynthesizer.swift,\ RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift:109:39: error: 'LanguageModelSession' is unavailable in tvOS
107 |
108 | /// Decides the action for a categorical or scored question from a Foundation Models `LanguageModelSession.Response`.
109 | public func decide<T>(_ response: LanguageModelSession.Response<T>, of question: String) -> Decision {
| `- error: 'LanguageModelSession' is unavailable in tvOS
110 | decide(confidence: response.confidence(for: question))
111 | }
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResponseSynthesizer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RoutingPolicy.swift
SwiftCompile normal arm64 Compiling\ DynamicDecisionSchema.swift,\ LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:17:17: error: 'GenerationSchema' is unavailable in tvOS
15 | whenTrue: String? = nil,
16 | whenFalse: String? = nil
17 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
18 | var fullInstructions = instructions
19 | if let whenTrue, let whenFalse {
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:52:17: error: 'GenerationSchema' is unavailable in tvOS
50 | instructions: String,
51 | options: [(name: String, description: String?)]
52 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
53 | guard !options.isEmpty else {
54 | throw SystemOneError.invalidSchema("Choice schema requires at least one candidate option.")
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:88:17: error: 'GenerationSchema' is unavailable in tvOS
86 | instructions: String,
87 | levels: [String]
88 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
89 | guard !levels.isEmpty else {
90 | throw SystemOneError.invalidSchema("Score schema requires at least one rubric level.")
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:27:31: error: 'DynamicGenerationSchema' is unavailable in tvOS
25 | }
26 |
27 | let booleanProperty = DynamicGenerationSchema.Property(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:27:55: error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
25 | }
26 |
27 | let booleanProperty = DynamicGenerationSchema.Property(
| `- error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema.Property.init:3:8: note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | struct Property {
3 | public init(name: String, description: String? = nil, schema: DynamicGenerationSchema, isOptional: Bool = false) }
| `- note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:30:21: error: 'DynamicGenerationSchema' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
30 | schema: DynamicGenerationSchema(type: Bool.self, guides: []),
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
31 | isOptional: false
32 | )
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:30:21: error: 'init(type:guides:)' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
30 | schema: DynamicGenerationSchema(type: Bool.self, guides: []),
| `- error: 'init(type:guides:)' is unavailable in tvOS
31 | isOptional: false
32 | )
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
| `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:34:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
32 | )
33 |
34 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
35 | name: "BinaryDecision",
36 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:34:20: error: 'init(name:description:properties:)' is unavailable in tvOS
32 | )
33 |
34 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:properties:)' is unavailable in tvOS
35 | name: "BinaryDecision",
36 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:properties:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, properties: [DynamicGenerationSchema.Property])}
| `- note: 'init(name:description:properties:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:40:20: error: 'GenerationSchema' is unavailable in tvOS
38 | )
39 |
40 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
41 | }
42 |
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:40:20: error: 'init(root:dependencies:)' is unavailable in tvOS
38 | )
39 |
40 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'init(root:dependencies:)' is unavailable in tvOS
41 | }
42 |
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
| `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:70:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
68 | }
69 |
70 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
71 | name: "Choice",
72 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:70:20: error: 'init(name:description:anyOf:)' is unavailable in tvOS
68 | }
69 |
70 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
71 | name: "Choice",
72 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, anyOf choices: [String])}
| `- note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:76:20: error: 'GenerationSchema' is unavailable in tvOS
74 | )
75 |
76 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
77 | }
78 |
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:76:20: error: 'init(root:dependencies:)' is unavailable in tvOS
74 | )
75 |
76 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'init(root:dependencies:)' is unavailable in tvOS
77 | }
78 |
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
| `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:25: error: 'DynamicGenerationSchema' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:25: error: 'init(type:guides:)' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'init(type:guides:)' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
| `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:75: error: 'range' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'range' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
FoundationModels.GenerationGuide.range:2:20: note: 'range' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func range(_ range: ClosedRange<Int>) -> GenerationGuide<Int>}
| `- note: 'range' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:100:29: error: 'DynamicGenerationSchema' is unavailable in tvOS
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
101 | name: "score",
102 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:100:53: error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
| `- error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
101 | name: "score",
102 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema.Property.init:3:8: note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | struct Property {
3 | public init(name: String, description: String? = nil, schema: DynamicGenerationSchema, isOptional: Bool = false) }
| `- note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:107:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
105 | )
106 |
107 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
108 | name: "ScoreDecision",
109 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
| `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:107:20: error: 'init(name:description:properties:)' is unavailable in tvOS
105 | )
106 |
107 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:properties:)' is unavailable in tvOS
108 | name: "ScoreDecision",
109 | description: fullInstructions,
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:properties:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, properties: [DynamicGenerationSchema.Property])}
| `- note: 'init(name:description:properties:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:113:20: error: 'GenerationSchema' is unavailable in tvOS
111 | )
112 |
113 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
114 | }
115 | }
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
| `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:113:20: error: 'init(root:dependencies:)' is unavailable in tvOS
111 | )
112 |
113 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'init(root:dependencies:)' is unavailable in tvOS
114 | }
115 | }
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
| `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:6:18: error: 'LanguageModelSession' is unavailable in tvOS
4 | // MARK: - LanguageModelSession System One Ergonomic Decision Shortcuts
5 |
6 | public extension LanguageModelSession {
| `- error: 'LanguageModelSession' is unavailable in tvOS
7 | /// Evaluates the probability of truth (0.0 to 1.0) for a statement given context state.
8 | ///
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
| `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 | final public var transcript: Transcript { get set }
5 | @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:25:39: error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
23 | )
24 |
25 | let response = try await self.respond(to: state, schema: schema)
| `- error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
26 |
27 | if let prob = response.probability(for: "decision") {
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 | nonisolated(nonsending) final public func respond(to prompt: String, schema: GenerationSchema, includeSchemaInPrompt: Bool = true, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<GeneratedContent>}
| `- note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:36:48: error: 'value(_:forProperty:)' is unavailable in tvOS
34 | return trueProb
35 | }
36 | if let boolVal = try? response.content.value(Bool.self, forProperty: "decision") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
37 | return boolVal ? 1.0 : 0.0
38 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:39:48: error: 'value(_:forProperty:)' is unavailable in tvOS
37 | return boolVal ? 1.0 : 0.0
38 | }
39 | if let boolVal = try? response.content.value(Bool.self, forProperty: "root") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
40 | return boolVal ? 1.0 : 0.0
41 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:42:48: error: 'value' is unavailable in tvOS
40 | return boolVal ? 1.0 : 0.0
41 | }
42 | if let boolVal = try? response.content.value(Bool.self) {
| `- error: 'value' is unavailable in tvOS
43 | return boolVal ? 1.0 : 0.0
44 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:67:39: error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
65 | let options = Option.allCases.map { (name: $0.optionIdentifier, description: $0.optionDescription) }
66 | let schema = try DynamicDecisionSchema.makeChoiceSchema(instructions: instructions, options: options)
67 | let response = try await self.respond(to: state, schema: schema)
| `- error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
68 |
69 | let rawString: String
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 | nonisolated(nonsending) final public func respond(to prompt: String, schema: GenerationSchema, includeSchemaInPrompt: Bool = true, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<GeneratedContent>}
| `- note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:70:44: error: 'value' is unavailable in tvOS
68 |
69 | let rawString: String
70 | if let str = try? response.content.value(String.self) {
| `- error: 'value' is unavailable in tvOS
71 | rawString = str
72 | } else if let str = try? response.content.value(String.self, forProperty: "choice") {
FoundationModels.GeneratedContent.value:2:13: note: 'value' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:72:51: error: 'value(_:forProperty:)' is unavailable in tvOS
70 | if let str = try? response.content.value(String.self) {
71 | rawString = str
72 | } else if let str = try? response.content.value(String.self, forProperty: "choice") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
73 | rawString = str
74 | } else {
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:75:42: error: 'jsonString' is unavailable in tvOS
73 | rawString = str
74 | } else {
75 | rawString = response.content.jsonString.trimmingCharacters(in: CharacterSet(charactersIn: "\" \t\n\r"))
| `- error: 'jsonString' is unavailable in tvOS
76 | }
77 |
FoundationModels.GeneratedContent.jsonString:2:12: note: 'jsonString' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public var jsonString: String { get }}
| `- note: 'jsonString' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:125:39: error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
123 | let schemaOptions = options.map { (name: $0, description: nil as String?) }
124 | let schema = try DynamicDecisionSchema.makeChoiceSchema(instructions: instructions, options: schemaOptions)
125 | let response = try await self.respond(to: state, schema: schema)
| `- error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
126 |
127 | let rawString: String
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 | nonisolated(nonsending) final public func respond(to prompt: String, schema: GenerationSchema, includeSchemaInPrompt: Bool = true, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<GeneratedContent>}
| `- note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:128:44: error: 'value' is unavailable in tvOS
126 |
127 | let rawString: String
128 | if let str = try? response.content.value(String.self) {
| `- error: 'value' is unavailable in tvOS
129 | rawString = str
130 | } else if let str = try? response.content.value(String.self, forProperty: "choice") {
FoundationModels.GeneratedContent.value:2:13: note: 'value' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value' has been explicitly marked unavailable here
3 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DynamicDecisionSchema.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelSession+SystemOne.swift
SwiftCompile normal arm64 Compiling\ SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneExecutor.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-10-03 04:20:27.060 xcodebuild[730:4504] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ SystemOneCore (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
Building workspace SystemOneFoundationModels with scheme SystemOneFoundationModels-Package
(3 failures)
BUILD FAILURE 6.4 tvOS