Build Information
Failed to build ClaudeCodeSDK, reference 1.2.4 (f626d1), with Swift 6.1 for tvOS using Xcode 16.3 on 27 Dec 2025 14:26:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ClaudeCodeSDK-Package -destination generic/platform=tvOSBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jamesrochabrun/ClaudeCodeSDK.git
Reference: 1.2.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jamesrochabrun/ClaudeCodeSDK
* tag 1.2.4 -> FETCH_HEAD
HEAD is now at f626d1d Add CLI parity with 21 new flags from Claude Code Agent SDK (#30)
Cloned https://github.com/jamesrochabrun/ClaudeCodeSDK.git
Revision (git rev-parse @):
f626d1d1eab3bf43a1eef2f70b2a493903f7e5e8
SUCCESS checkout https://github.com/jamesrochabrun/ClaudeCodeSDK.git at 1.2.4
========================================
Build
========================================
Selected platform: tvOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/jamesrochabrun/ClaudeCodeSDK.git
https://github.com/jamesrochabrun/ClaudeCodeSDK.git
{
"dependencies" : [
{
"identity" : "swiftanthropic",
"requirement" : {
"exact" : [
"2.2.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/jamesrochabrun/SwiftAnthropic"
}
],
"manifest_display_name" : "ClaudeCodeSDK",
"name" : "ClaudeCodeSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ClaudeCodeSDK",
"targets" : [
"ClaudeCodeSDK"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "QuickTest",
"targets" : [
"QuickTest"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "QuickTest",
"module_type" : "SwiftTarget",
"name" : "QuickTest",
"path" : "Sources/QuickTest",
"product_memberships" : [
"QuickTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ClaudeCodeSDK"
],
"type" : "executable"
},
{
"c99name" : "ClaudeCodeSDKTests",
"module_type" : "SwiftTarget",
"name" : "ClaudeCodeSDKTests",
"path" : "Tests/ClaudeCodeSDKTests",
"sources" : [
"BackendConfigurationTests.swift",
"BackendTests.swift",
"BasicClientTests.swift",
"CancellationTests.swift",
"ClaudeCodeSDKTests.swift",
"ErrorHandlingTests.swift",
"MCPConfigurationTests.swift",
"NodePathDetectorTests.swift",
"OptionsTests.swift",
"OutputFormatTests.swift",
"ProcessLaunchTests.swift",
"RateLimitingTests.swift",
"RetryLogicTests.swift",
"SDKWrapperTests.swift",
"ShellEscapingTests.swift"
],
"target_dependencies" : [
"ClaudeCodeSDK"
],
"type" : "test"
},
{
"c99name" : "ClaudeCodeSDK",
"module_type" : "SwiftTarget",
"name" : "ClaudeCodeSDK",
"path" : "Sources/ClaudeCodeSDK",
"product_dependencies" : [
"SwiftAnthropic"
],
"product_memberships" : [
"ClaudeCodeSDK",
"QuickTest"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ClaudeCodeSDK/Resources/sdk-wrapper.mjs",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"API/AbortController.swift",
"API/ApiKeySource.swift",
"API/AssistantMessage.swift",
"API/ClaudeCode.swift",
"API/ClaudeCodeConfiguration.swift",
"API/ClaudeCodeOptions.swift",
"API/ClaudeCodeOutputFormat.swift",
"API/ClaudeCodeResult.swift",
"API/ConfigScope.swift",
"API/ExecutedCommandInfo.swift",
"API/InitSystemMessage.swift",
"API/InputFormat.swift",
"API/McpServerConfig.swift",
"API/PermissionMode.swift",
"API/ResponseChunk.swift",
"API/ResultMessage.swift",
"API/SessionInfo.swift",
"API/SettingSource.swift",
"API/SubagentDefinition.swift",
"API/UserMessage.swift",
"Backend/AgentSDKBackend.swift",
"Backend/BackendFactory.swift",
"Backend/ClaudeCodeBackend.swift",
"Backend/HeadlessBackend.swift",
"ClaudeCodeSDK.swift",
"Client/ClaudeCodeClient.swift",
"Client/ClaudeCodeError.swift",
"Examples/ErrorHandlingExample.swift",
"Storage/ClaudeNativeSessionStorage.swift",
"Storage/ClaudeSessionModels.swift",
"Storage/ClaudeSessionProtocol.swift",
"Utilities/MCPToolFormatter.swift",
"Utilities/NodePathDetector.swift",
"Utilities/NvmPathDetector.swift",
"Utilities/RateLimiter.swift",
"Utilities/RetryPolicy.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Fetching from https://github.com/jamesrochabrun/SwiftAnthropic
Fetching from https://github.com/swift-server/async-http-client.git (cached)
Fetching from https://github.com/apple/swift-distributed-tracing.git
Fetching from https://github.com/apple/swift-nio-transport-services.git (cached)
Fetching from https://github.com/apple/swift-atomics.git (cached)
Fetching from https://github.com/apple/swift-log.git (cached)
Fetching from https://github.com/apple/swift-algorithms.git (cached)
Fetching from https://github.com/apple/swift-nio-extras.git (cached)
Fetching from https://github.com/apple/swift-nio-http2.git (cached)
Fetching from https://github.com/apple/swift-nio-ssl.git (cached)
Fetching from https://github.com/apple/swift-nio.git (cached)
Fetching from https://github.com/apple/swift-service-context.git
Fetching from https://github.com/apple/swift-numerics.git (cached)
Fetching from https://github.com/apple/swift-async-algorithms.git
Fetching from https://github.com/swift-server/swift-service-lifecycle.git
Fetching from https://github.com/apple/swift-certificates.git
Fetching from https://github.com/apple/swift-http-types.git (cached)
Fetching from https://github.com/apple/swift-asn1.git (cached)
Fetching from https://github.com/apple/swift-http-structured-headers.git (cached)
Fetching from https://github.com/apple/swift-collections.git (cached)
Fetching from https://github.com/apple/swift-crypto.git (cached)
Fetching from https://github.com/apple/swift-system.git (cached)
Creating working copy of package ‘swift-algorithms’
Checking out 1.2.1 of package ‘swift-algorithms’
Creating working copy of package ‘swift-distributed-tracing’
Checking out 1.3.1 of package ‘swift-distributed-tracing’
Creating working copy of package ‘swift-nio-extras’
Checking out 1.31.2 of package ‘swift-nio-extras’
Creating working copy of package ‘swift-async-algorithms’
Checking out 1.1.1 of package ‘swift-async-algorithms’
Creating working copy of package ‘swift-nio’
Checking out 2.92.0 of package ‘swift-nio’
Creating working copy of package ‘swift-nio-http2’
Checking out 1.39.0 of package ‘swift-nio-http2’
Creating working copy of package ‘swift-http-structured-headers’
Checking out 1.6.0 of package ‘swift-http-structured-headers’
Creating working copy of package ‘swift-numerics’
Checking out 1.1.1 of package ‘swift-numerics’
Creating working copy of package ‘swift-crypto’
Checking out 4.2.0 of package ‘swift-crypto’
Creating working copy of package ‘async-http-client’
Checking out 1.30.2 of package ‘async-http-client’
Creating working copy of package ‘swift-log’
Checking out 1.8.0 of package ‘swift-log’
Creating working copy of package ‘swift-certificates’
Checking out 1.17.0 of package ‘swift-certificates’
Creating working copy of package ‘swift-nio-ssl’
Checking out 2.36.0 of package ‘swift-nio-ssl’
Creating working copy of package ‘swift-asn1’
Checking out 1.5.1 of package ‘swift-asn1’
Creating working copy of package ‘swift-system’
Checking out 1.6.3 of package ‘swift-system’
Creating working copy of package ‘swift-service-lifecycle’
Checking out 2.9.1 of package ‘swift-service-lifecycle’
Creating working copy of package ‘swift-nio-transport-services’
Checking out 1.26.0 of package ‘swift-nio-transport-services’
Creating working copy of package ‘swift-atomics’
Checking out 1.3.0 of package ‘swift-atomics’
Creating working copy of package ‘swift-http-types’
Checking out 1.5.1 of package ‘swift-http-types’
Creating working copy of package ‘SwiftAnthropic’
Checking out 2.2.0 of package ‘SwiftAnthropic’
Creating working copy of package ‘swift-service-context’
Checking out 1.2.1 of package ‘swift-service-context’
Creating working copy of package ‘swift-collections’
Checking out 1.3.0 of package ‘swift-collections’
Resolve Package Graph
Resolved source packages:
swift-http-types: https://github.com/apple/swift-http-types.git @ 1.5.1
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
swift-nio: https://github.com/apple/swift-nio.git @ 2.92.0
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
swift-log: https://github.com/apple/swift-log.git @ 1.8.0
swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
swift-system: https://github.com/apple/swift-system.git @ 1.6.3
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.0
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.2
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.2
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
resolved source packages: swift-http-types, swift-distributed-tracing, swift-nio, swift-async-algorithms, swift-log, swift-collections, swift-nio-ssl, swift-atomics, swift-nio-http2, swift-system, swift-asn1, ClaudeCodeSDK, swift-certificates, swift-service-lifecycle, swift-service-context, async-http-client, swift-crypto, swift-numerics, SwiftAnthropic, swift-nio-transport-services, swift-algorithms, swift-nio-extras, swift-http-structured-headers
{
"dependencies" : [
{
"identity" : "swiftanthropic",
"requirement" : {
"exact" : [
"2.2.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/jamesrochabrun/SwiftAnthropic"
}
],
"manifest_display_name" : "ClaudeCodeSDK",
"name" : "ClaudeCodeSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ClaudeCodeSDK",
"targets" : [
"ClaudeCodeSDK"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "QuickTest",
"targets" : [
"QuickTest"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "QuickTest",
"module_type" : "SwiftTarget",
"name" : "QuickTest",
"path" : "Sources/QuickTest",
"product_memberships" : [
"QuickTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ClaudeCodeSDK"
],
"type" : "executable"
},
{
"c99name" : "ClaudeCodeSDKTests",
"module_type" : "SwiftTarget",
"name" : "ClaudeCodeSDKTests",
"path" : "Tests/ClaudeCodeSDKTests",
"sources" : [
"BackendConfigurationTests.swift",
"BackendTests.swift",
"BasicClientTests.swift",
"CancellationTests.swift",
"ClaudeCodeSDKTests.swift",
"ErrorHandlingTests.swift",
"MCPConfigurationTests.swift",
"NodePathDetectorTests.swift",
"OptionsTests.swift",
"OutputFormatTests.swift",
"ProcessLaunchTests.swift",
"RateLimitingTests.swift",
"RetryLogicTests.swift",
"SDKWrapperTests.swift",
"ShellEscapingTests.swift"
],
"target_dependencies" : [
"ClaudeCodeSDK"
],
"type" : "test"
},
{
"c99name" : "ClaudeCodeSDK",
"module_type" : "SwiftTarget",
"name" : "ClaudeCodeSDK",
"path" : "Sources/ClaudeCodeSDK",
"product_dependencies" : [
"SwiftAnthropic"
],
"product_memberships" : [
"ClaudeCodeSDK",
"QuickTest"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ClaudeCodeSDK/Resources/sdk-wrapper.mjs",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"API/AbortController.swift",
"API/ApiKeySource.swift",
"API/AssistantMessage.swift",
"API/ClaudeCode.swift",
"API/ClaudeCodeConfiguration.swift",
"API/ClaudeCodeOptions.swift",
"API/ClaudeCodeOutputFormat.swift",
"API/ClaudeCodeResult.swift",
"API/ConfigScope.swift",
"API/ExecutedCommandInfo.swift",
"API/InitSystemMessage.swift",
"API/InputFormat.swift",
"API/McpServerConfig.swift",
"API/PermissionMode.swift",
"API/ResponseChunk.swift",
"API/ResultMessage.swift",
"API/SessionInfo.swift",
"API/SettingSource.swift",
"API/SubagentDefinition.swift",
"API/UserMessage.swift",
"Backend/AgentSDKBackend.swift",
"Backend/BackendFactory.swift",
"Backend/ClaudeCodeBackend.swift",
"Backend/HeadlessBackend.swift",
"ClaudeCodeSDK.swift",
"Client/ClaudeCodeClient.swift",
"Client/ClaudeCodeError.swift",
"Examples/ErrorHandlingExample.swift",
"Storage/ClaudeNativeSessionStorage.swift",
"Storage/ClaudeSessionModels.swift",
"Storage/ClaudeSessionProtocol.swift",
"Utilities/MCPToolFormatter.swift",
"Utilities/NodePathDetector.swift",
"Utilities/NvmPathDetector.swift",
"Utilities/RateLimiter.swift",
"Utilities/RetryPolicy.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"ClaudeCodeSDK",
"ClaudeCodeSDK-Package",
"QuickTest"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ClaudeCodeSDK-Package -destination generic/platform=tvOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats
Command line invocation:
/Applications/Xcode-16.3.0.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 ClaudeCodeSDK-Package -destination generic/platform=tvOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats"
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
swift-system: https://github.com/apple/swift-system.git @ 1.6.3
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-log: https://github.com/apple/swift-log.git @ 1.8.0
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
swift-http-types: https://github.com/apple/swift-http-types.git @ 1.5.1
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.2
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.2
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
swift-nio: https://github.com/apple/swift-nio.git @ 2.92.0
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.0
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
Target 'QuickTest' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'SwiftAnthropic' in project 'SwiftAnthropic'
Target 'ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'ClaudeCodeSDK_ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'SwiftAnthropic' in project 'SwiftAnthropic'
Target 'ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'ClaudeCodeSDK_ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'SwiftAnthropic' in project 'SwiftAnthropic'
Target 'SwiftAnthropic' in project 'SwiftAnthropic'
➜ Explicit dependency on target 'SwiftAnthropic' in project 'SwiftAnthropic'
Target 'SwiftAnthropic' in project 'SwiftAnthropic' (no dependencies)
Target 'ClaudeCodeSDK_ClaudeCodeSDK' in project 'ClaudeCodeSDK' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 0957ec98e23a94b26cd8e3a58a1fc10d
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/0957ec98e23a94b26cd8e3a58a1fc10d.xcbuilddata
error: The package product 'SwiftAnthropic' requires minimum platform version 15.0 for the tvOS platform, but this target supports 12.0 (in target 'QuickTest' from project 'ClaudeCodeSDK')
error: The package product 'SwiftAnthropic' requires minimum platform version 15.0 for the tvOS platform, but this target supports 12.0 (in target 'ClaudeCodeSDK' from project 'ClaudeCodeSDK')
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme ClaudeCodeSDK-Package
(1 failure)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.2
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
swift-http-types: https://github.com/apple/swift-http-types.git @ 1.5.1
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
swift-system: https://github.com/apple/swift-system.git @ 1.6.3
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-nio: https://github.com/apple/swift-nio.git @ 2.92.0
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
swift-log: https://github.com/apple/swift-log.git @ 1.8.0
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.0
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.2
swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
resolved source packages: ClaudeCodeSDK, swift-nio-extras, swift-nio-ssl, swift-service-context, swift-crypto, swift-async-algorithms, swift-http-types, SwiftAnthropic, swift-distributed-tracing, swift-system, swift-nio-http2, swift-atomics, swift-nio, swift-service-lifecycle, swift-log, swift-numerics, swift-nio-transport-services, swift-asn1, swift-certificates, async-http-client, swift-collections, swift-algorithms, swift-http-structured-headers
{
"dependencies" : [
{
"identity" : "swiftanthropic",
"requirement" : {
"exact" : [
"2.2.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/jamesrochabrun/SwiftAnthropic"
}
],
"manifest_display_name" : "ClaudeCodeSDK",
"name" : "ClaudeCodeSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ClaudeCodeSDK",
"targets" : [
"ClaudeCodeSDK"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "QuickTest",
"targets" : [
"QuickTest"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "QuickTest",
"module_type" : "SwiftTarget",
"name" : "QuickTest",
"path" : "Sources/QuickTest",
"product_memberships" : [
"QuickTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ClaudeCodeSDK"
],
"type" : "executable"
},
{
"c99name" : "ClaudeCodeSDKTests",
"module_type" : "SwiftTarget",
"name" : "ClaudeCodeSDKTests",
"path" : "Tests/ClaudeCodeSDKTests",
"sources" : [
"BackendConfigurationTests.swift",
"BackendTests.swift",
"BasicClientTests.swift",
"CancellationTests.swift",
"ClaudeCodeSDKTests.swift",
"ErrorHandlingTests.swift",
"MCPConfigurationTests.swift",
"NodePathDetectorTests.swift",
"OptionsTests.swift",
"OutputFormatTests.swift",
"ProcessLaunchTests.swift",
"RateLimitingTests.swift",
"RetryLogicTests.swift",
"SDKWrapperTests.swift",
"ShellEscapingTests.swift"
],
"target_dependencies" : [
"ClaudeCodeSDK"
],
"type" : "test"
},
{
"c99name" : "ClaudeCodeSDK",
"module_type" : "SwiftTarget",
"name" : "ClaudeCodeSDK",
"path" : "Sources/ClaudeCodeSDK",
"product_dependencies" : [
"SwiftAnthropic"
],
"product_memberships" : [
"ClaudeCodeSDK",
"QuickTest"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ClaudeCodeSDK/Resources/sdk-wrapper.mjs",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"API/AbortController.swift",
"API/ApiKeySource.swift",
"API/AssistantMessage.swift",
"API/ClaudeCode.swift",
"API/ClaudeCodeConfiguration.swift",
"API/ClaudeCodeOptions.swift",
"API/ClaudeCodeOutputFormat.swift",
"API/ClaudeCodeResult.swift",
"API/ConfigScope.swift",
"API/ExecutedCommandInfo.swift",
"API/InitSystemMessage.swift",
"API/InputFormat.swift",
"API/McpServerConfig.swift",
"API/PermissionMode.swift",
"API/ResponseChunk.swift",
"API/ResultMessage.swift",
"API/SessionInfo.swift",
"API/SettingSource.swift",
"API/SubagentDefinition.swift",
"API/UserMessage.swift",
"Backend/AgentSDKBackend.swift",
"Backend/BackendFactory.swift",
"Backend/ClaudeCodeBackend.swift",
"Backend/HeadlessBackend.swift",
"ClaudeCodeSDK.swift",
"Client/ClaudeCodeClient.swift",
"Client/ClaudeCodeError.swift",
"Examples/ErrorHandlingExample.swift",
"Storage/ClaudeNativeSessionStorage.swift",
"Storage/ClaudeSessionModels.swift",
"Storage/ClaudeSessionProtocol.swift",
"Utilities/MCPToolFormatter.swift",
"Utilities/NodePathDetector.swift",
"Utilities/NvmPathDetector.swift",
"Utilities/RateLimiter.swift",
"Utilities/RetryPolicy.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"ClaudeCodeSDK",
"ClaudeCodeSDK-Package",
"QuickTest"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ClaudeCodeSDK-Package -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-16.3.0.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 ClaudeCodeSDK-Package -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
swift-http-types: https://github.com/apple/swift-http-types.git @ 1.5.1
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.2
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.0
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-nio: https://github.com/apple/swift-nio.git @ 2.92.0
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.2
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-system: https://github.com/apple/swift-system.git @ 1.6.3
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
swift-log: https://github.com/apple/swift-log.git @ 1.8.0
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
Target 'QuickTest' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'SwiftAnthropic' in project 'SwiftAnthropic'
Target 'ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'ClaudeCodeSDK_ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'SwiftAnthropic' in project 'SwiftAnthropic'
Target 'ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'ClaudeCodeSDK_ClaudeCodeSDK' in project 'ClaudeCodeSDK'
➜ Explicit dependency on target 'SwiftAnthropic' in project 'SwiftAnthropic'
Target 'SwiftAnthropic' in project 'SwiftAnthropic'
➜ Explicit dependency on target 'SwiftAnthropic' in project 'SwiftAnthropic'
Target 'SwiftAnthropic' in project 'SwiftAnthropic' (no dependencies)
Target 'ClaudeCodeSDK_ClaudeCodeSDK' in project 'ClaudeCodeSDK' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 56469afc9420b8a70f6b1f179d39321e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/56469afc9420b8a70f6b1f179d39321e.xcbuilddata
error: The package product 'SwiftAnthropic' requires minimum platform version 15.0 for the tvOS platform, but this target supports 12.0 (in target 'QuickTest' from project 'ClaudeCodeSDK')
error: The package product 'SwiftAnthropic' requires minimum platform version 15.0 for the tvOS platform, but this target supports 12.0 (in target 'ClaudeCodeSDK' from project 'ClaudeCodeSDK')
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme ClaudeCodeSDK-Package
(1 failure)
BUILD FAILURE 6.1 tvOS