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.1 for watchOS using Xcode 16.3 on 15 Dec 2025 03:15:43 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: 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.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-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"
}
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-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.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: 38825d534df94adb659acc9276c597ab
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/38825d534df94adb659acc9276c597ab.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-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.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: faad95dd2c10a906117412ddb1967c7a
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/faad95dd2c10a906117412ddb1967c7a.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