The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-llama-cpp, reference main (d2750c), with Swift 6.1 for tvOS using Xcode 16.3 on 4 Oct 2026 02:58:14 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pgorzelany/swift-llama-cpp.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pgorzelany/swift-llama-cpp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d2750c5 Verify generated text and token agreement with native llama C API
Cloned https://github.com/pgorzelany/swift-llama-cpp.git
Revision (git rev-parse @):
d2750c52f5310596fede783ad1122c66cbd30855
SUCCESS checkout https://github.com/pgorzelany/swift-llama-cpp.git at main
========================================
Build
========================================
Selected platform:         tvOS
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pgorzelany/swift-llama-cpp.git
https://github.com/pgorzelany/swift-llama-cpp.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-llama-cpp",
  "name" : "swift-llama-cpp",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLlama",
      "targets" : [
        "SwiftLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama",
      "module_type" : "BinaryTarget",
      "name" : "llama",
      "path" : "remote/archive/llama-b10964-xcframework.zip",
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "SwiftLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlamaTests",
      "path" : "Tests/SwiftLlamaTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftLlamaTests/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "GemmaCompatibilityTests.swift",
        "Helpers/URL+Extensions.swift",
        "LlamaAuditProbes.swift",
        "LlamaBackendTests.swift",
        "LlamaBehaviorTests.swift",
        "LlamaCacheReuseTests.swift",
        "LlamaContextTests.swift",
        "LlamaDiagnosticsTests.swift",
        "LlamaGrammarRegressionTests.swift",
        "LlamaLanguageModelTests.swift",
        "LlamaLifecycleRegressionTests.swift",
        "LlamaModelTests.swift",
        "LlamaPerformanceTests.swift",
        "LlamaRegressionTests.swift",
        "LlamaSamplerPerformanceTests.swift",
        "LlamaSamplerTests.swift",
        "LlamaServiceTests.swift",
        "LlamaTests.swift",
        "LlamaToolCallingTests.swift",
        "LlamaTypedGrammarTests.swift"
      ],
      "target_dependencies" : [
        "SwiftLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLlama",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlama",
      "path" : "Sources/SwiftLlama",
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
        "Llama.swift",
        "LlamaBackend.swift",
        "LlamaBatch.swift",
        "LlamaChatMessage.swift",
        "LlamaConfig.swift",
        "LlamaContext.swift",
        "LlamaContextUsage.swift",
        "LlamaError.swift",
        "LlamaExecutorRuntime.swift",
        "LlamaGrammarConfig.swift",
        "LlamaLanguageModel.swift",
        "LlamaLogger.swift",
        "LlamaLoraAdapter.swift",
        "LlamaMemory.swift",
        "LlamaModel.swift",
        "LlamaRepetitionPenaltyConfig.swift",
        "LlamaResponseEmitter.swift",
        "LlamaSampler.swift",
        "LlamaSamplingConfig.swift",
        "LlamaService.swift",
        "LlamaToolCalling.swift",
        "LlamaTranscriptMapper.swift",
        "LlamaTypedJSONGrammarBuilder.swift",
        "LlamaUTF8Decoder.swift",
        "Task+Extensions.swift"
      ],
      "target_dependencies" : [
        "llama"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  swift-llama-cpp: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-llama-cpp
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-llama-cpp",
  "name" : "swift-llama-cpp",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLlama",
      "targets" : [
        "SwiftLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama",
      "module_type" : "BinaryTarget",
      "name" : "llama",
      "path" : "remote/archive/llama-b10964-xcframework.zip",
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "SwiftLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlamaTests",
      "path" : "Tests/SwiftLlamaTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftLlamaTests/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "GemmaCompatibilityTests.swift",
        "Helpers/URL+Extensions.swift",
        "LlamaAuditProbes.swift",
        "LlamaBackendTests.swift",
        "LlamaBehaviorTests.swift",
        "LlamaCacheReuseTests.swift",
        "LlamaContextTests.swift",
        "LlamaDiagnosticsTests.swift",
        "LlamaGrammarRegressionTests.swift",
        "LlamaLanguageModelTests.swift",
        "LlamaLifecycleRegressionTests.swift",
        "LlamaModelTests.swift",
        "LlamaPerformanceTests.swift",
        "LlamaRegressionTests.swift",
        "LlamaSamplerPerformanceTests.swift",
        "LlamaSamplerTests.swift",
        "LlamaServiceTests.swift",
        "LlamaTests.swift",
        "LlamaToolCallingTests.swift",
        "LlamaTypedGrammarTests.swift"
      ],
      "target_dependencies" : [
        "SwiftLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLlama",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlama",
      "path" : "Sources/SwiftLlama",
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
        "Llama.swift",
        "LlamaBackend.swift",
        "LlamaBatch.swift",
        "LlamaChatMessage.swift",
        "LlamaConfig.swift",
        "LlamaContext.swift",
        "LlamaContextUsage.swift",
        "LlamaError.swift",
        "LlamaExecutorRuntime.swift",
        "LlamaGrammarConfig.swift",
        "LlamaLanguageModel.swift",
        "LlamaLogger.swift",
        "LlamaLoraAdapter.swift",
        "LlamaMemory.swift",
        "LlamaModel.swift",
        "LlamaRepetitionPenaltyConfig.swift",
        "LlamaResponseEmitter.swift",
        "LlamaSampler.swift",
        "LlamaSamplingConfig.swift",
        "LlamaService.swift",
        "LlamaToolCalling.swift",
        "LlamaTranscriptMapper.swift",
        "LlamaTypedJSONGrammarBuilder.swift",
        "LlamaUTF8Decoder.swift",
        "Task+Extensions.swift"
      ],
      "target_dependencies" : [
        "llama"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "swift-llama-cpp"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-llama-cpp -destination generic/platform=tvOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme swift-llama-cpp -destination generic/platform=tvOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Resolved source packages:
  swift-llama-cpp: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'SwiftLlama' in project 'swift-llama-cpp'
        ➜ Explicit dependency on target 'SwiftLlama' in project 'swift-llama-cpp'
    Target 'SwiftLlama' in project 'swift-llama-cpp' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 5c26e4dd311ea3243cf5fee138590e0d
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/5c26e4dd311ea3243cf5fee138590e0d.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama/llama.xcframework:1:1: error: While building for tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama/llama.xcframework'. (in target 'SwiftLlama' from project 'swift-llama-cpp')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama/llama.xcframework:1:1: error: While building for tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama/llama.xcframework'. (in target 'SwiftLlama' from project 'swift-llama-cpp')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme swift-llama-cpp
(1 failure)
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  swift-llama-cpp: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-llama-cpp
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-llama-cpp",
  "name" : "swift-llama-cpp",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLlama",
      "targets" : [
        "SwiftLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama",
      "module_type" : "BinaryTarget",
      "name" : "llama",
      "path" : "remote/archive/llama-b10964-xcframework.zip",
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "SwiftLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlamaTests",
      "path" : "Tests/SwiftLlamaTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftLlamaTests/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "GemmaCompatibilityTests.swift",
        "Helpers/URL+Extensions.swift",
        "LlamaAuditProbes.swift",
        "LlamaBackendTests.swift",
        "LlamaBehaviorTests.swift",
        "LlamaCacheReuseTests.swift",
        "LlamaContextTests.swift",
        "LlamaDiagnosticsTests.swift",
        "LlamaGrammarRegressionTests.swift",
        "LlamaLanguageModelTests.swift",
        "LlamaLifecycleRegressionTests.swift",
        "LlamaModelTests.swift",
        "LlamaPerformanceTests.swift",
        "LlamaRegressionTests.swift",
        "LlamaSamplerPerformanceTests.swift",
        "LlamaSamplerTests.swift",
        "LlamaServiceTests.swift",
        "LlamaTests.swift",
        "LlamaToolCallingTests.swift",
        "LlamaTypedGrammarTests.swift"
      ],
      "target_dependencies" : [
        "SwiftLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLlama",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlama",
      "path" : "Sources/SwiftLlama",
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
        "Llama.swift",
        "LlamaBackend.swift",
        "LlamaBatch.swift",
        "LlamaChatMessage.swift",
        "LlamaConfig.swift",
        "LlamaContext.swift",
        "LlamaContextUsage.swift",
        "LlamaError.swift",
        "LlamaExecutorRuntime.swift",
        "LlamaGrammarConfig.swift",
        "LlamaLanguageModel.swift",
        "LlamaLogger.swift",
        "LlamaLoraAdapter.swift",
        "LlamaMemory.swift",
        "LlamaModel.swift",
        "LlamaRepetitionPenaltyConfig.swift",
        "LlamaResponseEmitter.swift",
        "LlamaSampler.swift",
        "LlamaSamplingConfig.swift",
        "LlamaService.swift",
        "LlamaToolCalling.swift",
        "LlamaTranscriptMapper.swift",
        "LlamaTypedJSONGrammarBuilder.swift",
        "LlamaUTF8Decoder.swift",
        "Task+Extensions.swift"
      ],
      "target_dependencies" : [
        "llama"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "swift-llama-cpp"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-llama-cpp -destination generic/platform=tvOS
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme swift-llama-cpp -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
  swift-llama-cpp: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'SwiftLlama' in project 'swift-llama-cpp'
        ➜ Explicit dependency on target 'SwiftLlama' in project 'swift-llama-cpp'
    Target 'SwiftLlama' in project 'swift-llama-cpp' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 21096da926b95a1c76eeb8f9cfc9b0ff
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/21096da926b95a1c76eeb8f9cfc9b0ff.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama/llama.xcframework:1:1: error: While building for tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama/llama.xcframework'. (in target 'SwiftLlama' from project 'swift-llama-cpp')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama/llama.xcframework:1:1: error: While building for tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama/llama.xcframework'. (in target 'SwiftLlama' from project 'swift-llama-cpp')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme swift-llama-cpp
(1 failure)
BUILD FAILURE 6.1 tvOS