The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ClaudeCodeSDK, reference 1.2.4 (f626d1), with Swift 6.0 for iOS using Xcode 16.2 on 27 Dec 2025 14:29:42 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ClaudeCodeSDK-Package -destination generic/platform=iOS

Build 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:         iOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jamesrochabrun/ClaudeCodeSDK.git
Command line invocation:
    /Applications/Xcode-16.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
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-atomics.git
Fetching from https://github.com/apple/swift-algorithms.git
Fetching from https://github.com/apple/swift-nio-extras.git
Fetching from https://github.com/apple/swift-nio-http2.git
Fetching from https://github.com/apple/swift-distributed-tracing.git
Fetching from https://github.com/apple/swift-nio-transport-services.git
Fetching from https://github.com/apple/swift-log.git
Fetching from https://github.com/apple/swift-nio-ssl.git
Fetching from https://github.com/apple/swift-nio.git
Fetching from https://github.com/apple/swift-service-context.git
Fetching from https://github.com/apple/swift-numerics.git
Fetching from https://github.com/apple/swift-http-structured-headers.git
Fetching from https://github.com/apple/swift-http-types.git
Fetching from https://github.com/apple/swift-certificates.git
Fetching from https://github.com/swift-server/swift-service-lifecycle.git
Fetching from https://github.com/apple/swift-asn1.git
Fetching from https://github.com/apple/swift-async-algorithms.git
Fetching from https://github.com/apple/swift-collections.git
Fetching from https://github.com/apple/swift-crypto.git
Fetching from https://github.com/apple/swift-system.git
Creating working copy of package ‘swift-numerics’
Checking out 1.1.1 of package ‘swift-numerics’
Creating working copy of package ‘swift-distributed-tracing’
Checking out 1.3.1 of package ‘swift-distributed-tracing’
Creating working copy of package ‘swift-collections’
Checking out 1.3.0 of package ‘swift-collections’
Creating working copy of package ‘swift-system’
Checking out 1.6.3 of package ‘swift-system’
Creating working copy of package ‘SwiftAnthropic’
Checking out 2.2.0 of package ‘SwiftAnthropic’
Creating working copy of package ‘swift-nio-extras’
Checking out 1.31.2 of package ‘swift-nio-extras’
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’
Checking out 2.92.0 of package ‘swift-nio’
Creating working copy of package ‘swift-http-types’
Checking out 1.5.1 of package ‘swift-http-types’
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-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-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-service-context’
Checking out 1.2.1 of package ‘swift-service-context’
Creating working copy of package ‘swift-algorithms’
Checking out 1.2.1 of package ‘swift-algorithms’
Creating working copy of package ‘swift-crypto’
Checking out 4.2.0 of package ‘swift-crypto’
Creating working copy of package ‘swift-asn1’
Checking out 1.5.1 of package ‘swift-asn1’
Creating working copy of package ‘swift-service-lifecycle’
Checking out 2.9.1 of package ‘swift-service-lifecycle’
Creating working copy of package ‘async-http-client’
Checking out 1.30.2 of package ‘async-http-client’
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-log’
Checking out 1.8.0 of package ‘swift-log’
Resolve Package Graph
Resolved source packages:
  swift-nio: https://github.com/apple/swift-nio.git @ 2.92.0
  async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.2
  swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
  swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
  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-system: https://github.com/apple/swift-system.git @ 1.6.3
  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-service-context: https://github.com/apple/swift-service-context.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
  swift-http-types: https://github.com/apple/swift-http-types.git @ 1.5.1
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
  swift-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
  ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
  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
  swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.0
  swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
  SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
  swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
  swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
resolved source packages: swift-nio, async-http-client, swift-async-algorithms, swift-nio-http2, swift-collections, swift-algorithms, swift-system, swift-distributed-tracing, swift-nio-transport-services, swift-service-context, swift-log, swift-asn1, swift-http-types, swift-atomics, swift-crypto, ClaudeCodeSDK, swift-nio-extras, swift-http-structured-headers, swift-certificates, swift-numerics, SwiftAnthropic, swift-nio-ssl, swift-service-lifecycle
{
  "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.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ClaudeCodeSDK-Package -destination generic/platform=iOS
Command line invocation:
    /Applications/Xcode-16.2.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=iOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  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-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-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
  swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
  swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
  SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
  swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
  swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
  swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
  swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
  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-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
  swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
  swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.2
  swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
  swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
  swift-nio: https://github.com/apple/swift-nio.git @ 2.92.0
  swift-system: https://github.com/apple/swift-system.git @ 1.6.3
  ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
Prepare packages
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.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 92a5c871b93c3cf895df3bd18dc7165e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/92a5c871b93c3cf895df3bd18dc7165e.xcbuilddata
error: The package product 'SwiftAnthropic' requires minimum platform version 15.0 for the iOS 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 iOS 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.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  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-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
  swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.2
  swift-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
  swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
  swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
  ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
  async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.2
  swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
  swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.0
  swift-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
  swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
  swift-system: https://github.com/apple/swift-system.git @ 1.6.3
  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
  swift-http-types: https://github.com/apple/swift-http-types.git @ 1.5.1
  swift-nio: https://github.com/apple/swift-nio.git @ 2.92.0
  swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
  swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
  SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.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
resolved source packages: swift-http-structured-headers, swift-asn1, swift-nio-ssl, swift-nio-extras, swift-service-context, swift-nio-http2, swift-async-algorithms, ClaudeCodeSDK, async-http-client, swift-service-lifecycle, swift-certificates, swift-crypto, swift-numerics, swift-system, swift-distributed-tracing, swift-collections, swift-http-types, swift-nio, swift-algorithms, swift-nio-transport-services, SwiftAnthropic, swift-atomics, swift-log
{
  "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.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ClaudeCodeSDK-Package -destination generic/platform=iOS
Command line invocation:
    /Applications/Xcode-16.2.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=iOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
  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
  swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
  swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
  swift-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-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-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
  swift-system: https://github.com/apple/swift-system.git @ 1.6.3
  swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
  swift-log: https://github.com/apple/swift-log.git @ 1.8.0
  ClaudeCodeSDK: /Users/admin/builder/spi-builder-workspace
  SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic @ 2.2.0
  swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
  async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.2
  swift-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
  swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
  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: https://github.com/apple/swift-nio.git @ 2.92.0
  swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
Prepare packages
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.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 92a5c871b93c3cf895df3bd18dc7165e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/92a5c871b93c3cf895df3bd18dc7165e.xcbuilddata
error: The package product 'SwiftAnthropic' requires minimum platform version 15.0 for the iOS 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 iOS 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.0 iOS