Build Information
Failed to build ClaudeCodeSDK, reference main (f626d1), with Swift 6.3 for watchOS using Xcode 26.4 on 18 Apr 2026 00:12:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.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.70.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.3
Building package at path: $PWD
https://github.com/jamesrochabrun/ClaudeCodeSDK.git
Command line invocation:
/Applications/Xcode-26.4.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
Fetching from https://github.com/apple/swift-nio-http2.git
Fetching from https://github.com/apple/swift-algorithms.git
Fetching from https://github.com/apple/swift-distributed-tracing.git
Fetching from https://github.com/apple/swift-log.git
Fetching from https://github.com/apple/swift-service-context.git
Fetching from https://github.com/apple/swift-nio-extras.git
Fetching from https://github.com/apple/swift-configuration.git
Fetching from https://github.com/apple/swift-nio-ssl.git
Fetching from https://github.com/apple/swift-nio-transport-services.git
Fetching from https://github.com/apple/swift-atomics.git
Fetching from https://github.com/apple/swift-nio.git
Fetching from https://github.com/apple/swift-numerics.git
Fetching from https://github.com/apple/swift-collections
Fetching from https://github.com/apple/swift-system
Fetching from https://github.com/swift-server/swift-service-lifecycle
Fetching from https://github.com/apple/swift-async-algorithms.git
Fetching from https://github.com/apple/swift-http-types.git
Fetching from https://github.com/apple/swift-http-structured-headers.git
Fetching from https://github.com/apple/swift-asn1.git
Fetching from https://github.com/apple/swift-certificates.git
Fetching from https://github.com/apple/swift-crypto.git
Creating working copy of package ‘swift-async-algorithms’
Checking out 1.1.3 of package ‘swift-async-algorithms’
Creating working copy of package ‘swift-atomics’
Checking out 1.3.0 of package ‘swift-atomics’
Creating working copy of package ‘swift-crypto’
Checking out 4.4.0 of package ‘swift-crypto’
Creating working copy of package ‘swift-distributed-tracing’
Checking out 1.4.1 of package ‘swift-distributed-tracing’
Creating working copy of package ‘async-http-client’
Checking out 1.33.1 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-algorithms’
Checking out 1.2.1 of package ‘swift-algorithms’
Creating working copy of package ‘swift-asn1’
Checking out 1.7.0 of package ‘swift-asn1’
Creating working copy of package ‘swift-collections’
Checking out 1.4.1 of package ‘swift-collections’
Creating working copy of package ‘swift-http-types’
Checking out 1.5.1 of package ‘swift-http-types’
Creating working copy of package ‘swift-nio’
Checking out 2.98.0 of package ‘swift-nio’
Creating working copy of package ‘swift-nio-http2’
Checking out 1.43.0 of package ‘swift-nio-http2’
Creating working copy of package ‘swift-numerics’
Checking out 1.1.1 of package ‘swift-numerics’
Creating working copy of package ‘swift-service-lifecycle’
Checking out 2.11.0 of package ‘swift-service-lifecycle’
Creating working copy of package ‘swift-certificates’
Checking out 1.19.0 of package ‘swift-certificates’
Creating working copy of package ‘swift-nio-transport-services’
Checking out 1.27.0 of package ‘swift-nio-transport-services’
Creating working copy of package ‘swift-configuration’
Checking out 1.2.0 of package ‘swift-configuration’
Creating working copy of package ‘swift-nio-ssl’
Checking out 2.37.0 of package ‘swift-nio-ssl’
Creating working copy of package ‘swift-service-context’
Checking out 1.3.0 of package ‘swift-service-context’
Creating working copy of package ‘swift-log’
Checking out 1.12.0 of package ‘swift-log’
Creating working copy of package ‘swift-http-structured-headers’
Checking out 1.7.0 of package ‘swift-http-structured-headers’
Creating working copy of package ‘swift-system’
Checking out 1.6.4 of package ‘swift-system’
Creating working copy of package ‘swift-nio-extras’
Checking out 1.34.0 of package ‘swift-nio-extras’
Resolve Package Graph
Resolved source packages:
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.7.0
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.37.0
swift-configuration: https://github.com/apple/swift-configuration.git @ 1.2.0
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.43.0
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.4.1
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.3.0
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.7.0
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-nio: https://github.com/apple/swift-nio.git @ 2.98.0
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.19.0
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.4.0
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.33.1
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.27.0
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle @ 2.11.0
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.34.0
swift-log: https://github.com/apple/swift-log.git @ 1.12.0
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
swift-collections: https://github.com/apple/swift-collections @ 1.4.1
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.3
swift-system: https://github.com/apple/swift-system @ 1.6.4
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-asn1, swift-numerics, swift-nio-ssl, swift-configuration, swift-nio-http2, swift-distributed-tracing, swift-service-context, swift-http-structured-headers, swift-atomics, swift-nio, swift-certificates, swift-crypto, async-http-client, swift-nio-transport-services, swift-service-lifecycle, swift-nio-extras, swift-log, swift-algorithms, SwiftAnthropic, swift-collections, swift-http-types, swift-async-algorithms, swift-system, ClaudeCodeSDK
2026-04-17 20:11:40.372 xcodebuild[529:3076] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"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"
]
}
}
2026-04-17 20:11:49.421 xcodebuild[1516:7764] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.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-26.4.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
Resolve Package Graph
Resolved source packages:
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
swift-system: https://github.com/apple/swift-system @ 1.6.4
swift-configuration: https://github.com/apple/swift-configuration.git @ 1.2.0
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.43.0
swift-log: https://github.com/apple/swift-log.git @ 1.12.0
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.34.0
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.4.0
swift-collections: https://github.com/apple/swift-collections @ 1.4.1
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.7.0
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.37.0
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle @ 2.11.0
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.19.0
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.33.1
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.3
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.4.1
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.27.0
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.7.0
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.3.0
swift-http-types: https://github.com/apple/swift-http-types.git @ 1.5.1
swift-nio: https://github.com/apple/swift-nio.git @ 2.98.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-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: d92c90918c1be52bd773e1fd12487eec
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d92c90918c1be52bd773e1fd12487eec.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')
2026-04-17 20:12:00.878 xcodebuild[1592:8039] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme ClaudeCodeSDK-Package
(1 failure)
Command line invocation:
/Applications/Xcode-26.4.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-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.3
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.33.1
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.4.0
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.37.0
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.43.0
swift-nio: https://github.com/apple/swift-nio.git @ 2.98.0
swift-configuration: https://github.com/apple/swift-configuration.git @ 1.2.0
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle @ 2.11.0
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.7.0
swift-collections: https://github.com/apple/swift-collections @ 1.4.1
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.34.0
swift-http-types: https://github.com/apple/swift-http-types.git @ 1.5.1
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.19.0
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.4.1
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.27.0
swift-log: https://github.com/apple/swift-log.git @ 1.12.0
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
swift-system: https://github.com/apple/swift-system @ 1.6.4
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.7.0
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.3.0
resolved source packages: swift-numerics, swift-algorithms, swift-async-algorithms, SwiftAnthropic, async-http-client, swift-atomics, swift-crypto, swift-nio-ssl, swift-nio-http2, swift-nio, swift-configuration, swift-service-lifecycle, swift-asn1, swift-collections, swift-nio-extras, swift-http-types, swift-certificates, swift-distributed-tracing, swift-nio-transport-services, swift-log, ClaudeCodeSDK, swift-system, swift-http-structured-headers, swift-service-context
2026-04-17 20:12:05.923 xcodebuild[1930:9547] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"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"
]
}
}
2026-04-17 20:12:08.244 xcodebuild[2009:9833] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.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-26.4.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:
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.34.0
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.4.1
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.7.0
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.7.0
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.27.0
swift-collections: https://github.com/apple/swift-collections @ 1.4.1
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.3
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.3.0
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.4.0
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-nio: https://github.com/apple/swift-nio.git @ 2.98.0
swift-http-types: https://github.com/apple/swift-http-types.git @ 1.5.1
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.19.0
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.33.1
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.43.0
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.37.0
swift-log: https://github.com/apple/swift-log.git @ 1.12.0
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle @ 2.11.0
swift-configuration: https://github.com/apple/swift-configuration.git @ 1.2.0
swift-system: https://github.com/apple/swift-system @ 1.6.4
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.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-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: d92c90918c1be52bd773e1fd12487eec
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d92c90918c1be52bd773e1fd12487eec.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')
2026-04-17 20:12:10.276 xcodebuild[2081:10076] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme ClaudeCodeSDK-Package
(1 failure)
BUILD FAILURE 6.3 watchOS