Build Information
Failed to build ClaudeCodeSDK, reference main (f626d1), with Swift 6.1 for watchOS using Xcode 16.3 on 27 Dec 2025 14:26:40 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=watchOSBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jamesrochabrun/ClaudeCodeSDK.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jamesrochabrun/ClaudeCodeSDK
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: watchOS
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-log.git (cached)
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-algorithms.git (cached)
Fetching from https://github.com/apple/swift-nio-http2.git (cached)
Fetching from https://github.com/apple/swift-nio-extras.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/swift-server/swift-service-lifecycle.git
Fetching from https://github.com/apple/swift-async-algorithms.git
Fetching from https://github.com/apple/swift-certificates.git
Fetching from https://github.com/apple/swift-http-structured-headers.git (cached)
Fetching from https://github.com/apple/swift-asn1.git (cached)
Fetching from https://github.com/apple/swift-http-types.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-async-algorithms’
Checking out 1.1.1 of package ‘swift-async-algorithms’
Creating working copy of package ‘swift-nio-ssl’
Checking out 2.36.0 of package ‘swift-nio-ssl’
Creating working copy of package ‘swift-crypto’
Checking out 4.2.0 of package ‘swift-crypto’
Creating working copy of package ‘swift-nio-extras’
Checking out 1.31.2 of package ‘swift-nio-extras’
Creating working copy of package ‘swift-service-context’
Checking out 1.2.1 of package ‘swift-service-context’
Creating working copy of package ‘swift-http-types’
Checking out 1.5.1 of package ‘swift-http-types’
Creating working copy of package ‘async-http-client’
Checking out 1.30.2 of package ‘async-http-client’
Creating working copy of package ‘SwiftAnthropic’
Checking out 2.2.0 of package ‘SwiftAnthropic’
Creating working copy of package ‘swift-collections’
Checking out 1.3.0 of package ‘swift-collections’
Creating working copy of package ‘swift-numerics’
Checking out 1.1.1 of package ‘swift-numerics’
Creating working copy of package ‘swift-system’
Checking out 1.6.3 of package ‘swift-system’
Creating working copy of package ‘swift-asn1’
Checking out 1.5.1 of package ‘swift-asn1’
Creating working copy of package ‘swift-log’
Checking out 1.8.0 of package ‘swift-log’
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-algorithms’
Checking out 1.2.1 of package ‘swift-algorithms’
Creating working copy of package ‘swift-certificates’
Checking out 1.17.0 of package ‘swift-certificates’
Creating working copy of package ‘swift-nio’
Checking out 2.92.0 of package ‘swift-nio’
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-http2’
Checking out 1.39.0 of package ‘swift-nio-http2’
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-service-lifecycle’
Checking out 2.9.1 of package ‘swift-service-lifecycle’
Creating working copy of package ‘swift-atomics’
Checking out 1.3.0 of package ‘swift-atomics’
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-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.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-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.2
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.0
swift-nio: https://github.com/apple/swift-nio.git @ 2.92.0
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
swift-log: https://github.com/apple/swift-log.git @ 1.8.0
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-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-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-http-types, swift-distributed-tracing, swift-service-lifecycle, swift-crypto, swift-nio-http2, SwiftAnthropic, async-http-client, swift-http-structured-headers, swift-asn1, swift-service-context, swift-nio-extras, swift-numerics, swift-nio-ssl, swift-certificates, swift-nio, swift-nio-transport-services, swift-log, swift-system, swift-algorithms, swift-async-algorithms, swift-collections, swift-atomics, ClaudeCodeSDK
{
"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=watchOS 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=watchOS "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-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
swift-nio: https://github.com/apple/swift-nio.git @ 2.92.0
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.0
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.2
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
swift-system: https://github.com/apple/swift-system.git @ 1.6.3
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.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-http-types: https://github.com/apple/swift-http-types.git @ 1.5.1
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
swift-log: https://github.com/apple/swift-log.git @ 1.8.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/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
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/ld -version_details
Build description signature: 381bdd2e9b9e77fb04b99c335cc7f430
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/381bdd2e9b9e77fb04b99c335cc7f430.xcbuilddata
error: The package product 'SwiftAnthropic' requires minimum platform version 8.0 for the watchOS platform, but this target supports 5.0 (in target 'ClaudeCodeSDK' from project 'ClaudeCodeSDK')
error: The package product 'SwiftAnthropic' requires minimum platform version 8.0 for the watchOS platform, but this target supports 5.0 (in target 'QuickTest' 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:
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.2
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.0
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-log: https://github.com/apple/swift-log.git @ 1.8.0
swift-system: https://github.com/apple/swift-system.git @ 1.6.3
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
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-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
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-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
swift-nio: https://github.com/apple/swift-nio.git @ 2.92.0
swift-http-types: https://github.com/apple/swift-http-types.git @ 1.5.1
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
resolved source packages: swift-numerics, swift-distributed-tracing, async-http-client, swift-certificates, swift-atomics, swift-log, swift-system, SwiftAnthropic, swift-crypto, swift-service-context, swift-service-lifecycle, swift-nio-ssl, swift-collections, ClaudeCodeSDK, swift-async-algorithms, swift-algorithms, swift-nio-extras, swift-nio-http2, swift-http-structured-headers, swift-asn1, swift-nio, swift-http-types, swift-nio-transport-services
{
"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=watchOS
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=watchOS
Resolve Package Graph
Resolved source packages:
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.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-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-collections: https://github.com/apple/swift-collections.git @ 1.3.0
swift-log: https://github.com/apple/swift-log.git @ 1.8.0
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-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-system: https://github.com/apple/swift-system.git @ 1.6.3
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
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.2
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.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
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/WatchOS.platform/Developer/SDKs/WatchOS11.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: 33fd34a362992f88bfb1eadc7dbe6f3e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/33fd34a362992f88bfb1eadc7dbe6f3e.xcbuilddata
error: The package product 'SwiftAnthropic' requires minimum platform version 8.0 for the watchOS platform, but this target supports 5.0 (in target 'QuickTest' from project 'ClaudeCodeSDK')
error: The package product 'SwiftAnthropic' requires minimum platform version 8.0 for the watchOS platform, but this target supports 5.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 watchOS