The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build llama.swift, reference main (b51589), with Swift 6.0 for watchOS using Xcode 16.2 on 15 Dec 2025 03:16:37 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/llama.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mattt/llama.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b515891 Update llama.cpp release to b7404
Cloned https://github.com/mattt/llama.swift.git
Revision (git rev-parse @):
b515891567e3602659ba074a0876a3faf73e4819
SUCCESS checkout https://github.com/mattt/llama.swift.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mattt/llama.swift.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
Resolve Package Graph
Resolved source packages:
  llama.swift: /Users/admin/builder/spi-builder-workspace
resolved source packages: llama.swift
{
  "dependencies" : [
  ],
  "manifest_display_name" : "llama.swift",
  "name" : "llama.swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Llama",
      "targets" : [
        "Llama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama_cpp",
      "module_type" : "BinaryTarget",
      "name" : "llama-cpp",
      "path" : "remote/archive/llama-b7404-xcframework.zip",
      "product_memberships" : [
        "Llama"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "LlamaTests",
      "path" : "Tests/LlamaTests",
      "sources" : [
        "LlamaTests.swift"
      ],
      "target_dependencies" : [
        "Llama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Llama",
      "module_type" : "SwiftTarget",
      "name" : "Llama",
      "path" : "Sources/Llama",
      "product_memberships" : [
        "Llama"
      ],
      "sources" : [
        "Llama.swift"
      ],
      "target_dependencies" : [
        "llama-cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "llama.swift"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme llama.swift -destination generic/platform=watchOS
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 llama.swift -destination generic/platform=watchOS
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:
  llama.swift: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'Llama' in project 'llama.swift'
        ➜ Explicit dependency on target 'Llama' in project 'llama.swift'
    Target 'Llama' in project 'llama.swift' (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/WatchOS.platform/Developer/SDKs/WatchOS11.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: 2198364c15e5f3f84b427303d8e53547
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/2198364c15e5f3f84b427303d8e53547.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama-cpp/llama.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama-cpp/llama.xcframework'. (in target 'Llama' from project 'llama.swift')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama-cpp/llama.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama-cpp/llama.xcframework'. (in target 'Llama' from project 'llama.swift')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme llama.swift
(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:
  llama.swift: /Users/admin/builder/spi-builder-workspace
resolved source packages: llama.swift
{
  "dependencies" : [
  ],
  "manifest_display_name" : "llama.swift",
  "name" : "llama.swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Llama",
      "targets" : [
        "Llama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama_cpp",
      "module_type" : "BinaryTarget",
      "name" : "llama-cpp",
      "path" : "remote/archive/llama-b7404-xcframework.zip",
      "product_memberships" : [
        "Llama"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "LlamaTests",
      "path" : "Tests/LlamaTests",
      "sources" : [
        "LlamaTests.swift"
      ],
      "target_dependencies" : [
        "Llama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Llama",
      "module_type" : "SwiftTarget",
      "name" : "Llama",
      "path" : "Sources/Llama",
      "product_memberships" : [
        "Llama"
      ],
      "sources" : [
        "Llama.swift"
      ],
      "target_dependencies" : [
        "llama-cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "llama.swift"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme llama.swift -destination generic/platform=watchOS
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 llama.swift -destination generic/platform=watchOS
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:
  llama.swift: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'Llama' in project 'llama.swift'
        ➜ Explicit dependency on target 'Llama' in project 'llama.swift'
    Target 'Llama' in project 'llama.swift' (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/WatchOS.platform/Developer/SDKs/WatchOS11.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: 2198364c15e5f3f84b427303d8e53547
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/2198364c15e5f3f84b427303d8e53547.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama-cpp/llama.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama-cpp/llama.xcframework'. (in target 'Llama' from project 'llama.swift')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama-cpp/llama.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/llama-cpp/llama.xcframework'. (in target 'Llama' from project 'llama.swift')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme llama.swift
(1 failure)
BUILD FAILURE 6.0 watchOS