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 LLM, reference v1.7.2 (e71431), with Swift 5.9 for watchOS using Xcode 15.2 on 7 May 2025 16:35:26 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eastriverlee/LLM.swift.git
Reference: v1.7.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/eastriverlee/LLM.swift
 * tag               v1.7.2     -> FETCH_HEAD
HEAD is now at e714315 update xcframework and README.md
Cloned https://github.com/eastriverlee/LLM.swift.git
Revision (git rev-parse @):
e714315a389e2e6dff15d16f249c61b90c118331
SUCCESS checkout https://github.com/eastriverlee/LLM.swift.git at v1.7.2
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             5.9
Building package at path:  $PWD
https://github.com/eastriverlee/LLM.swift.git
Command line invocation:
    /Applications/Xcode-15.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
Resolve Package Graph
Resolved source packages:
  LLM: /Users/admin/builder/spi-builder-workspace
resolved source packages: LLM
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LLM",
  "name" : "LLM",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "LLM",
      "targets" : [
        "LLM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama",
      "module_type" : "BinaryTarget",
      "name" : "llama",
      "path" : "llama.cpp/llama.xcframework",
      "product_memberships" : [
        "LLM"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LLMTests",
      "module_type" : "SwiftTarget",
      "name" : "LLMTests",
      "path" : "Tests/LLMTests",
      "sources" : [
        "LLMTests.swift"
      ],
      "target_dependencies" : [
        "LLM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LLM",
      "module_type" : "SwiftTarget",
      "name" : "LLM",
      "path" : "Sources/LLM",
      "product_memberships" : [
        "LLM"
      ],
      "sources" : [
        "LLM.swift"
      ],
      "target_dependencies" : [
        "llama"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "LLM"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LLM -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-15.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 LLM -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:
  LLM: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'LLMTests' in project 'LLM'
        ➜ Explicit dependency on target 'LLM' in project 'LLM'
    Target 'LLM' in project 'LLM'
        ➜ Explicit dependency on target 'LLM' in project 'LLM'
    Target 'LLM' in project 'LLM' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 35c59250274687f086fb4684d4899570
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/35c59250274687f086fb4684d4899570.xcbuilddata
/Users/admin/builder/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/llama.cpp/llama.xcframework'. (in target 'LLMTests' from project 'LLM')
/Users/admin/builder/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/llama.cpp/llama.xcframework'. (in target 'LLM' from project 'LLM')
/Users/admin/builder/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/llama.cpp/llama.xcframework'. (in target 'LLM' from project 'LLM')
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.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:
  LLM: /Users/admin/builder/spi-builder-workspace
resolved source packages: LLM
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LLM",
  "name" : "LLM",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "LLM",
      "targets" : [
        "LLM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama",
      "module_type" : "BinaryTarget",
      "name" : "llama",
      "path" : "llama.cpp/llama.xcframework",
      "product_memberships" : [
        "LLM"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LLMTests",
      "module_type" : "SwiftTarget",
      "name" : "LLMTests",
      "path" : "Tests/LLMTests",
      "sources" : [
        "LLMTests.swift"
      ],
      "target_dependencies" : [
        "LLM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LLM",
      "module_type" : "SwiftTarget",
      "name" : "LLM",
      "path" : "Sources/LLM",
      "product_memberships" : [
        "LLM"
      ],
      "sources" : [
        "LLM.swift"
      ],
      "target_dependencies" : [
        "llama"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "LLM"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LLM -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-15.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 LLM -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:
  LLM: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'LLMTests' in project 'LLM'
        ➜ Explicit dependency on target 'LLM' in project 'LLM'
    Target 'LLM' in project 'LLM'
        ➜ Explicit dependency on target 'LLM' in project 'LLM'
    Target 'LLM' in project 'LLM' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 35c59250274687f086fb4684d4899570
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/35c59250274687f086fb4684d4899570.xcbuilddata
/Users/admin/builder/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/llama.cpp/llama.xcframework'. (in target 'LLM' from project 'LLM')
/Users/admin/builder/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/llama.cpp/llama.xcframework'. (in target 'LLM' from project 'LLM')
/Users/admin/builder/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/llama.cpp/llama.xcframework'. (in target 'LLMTests' from project 'LLM')
** BUILD FAILED **
BUILD FAILURE 5.9 watchOS