The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-openai, reference v0.1.0 (714419), with Swift 6.3 for tvOS using Xcode 26.4 on 16 Apr 2026 09:19:40 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-openai-Package -destination generic/platform=tvOS

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ajevans99/swift-openai.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ajevans99/swift-openai
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 714419b Update readme with in progress message:
Cloned https://github.com/ajevans99/swift-openai.git
Revision (git rev-parse @):
714419b0f5eb3da03014c4eb3e1cc15cba4b7479
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ajevans99/swift-openai.git at v0.1.0
========================================
Build
========================================
Selected platform:         tvOS
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ajevans99/swift-openai.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/apple/swift-openapi-generator.git
Fetching from https://github.com/ajevans99/swift-json-schema.git
Fetching from https://github.com/apple/swift-log.git
Fetching from https://github.com/apple/swift-openapi-runtime.git
Fetching from https://github.com/apple/swift-http-types
Fetching from https://github.com/apple/swift-argument-parser
Fetching from https://github.com/apple/swift-algorithms
Fetching from https://github.com/jpsim/Yams
Fetching from https://github.com/apple/swift-collections
Fetching from https://github.com/mattpolzin/OpenAPIKit
Fetching from https://github.com/apple/swift-numerics.git
Fetching from https://github.com/swiftlang/swift-syntax.git
Creating working copy of package ‘swift-collections’
Checking out 1.4.1 of package ‘swift-collections’
Creating working copy of package ‘swift-openapi-runtime’
Checking out 1.11.0 of package ‘swift-openapi-runtime’
Creating working copy of package ‘swift-json-schema’
Checking out 0.11.2 of package ‘swift-json-schema’
Creating working copy of package ‘swift-log’
Checking out 1.12.0 of package ‘swift-log’
Creating working copy of package ‘OpenAPIKit’
Checking out 3.9.0 of package ‘OpenAPIKit’
Creating working copy of package ‘swift-openapi-generator’
Checking out 1.11.1 of package ‘swift-openapi-generator’
Creating working copy of package ‘swift-http-types’
Checking out 1.5.1 of package ‘swift-http-types’
Creating working copy of package ‘Yams’
Checking out 6.2.1 of package ‘Yams’
Creating working copy of package ‘swift-numerics’
Checking out 1.1.1 of package ‘swift-numerics’
Creating working copy of package ‘swift-syntax’
Checking out 603.0.0 of package ‘swift-syntax’
Creating working copy of package ‘swift-algorithms’
Checking out 1.2.1 of package ‘swift-algorithms’
Creating working copy of package ‘swift-argument-parser’
Checking out 1.7.1 of package ‘swift-argument-parser’
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swiftlang-6.3.0.123.5-macosx26.4-MacroSupport.zip
Resolve Package Graph
Resolved source packages:
  swift-http-types: https://github.com/apple/swift-http-types @ 1.5.1
  swift-openapi-runtime: https://github.com/apple/swift-openapi-runtime.git @ 1.11.0
  swift-log: https://github.com/apple/swift-log.git @ 1.12.0
  swift-collections: https://github.com/apple/swift-collections @ 1.4.1
  swift-json-schema: https://github.com/ajevans99/swift-json-schema.git @ 0.11.2
  swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.7.1
  swift-openapi-generator: https://github.com/apple/swift-openapi-generator.git @ 1.11.1
  swift-openai: /Users/admin/builder/spi-builder-workspace
  Yams: https://github.com/jpsim/Yams @ 6.2.1
  OpenAPIKit: https://github.com/mattpolzin/OpenAPIKit @ 3.9.0
  swift-algorithms: https://github.com/apple/swift-algorithms @ 1.2.1
  swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 603.0.0
resolved source packages: swift-http-types, swift-openapi-runtime, swift-log, swift-collections, swift-json-schema, swift-numerics, swift-argument-parser, swift-openapi-generator, swift-openai, Yams, OpenAPIKit, swift-algorithms, swift-syntax
2026-04-16 05:18:58.269 xcodebuild[525:3038] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
    {
      "identity" : "swift-openapi-generator",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-generator.git"
    },
    {
      "identity" : "swift-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-runtime.git"
    },
    {
      "identity" : "swift-json-schema",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ajevans99/swift-json-schema.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "swift-openai",
  "name" : "swift-openai",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAI",
      "targets" : [
        "OpenAIKit",
        "OpenAICore",
        "OpenAIFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAIKit",
      "targets" : [
        "OpenAIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAICore",
      "targets" : [
        "OpenAICore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAIFoundation",
      "targets" : [
        "OpenAIFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAIKitTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKitTests",
      "path" : "Tests/OpenAIKitTests",
      "sources" : [
        "OpenAIKitTests.swift"
      ],
      "target_dependencies" : [
        "OpenAIKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAIKit",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKit",
      "path" : "Sources/OpenAIKit",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "JSONSchema",
        "JSONSchemaBuilder"
      ],
      "product_memberships" : [
        "OpenAI",
        "OpenAIKit"
      ],
      "sources" : [
        "Responses/ResponseSession.swift",
        "Responses/ResponseSessionError.swift",
        "Responses/ToolErrorPolicy.swift",
        "Tools/Extensions/OpenAPIValueContainer+JSONValue.swift",
        "Tools/Tool.swift"
      ],
      "target_dependencies" : [
        "OpenAICore",
        "OpenAIFoundation"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OpenAIFoundation",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIFoundation",
      "path" : "Sources/OpenAIFoundation",
      "product_dependencies" : [
        "OpenAPIRuntime"
      ],
      "product_memberships" : [
        "OpenAI",
        "OpenAIKit",
        "OpenAICore",
        "OpenAIFoundation"
      ],
      "sources" : [
        "Generated/Client.swift",
        "Generated/Types.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OpenAICore",
      "module_type" : "SwiftTarget",
      "name" : "OpenAICore",
      "path" : "Sources/OpenAICore",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "Logging"
      ],
      "product_memberships" : [
        "OpenAI",
        "OpenAIKit",
        "OpenAICore"
      ],
      "sources" : [
        "Images/CreateImageEditRequest.swift",
        "Images/CreateImageRequest.swift",
        "Images/ImagesResponse.swift",
        "Middleware/AuthenticationMiddleware.swift",
        "Middleware/LoggingMiddleware.swift",
        "Model.swift",
        "OpenAI+Images.swift",
        "OpenAI+Responses.swift",
        "OpenAI.swift",
        "Responses/CreateModelResponse.swift",
        "Responses/ListInputItemsResponse.swift",
        "Responses/Messages/InputItem.swift",
        "Responses/Messages/InputMessage.swift",
        "Responses/Messages/InputPayload.swift",
        "Responses/Messages/OutputItem.swift",
        "Responses/Messages/OutputMessage.swift",
        "Responses/Reasoning.swift",
        "Responses/Response.swift",
        "Responses/ServiceTier.swift",
        "Responses/StreamingResponse.swift",
        "Responses/Tools/FunctionTool.swift",
        "Responses/Tools/ImageGenTool.swift",
        "Responses/Tools/Tool.swift",
        "Responses/Truncation.swift",
        "Responses/Usage.swift"
      ],
      "target_dependencies" : [
        "OpenAIFoundation"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "OpenAI",
      "OpenAICore",
      "OpenAIFoundation",
      "OpenAIKit",
      "swift-openai-Package"
    ]
  }
}
2026-04-16 05:19:11.643 xcodebuild[1191:6328] [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 swift-openai-Package -destination generic/platform=tvOS
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 swift-openai-Package -destination generic/platform=tvOS
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  swift-log: https://github.com/apple/swift-log.git @ 1.12.0
  swift-algorithms: https://github.com/apple/swift-algorithms @ 1.2.1
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.7.1
  OpenAPIKit: https://github.com/mattpolzin/OpenAPIKit @ 3.9.0
  swift-collections: https://github.com/apple/swift-collections @ 1.4.1
  swift-openapi-generator: https://github.com/apple/swift-openapi-generator.git @ 1.11.1
  swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
  swift-http-types: https://github.com/apple/swift-http-types @ 1.5.1
  swift-json-schema: https://github.com/ajevans99/swift-json-schema.git @ 0.11.2
  swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 603.0.0
  swift-openapi-runtime: https://github.com/apple/swift-openapi-runtime.git @ 1.11.0
  swift-openai: /Users/admin/builder/spi-builder-workspace
  Yams: https://github.com/jpsim/Yams @ 6.2.1
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (19 targets)
    Target 'OpenAIKit' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIKit' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaBuilder' in project 'swift-json-schema'
    Target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
    Target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'OpenAI' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIKit' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaBuilder' in project 'swift-json-schema'
    Target 'OpenAIKit' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaBuilder' in project 'swift-json-schema'
    Target 'JSONSchemaBuilder' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaBuilder' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaMacro' in project 'swift-json-schema'
    Target 'JSONSchemaBuilder' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaMacro' in project 'swift-json-schema'
    Target 'JSONSchemaMacro' in project 'swift-json-schema' (no dependencies)
    Target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'swift-json-schema_JSONSchema' in project 'swift-json-schema'
    Target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'swift-json-schema_JSONSchema' in project 'swift-json-schema'
    Target 'swift-json-schema_JSONSchema' in project 'swift-json-schema' (no dependencies)
    Target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log' (no dependencies)
    Target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
    Target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'HTTPTypes' in project 'swift-http-types'
    Target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'HTTPTypes' in project 'swift-http-types'
    Target 'HTTPTypes' in project 'swift-http-types'
        ➜ Explicit dependency on target 'HTTPTypes' in project 'swift-http-types'
    Target 'HTTPTypes' in project 'swift-http-types' (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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -x c -c /dev/null
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/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: c09374a77d0e927ead0cd73f1817431b
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c09374a77d0e927ead0cd73f1817431b.xcbuilddata
error: The package product 'OpenAPIRuntime' requires minimum platform version 13.0 for the tvOS platform, but this target supports 12.0 (in target 'OpenAICore' from project 'swift-openai')
error: The package product 'OpenAPIRuntime' requires minimum platform version 13.0 for the tvOS platform, but this target supports 12.0 (in target 'OpenAIKit' from project 'swift-openai')
error: The package product 'JSONSchema' requires minimum platform version 16.0 for the tvOS platform, but this target supports 12.0 (in target 'OpenAIKit' from project 'swift-openai')
error: The package product 'JSONSchemaBuilder' requires minimum platform version 16.0 for the tvOS platform, but this target supports 12.0 (in target 'OpenAIKit' from project 'swift-openai')
error: The package product 'OpenAPIRuntime' requires minimum platform version 13.0 for the tvOS platform, but this target supports 12.0 (in target 'OpenAIFoundation' from project 'swift-openai')
2026-04-16 05:19:21.192 xcodebuild[1251:6633] [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 swift-openai-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-algorithms: https://github.com/apple/swift-algorithms @ 1.2.1
  swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 603.0.0
  swift-openapi-runtime: https://github.com/apple/swift-openapi-runtime.git @ 1.11.0
  swift-http-types: https://github.com/apple/swift-http-types @ 1.5.1
  swift-log: https://github.com/apple/swift-log.git @ 1.12.0
  swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
  swift-openapi-generator: https://github.com/apple/swift-openapi-generator.git @ 1.11.1
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.7.1
  OpenAPIKit: https://github.com/mattpolzin/OpenAPIKit @ 3.9.0
  swift-openai: /Users/admin/builder/spi-builder-workspace
  swift-collections: https://github.com/apple/swift-collections @ 1.4.1
  swift-json-schema: https://github.com/ajevans99/swift-json-schema.git @ 0.11.2
  Yams: https://github.com/jpsim/Yams @ 6.2.1
resolved source packages: swift-algorithms, swift-syntax, swift-openapi-runtime, swift-http-types, swift-log, swift-numerics, swift-openapi-generator, swift-argument-parser, OpenAPIKit, swift-openai, swift-collections, swift-json-schema, Yams
2026-04-16 05:19:30.031 xcodebuild[1471:7698] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
    {
      "identity" : "swift-openapi-generator",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-generator.git"
    },
    {
      "identity" : "swift-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-runtime.git"
    },
    {
      "identity" : "swift-json-schema",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ajevans99/swift-json-schema.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "swift-openai",
  "name" : "swift-openai",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAI",
      "targets" : [
        "OpenAIKit",
        "OpenAICore",
        "OpenAIFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAIKit",
      "targets" : [
        "OpenAIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAICore",
      "targets" : [
        "OpenAICore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAIFoundation",
      "targets" : [
        "OpenAIFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAIKitTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKitTests",
      "path" : "Tests/OpenAIKitTests",
      "sources" : [
        "OpenAIKitTests.swift"
      ],
      "target_dependencies" : [
        "OpenAIKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAIKit",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKit",
      "path" : "Sources/OpenAIKit",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "JSONSchema",
        "JSONSchemaBuilder"
      ],
      "product_memberships" : [
        "OpenAI",
        "OpenAIKit"
      ],
      "sources" : [
        "Responses/ResponseSession.swift",
        "Responses/ResponseSessionError.swift",
        "Responses/ToolErrorPolicy.swift",
        "Tools/Extensions/OpenAPIValueContainer+JSONValue.swift",
        "Tools/Tool.swift"
      ],
      "target_dependencies" : [
        "OpenAICore",
        "OpenAIFoundation"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OpenAIFoundation",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIFoundation",
      "path" : "Sources/OpenAIFoundation",
      "product_dependencies" : [
        "OpenAPIRuntime"
      ],
      "product_memberships" : [
        "OpenAI",
        "OpenAIKit",
        "OpenAICore",
        "OpenAIFoundation"
      ],
      "sources" : [
        "Generated/Client.swift",
        "Generated/Types.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OpenAICore",
      "module_type" : "SwiftTarget",
      "name" : "OpenAICore",
      "path" : "Sources/OpenAICore",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "Logging"
      ],
      "product_memberships" : [
        "OpenAI",
        "OpenAIKit",
        "OpenAICore"
      ],
      "sources" : [
        "Images/CreateImageEditRequest.swift",
        "Images/CreateImageRequest.swift",
        "Images/ImagesResponse.swift",
        "Middleware/AuthenticationMiddleware.swift",
        "Middleware/LoggingMiddleware.swift",
        "Model.swift",
        "OpenAI+Images.swift",
        "OpenAI+Responses.swift",
        "OpenAI.swift",
        "Responses/CreateModelResponse.swift",
        "Responses/ListInputItemsResponse.swift",
        "Responses/Messages/InputItem.swift",
        "Responses/Messages/InputMessage.swift",
        "Responses/Messages/InputPayload.swift",
        "Responses/Messages/OutputItem.swift",
        "Responses/Messages/OutputMessage.swift",
        "Responses/Reasoning.swift",
        "Responses/Response.swift",
        "Responses/ServiceTier.swift",
        "Responses/StreamingResponse.swift",
        "Responses/Tools/FunctionTool.swift",
        "Responses/Tools/ImageGenTool.swift",
        "Responses/Tools/Tool.swift",
        "Responses/Truncation.swift",
        "Responses/Usage.swift"
      ],
      "target_dependencies" : [
        "OpenAIFoundation"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "OpenAI",
      "OpenAICore",
      "OpenAIFoundation",
      "OpenAIKit",
      "swift-openai-Package"
    ]
  }
}
2026-04-16 05:19:34.377 xcodebuild[1534:7987] [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 swift-openai-Package -destination generic/platform=tvOS
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 swift-openai-Package -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
  swift-openapi-runtime: https://github.com/apple/swift-openapi-runtime.git @ 1.11.0
  swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
  swift-openapi-generator: https://github.com/apple/swift-openapi-generator.git @ 1.11.1
  swift-json-schema: https://github.com/ajevans99/swift-json-schema.git @ 0.11.2
  swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 603.0.0
  swift-log: https://github.com/apple/swift-log.git @ 1.12.0
  OpenAPIKit: https://github.com/mattpolzin/OpenAPIKit @ 3.9.0
  swift-http-types: https://github.com/apple/swift-http-types @ 1.5.1
  swift-algorithms: https://github.com/apple/swift-algorithms @ 1.2.1
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.7.1
  Yams: https://github.com/jpsim/Yams @ 6.2.1
  swift-openai: /Users/admin/builder/spi-builder-workspace
  swift-collections: https://github.com/apple/swift-collections @ 1.4.1
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (19 targets)
    Target 'OpenAIKit' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIKit' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaBuilder' in project 'swift-json-schema'
    Target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
    Target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'OpenAI' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIKit' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaBuilder' in project 'swift-json-schema'
    Target 'OpenAIKit' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaBuilder' in project 'swift-json-schema'
    Target 'JSONSchemaBuilder' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaBuilder' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaMacro' in project 'swift-json-schema'
    Target 'JSONSchemaBuilder' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchemaMacro' in project 'swift-json-schema'
    Target 'JSONSchemaMacro' in project 'swift-json-schema' (no dependencies)
    Target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'swift-json-schema_JSONSchema' in project 'swift-json-schema'
    Target 'JSONSchema' in project 'swift-json-schema'
        ➜ Explicit dependency on target 'swift-json-schema_JSONSchema' in project 'swift-json-schema'
    Target 'swift-json-schema_JSONSchema' in project 'swift-json-schema' (no dependencies)
    Target 'OpenAICore' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log' (no dependencies)
    Target 'OpenAIFoundation' in project 'swift-openai'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
    Target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'HTTPTypes' in project 'swift-http-types'
    Target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
        ➜ Explicit dependency on target 'HTTPTypes' in project 'swift-http-types'
    Target 'HTTPTypes' in project 'swift-http-types'
        ➜ Explicit dependency on target 'HTTPTypes' in project 'swift-http-types'
    Target 'HTTPTypes' in project 'swift-http-types' (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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -x c -c /dev/null
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/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: c09374a77d0e927ead0cd73f1817431b
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c09374a77d0e927ead0cd73f1817431b.xcbuilddata
error: The package product 'OpenAPIRuntime' requires minimum platform version 13.0 for the tvOS platform, but this target supports 12.0 (in target 'OpenAICore' from project 'swift-openai')
error: The package product 'OpenAPIRuntime' requires minimum platform version 13.0 for the tvOS platform, but this target supports 12.0 (in target 'OpenAIFoundation' from project 'swift-openai')
error: The package product 'OpenAPIRuntime' requires minimum platform version 13.0 for the tvOS platform, but this target supports 12.0 (in target 'OpenAIKit' from project 'swift-openai')
error: The package product 'JSONSchema' requires minimum platform version 16.0 for the tvOS platform, but this target supports 12.0 (in target 'OpenAIKit' from project 'swift-openai')
error: The package product 'JSONSchemaBuilder' requires minimum platform version 16.0 for the tvOS platform, but this target supports 12.0 (in target 'OpenAIKit' from project 'swift-openai')
2026-04-16 05:19:38.643 xcodebuild[1590:8249] [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 swift-openai-Package
(1 failure)
BUILD FAILURE 6.3 tvOS