The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AIChatKitLlama, reference main (415c82), with Swift 6.1 for watchOS using Xcode 16.3 on 9 Oct 2026 04:20:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NerdSnipe-Inc/AIChatKitLlama
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 415c82b docs: document nBatch and defaults; cross-link AIChatKitMLX
Cloned https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
Revision (git rev-parse @):
415c82bdb0215c8b8555ecb123e915ee668238f3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NerdSnipe-Inc/AIChatKitLlama.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.1
Building package at path:  $PWD
https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
{
  "dependencies" : [
    {
      "identity" : "aichatkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NerdSnipe-Inc/AIChatKit.git"
    },
    {
      "identity" : "llama.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.9469.0",
            "upper_bound" : "2.9470.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattt/llama.swift"
    }
  ],
  "manifest_display_name" : "AIChatKitLlama",
  "name" : "AIChatKitLlama",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "AIChatLlama",
      "targets" : [
        "AIChatLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AIChatLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "AIChatLlamaTests",
      "path" : "Tests/AIChatLlamaTests",
      "sources" : [
        "LlamaChatTemplateTests.swift"
      ],
      "target_dependencies" : [
        "AIChatLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIChatLlama",
      "module_type" : "SwiftTarget",
      "name" : "AIChatLlama",
      "path" : "Sources/AIChatLlama",
      "product_dependencies" : [
        "AIChatCore",
        "LlamaSwift"
      ],
      "product_memberships" : [
        "AIChatLlama"
      ],
      "sources" : [
        "LlamaChatTemplate.swift",
        "LlamaContext.swift",
        "LlamaProvider.swift",
        "LlamaSampler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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
Fetching from https://github.com/mattt/llama.swift
Fetching from https://github.com/NerdSnipe-Inc/AIChatKit.git
Fetching from https://github.com/kevinhermawan/swift-json-schema.git
Fetching from https://github.com/JohnSundell/Splash.git
Fetching from https://github.com/gonzalezreal/swift-markdown-ui.git
Fetching from https://github.com/gonzalezreal/NetworkImage
Fetching from https://github.com/swiftlang/swift-cmark
Creating working copy of package ‘swift-json-schema’
Checking out 2.0.1 of package ‘swift-json-schema’
Creating working copy of package ‘AIChatKit’
Checking out 2.0.0 of package ‘AIChatKit’
Creating working copy of package ‘llama.swift’
Checking out 2.9469.0 of package ‘llama.swift’
Creating working copy of package ‘NetworkImage’
Checking out 6.0.1 of package ‘NetworkImage’
Creating working copy of package ‘swift-markdown-ui’
Checking out 2.4.1 of package ‘swift-markdown-ui’
Creating working copy of package ‘Splash’
Checking out 0.16.0 of package ‘Splash’
Creating working copy of package ‘swift-cmark’
Checking out 0.9.0 of package ‘swift-cmark’
Resolve Package Graph
Resolved source packages:
  Splash: https://github.com/JohnSundell/Splash.git @ 0.16.0
  swift-markdown-ui: https://github.com/gonzalezreal/swift-markdown-ui.git @ 2.4.1
  llama.swift: https://github.com/mattt/llama.swift @ 2.9469.0
  cmark-gfm: https://github.com/swiftlang/swift-cmark @ 0.9.0
  AIChatKit: https://github.com/NerdSnipe-Inc/AIChatKit.git @ 2.0.0
  AIChatKitLlama: /Users/admin/builder/spi-builder-workspace
  JSONSchema: https://github.com/kevinhermawan/swift-json-schema.git @ 2.0.1
  NetworkImage: https://github.com/gonzalezreal/NetworkImage @ 6.0.1
resolved source packages: Splash, swift-markdown-ui, llama.swift, cmark-gfm, AIChatKit, AIChatKitLlama, JSONSchema, NetworkImage
{
  "dependencies" : [
    {
      "identity" : "aichatkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NerdSnipe-Inc/AIChatKit.git"
    },
    {
      "identity" : "llama.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.9469.0",
            "upper_bound" : "2.9470.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattt/llama.swift"
    }
  ],
  "manifest_display_name" : "AIChatKitLlama",
  "name" : "AIChatKitLlama",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "AIChatLlama",
      "targets" : [
        "AIChatLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AIChatLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "AIChatLlamaTests",
      "path" : "Tests/AIChatLlamaTests",
      "sources" : [
        "LlamaChatTemplateTests.swift"
      ],
      "target_dependencies" : [
        "AIChatLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIChatLlama",
      "module_type" : "SwiftTarget",
      "name" : "AIChatLlama",
      "path" : "Sources/AIChatLlama",
      "product_dependencies" : [
        "AIChatCore",
        "LlamaSwift"
      ],
      "product_memberships" : [
        "AIChatLlama"
      ],
      "sources" : [
        "LlamaChatTemplate.swift",
        "LlamaContext.swift",
        "LlamaProvider.swift",
        "LlamaSampler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "AIChatKitLlama",
      "MarkdownUI"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "AIChatKitLlama",
      "MarkdownUI"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AIChatKitLlama -destination generic/platform=watchOS 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 AIChatKitLlama -destination generic/platform=watchOS "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
Resolve Package Graph
Resolved source packages:
  Splash: https://github.com/JohnSundell/Splash.git @ 0.16.0
  swift-markdown-ui: https://github.com/gonzalezreal/swift-markdown-ui.git @ 2.4.1
  AIChatKitLlama: /Users/admin/builder/spi-builder-workspace
  llama.swift: https://github.com/mattt/llama.swift @ 2.9469.0
  JSONSchema: https://github.com/kevinhermawan/swift-json-schema.git @ 2.0.1
  NetworkImage: https://github.com/gonzalezreal/NetworkImage @ 6.0.1
  cmark-gfm: https://github.com/swiftlang/swift-cmark @ 0.9.0
  AIChatKit: https://github.com/NerdSnipe-Inc/AIChatKit.git @ 2.0.0
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (8 targets)
    Target 'AIChatLlama' in project 'AIChatKitLlama'
        ➜ Explicit dependency on target 'AIChatLlama' in project 'AIChatKitLlama'
        ➜ Explicit dependency on target 'AIChatCore' in project 'AIChatKit'
        ➜ Explicit dependency on target 'LlamaSwift' in project 'llama.swift'
    Target 'AIChatLlama' in project 'AIChatKitLlama'
        ➜ Explicit dependency on target 'AIChatCore' in project 'AIChatKit'
        ➜ Explicit dependency on target 'LlamaSwift' in project 'llama.swift'
    Target 'LlamaSwift' in project 'llama.swift'
        ➜ Explicit dependency on target 'LlamaSwift' in project 'llama.swift'
    Target 'LlamaSwift' in project 'llama.swift' (no dependencies)
    Target 'AIChatCore' in project 'AIChatKit'
        ➜ Explicit dependency on target 'AIChatCore' in project 'AIChatKit'
        ➜ Explicit dependency on target 'JSONSchema' in project 'JSONSchema'
    Target 'AIChatCore' in project 'AIChatKit'
        ➜ Explicit dependency on target 'JSONSchema' in project 'JSONSchema'
    Target 'JSONSchema' in project 'JSONSchema'
        ➜ Explicit dependency on target 'JSONSchema' in project 'JSONSchema'
    Target 'JSONSchema' in project 'JSONSchema' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
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/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/ld -version_details
ReadFileContents /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: aed2b78c31f9a3a90c1515bd5cdc62c0
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/aed2b78c31f9a3a90c1515bd5cdc62c0.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/llama.swift/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/llama.swift/llama-cpp/llama.xcframework'. (in target 'LlamaSwift' from project 'llama.swift')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/llama.swift/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/llama.swift/llama-cpp/llama.xcframework'. (in target 'AIChatLlama' from project 'AIChatKitLlama')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/llama.swift/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/llama.swift/llama-cpp/llama.xcframework'. (in target 'LlamaSwift' from project 'llama.swift')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme AIChatKitLlama
(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:
  NetworkImage: https://github.com/gonzalezreal/NetworkImage @ 6.0.1
  cmark-gfm: https://github.com/swiftlang/swift-cmark @ 0.9.0
  JSONSchema: https://github.com/kevinhermawan/swift-json-schema.git @ 2.0.1
  llama.swift: https://github.com/mattt/llama.swift @ 2.9469.0
  swift-markdown-ui: https://github.com/gonzalezreal/swift-markdown-ui.git @ 2.4.1
  AIChatKitLlama: /Users/admin/builder/spi-builder-workspace
  Splash: https://github.com/JohnSundell/Splash.git @ 0.16.0
  AIChatKit: https://github.com/NerdSnipe-Inc/AIChatKit.git @ 2.0.0
resolved source packages: NetworkImage, cmark-gfm, JSONSchema, llama.swift, swift-markdown-ui, AIChatKitLlama, Splash, AIChatKit
{
  "dependencies" : [
    {
      "identity" : "aichatkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NerdSnipe-Inc/AIChatKit.git"
    },
    {
      "identity" : "llama.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.9469.0",
            "upper_bound" : "2.9470.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattt/llama.swift"
    }
  ],
  "manifest_display_name" : "AIChatKitLlama",
  "name" : "AIChatKitLlama",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "AIChatLlama",
      "targets" : [
        "AIChatLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AIChatLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "AIChatLlamaTests",
      "path" : "Tests/AIChatLlamaTests",
      "sources" : [
        "LlamaChatTemplateTests.swift"
      ],
      "target_dependencies" : [
        "AIChatLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIChatLlama",
      "module_type" : "SwiftTarget",
      "name" : "AIChatLlama",
      "path" : "Sources/AIChatLlama",
      "product_dependencies" : [
        "AIChatCore",
        "LlamaSwift"
      ],
      "product_memberships" : [
        "AIChatLlama"
      ],
      "sources" : [
        "LlamaChatTemplate.swift",
        "LlamaContext.swift",
        "LlamaProvider.swift",
        "LlamaSampler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "AIChatKitLlama",
      "MarkdownUI"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "AIChatKitLlama",
      "MarkdownUI"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AIChatKitLlama -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 AIChatKitLlama -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  JSONSchema: https://github.com/kevinhermawan/swift-json-schema.git @ 2.0.1
  cmark-gfm: https://github.com/swiftlang/swift-cmark @ 0.9.0
  swift-markdown-ui: https://github.com/gonzalezreal/swift-markdown-ui.git @ 2.4.1
  NetworkImage: https://github.com/gonzalezreal/NetworkImage @ 6.0.1
  AIChatKitLlama: /Users/admin/builder/spi-builder-workspace
  llama.swift: https://github.com/mattt/llama.swift @ 2.9469.0
  AIChatKit: https://github.com/NerdSnipe-Inc/AIChatKit.git @ 2.0.0
  Splash: https://github.com/JohnSundell/Splash.git @ 0.16.0
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (8 targets)
    Target 'AIChatLlama' in project 'AIChatKitLlama'
        ➜ Explicit dependency on target 'AIChatLlama' in project 'AIChatKitLlama'
        ➜ Explicit dependency on target 'AIChatCore' in project 'AIChatKit'
        ➜ Explicit dependency on target 'LlamaSwift' in project 'llama.swift'
    Target 'AIChatLlama' in project 'AIChatKitLlama'
        ➜ Explicit dependency on target 'AIChatCore' in project 'AIChatKit'
        ➜ Explicit dependency on target 'LlamaSwift' in project 'llama.swift'
    Target 'LlamaSwift' in project 'llama.swift'
        ➜ Explicit dependency on target 'LlamaSwift' in project 'llama.swift'
    Target 'LlamaSwift' in project 'llama.swift' (no dependencies)
    Target 'AIChatCore' in project 'AIChatKit'
        ➜ Explicit dependency on target 'AIChatCore' in project 'AIChatKit'
        ➜ Explicit dependency on target 'JSONSchema' in project 'JSONSchema'
    Target 'AIChatCore' in project 'AIChatKit'
        ➜ Explicit dependency on target 'JSONSchema' in project 'JSONSchema'
    Target 'JSONSchema' in project 'JSONSchema'
        ➜ Explicit dependency on target 'JSONSchema' in project 'JSONSchema'
    Target 'JSONSchema' in project 'JSONSchema' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
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/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/ld -version_details
ReadFileContents /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: dcf1e80fb66caed8dc464dc70d224bd0
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/dcf1e80fb66caed8dc464dc70d224bd0.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/llama.swift/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/llama.swift/llama-cpp/llama.xcframework'. (in target 'LlamaSwift' from project 'llama.swift')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/llama.swift/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/llama.swift/llama-cpp/llama.xcframework'. (in target 'LlamaSwift' from project 'llama.swift')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/llama.swift/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/llama.swift/llama-cpp/llama.xcframework'. (in target 'AIChatLlama' from project 'AIChatKitLlama')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme AIChatKitLlama
(1 failure)
BUILD FAILURE 6.1 watchOS