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 1.7406.0 (fe7a05), with Swift 6.1 for watchOS using Xcode 16.3 on 15 Dec 2025 11:41:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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: 1.7406.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mattt/llama.swift
 * tag               1.7406.0   -> FETCH_HEAD
HEAD is now at fe7a054 Update llama.cpp release to b7406
Cloned https://github.com/mattt/llama.swift.git
Revision (git rev-parse @):
fe7a054aee9ed6eb3d9eb59d06350609cf252282
SUCCESS checkout https://github.com/mattt/llama.swift.git at 1.7406.0
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mattt/llama.swift.git
https://github.com/mattt/llama.swift.git
{
  "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-b7406-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"
}
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:
  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-b7406-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.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme llama.swift -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats
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 llama.swift -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats"
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats
Resolve Package Graph
Resolved source packages:
  llama.swift: /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 '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.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.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: 50cf9f814432e6db1bba5d0429eaae2c
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/50cf9f814432e6db1bba5d0429eaae2c.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.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
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-b7406-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.3.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.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 llama.swift -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  llama.swift: /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 '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.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.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: 5b878a620a65a1b4c45a47257070ceee
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/5b878a620a65a1b4c45a47257070ceee.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.1 watchOS