Build Information
Failed to build SwiftLlama, reference main (792181
), with Swift 6.1 for watchOS using Xcode 16.3 on 26 Aug 2025 09:41:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftLlama -destination generic/platform=watchOS
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/SwiftLlama.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ShenghaiWang/SwiftLlama
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7921814 Merge pull request #22 from gpotari/main
Cloned https://github.com/ShenghaiWang/SwiftLlama.git
Revision (git rev-parse @):
792181492beff9edba52314a040032cefb19edd6
SUCCESS checkout https://github.com/ShenghaiWang/SwiftLlama.git at main
========================================
Build
========================================
Selected platform: watchOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/ShenghaiWang/SwiftLlama.git
https://github.com/ShenghaiWang/SwiftLlama.git
{
"dependencies" : [
{
"identity" : "llama.cpp",
"requirement" : {
"revision" : [
"b6d6c5289f1c9c677657c380591201ddb210b649"
]
},
"type" : "sourceControl",
"url" : "https://github.com/ggerganov/llama.cpp.git"
}
],
"manifest_display_name" : "SwiftLlama",
"name" : "SwiftLlama",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "watchos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "visionos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "SwiftLlama",
"targets" : [
"SwiftLlama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLlamaTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLlamaTests",
"path" : "Tests/SwiftLlamaTests",
"sources" : [
"SwiftLlamaTests.swift"
],
"target_dependencies" : [
"SwiftLlama"
],
"type" : "test"
},
{
"c99name" : "SwiftLlama",
"module_type" : "SwiftTarget",
"name" : "SwiftLlama",
"path" : "Sources/SwiftLlama",
"product_dependencies" : [
"llama"
],
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
"LlamaModel.swift",
"Models/Batch.swift",
"Models/Chat.swift",
"Models/Configuration.swift",
"Models/Prompt.swift",
"Models/Session.swift",
"Models/StopToken.swift",
"Models/SwiftLlamaError.swift",
"Models/TypeAlias.swift",
"Swiftllama.swift",
"SwiftllamaActor.swift"
],
"target_dependencies" : [
"LlamaFramework"
],
"type" : "library"
},
{
"c99name" : "LlamaFramework",
"module_type" : "BinaryTarget",
"name" : "LlamaFramework",
"path" : "remote/archive/llama-b5046-xcframework.zip",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
],
"type" : "binary"
}
],
"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
Fetching from https://github.com/ggerganov/llama.cpp.git
Creating working copy of package ‘llama.cpp’
Checking out b6d6c5289f1c9c677657c380591201ddb210b649 of package ‘llama.cpp’
Resolve Package Graph
Resolved source packages:
llama: https://github.com/ggerganov/llama.cpp.git @ b6d6c52
SwiftLlama: /Users/admin/builder/spi-builder-workspace
resolved source packages: llama, SwiftLlama
{
"dependencies" : [
{
"identity" : "llama.cpp",
"requirement" : {
"revision" : [
"b6d6c5289f1c9c677657c380591201ddb210b649"
]
},
"type" : "sourceControl",
"url" : "https://github.com/ggerganov/llama.cpp.git"
}
],
"manifest_display_name" : "SwiftLlama",
"name" : "SwiftLlama",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "watchos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "visionos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "SwiftLlama",
"targets" : [
"SwiftLlama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLlamaTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLlamaTests",
"path" : "Tests/SwiftLlamaTests",
"sources" : [
"SwiftLlamaTests.swift"
],
"target_dependencies" : [
"SwiftLlama"
],
"type" : "test"
},
{
"c99name" : "SwiftLlama",
"module_type" : "SwiftTarget",
"name" : "SwiftLlama",
"path" : "Sources/SwiftLlama",
"product_dependencies" : [
"llama"
],
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
"LlamaModel.swift",
"Models/Batch.swift",
"Models/Chat.swift",
"Models/Configuration.swift",
"Models/Prompt.swift",
"Models/Session.swift",
"Models/StopToken.swift",
"Models/SwiftLlamaError.swift",
"Models/TypeAlias.swift",
"Swiftllama.swift",
"SwiftllamaActor.swift"
],
"target_dependencies" : [
"LlamaFramework"
],
"type" : "library"
},
{
"c99name" : "LlamaFramework",
"module_type" : "BinaryTarget",
"name" : "LlamaFramework",
"path" : "remote/archive/llama-b5046-xcframework.zip",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"SwiftLlama"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftLlama -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 SwiftLlama -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
Resolve Package Graph
Resolved source packages:
SwiftLlama: /Users/admin/builder/spi-builder-workspace
llama: https://github.com/ggerganov/llama.cpp.git @ b6d6c52
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
Target 'SwiftLlama' in project 'SwiftLlama'
➜ Explicit dependency on target 'SwiftLlama' in project 'SwiftLlama'
➜ Explicit dependency on target 'llama' in project 'llama'
Target 'SwiftLlama' in project 'SwiftLlama'
➜ Explicit dependency on target 'llama' in project 'llama'
Target 'llama' in project 'llama'
➜ Explicit dependency on target 'llama' in project 'llama'
➜ Explicit dependency on target 'llama_llama' in project 'llama'
Target 'llama' in project 'llama'
➜ Explicit dependency on target 'llama_llama' in project 'llama'
Target 'llama_llama' in project 'llama' (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/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x objective-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/clang -v -E -dM -arch arm64 -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/clang -v -E -dM -arch arm64 -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
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -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/clang -v -E -dM -arch armv7k -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/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -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/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c++ -c /dev/null
Build description signature: 0ba06e0637bed6650710880ea9621878
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/0ba06e0637bed6650710880ea9621878.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/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/LlamaFramework/llama.xcframework'. (in target 'SwiftLlama' from project 'SwiftLlama')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/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/LlamaFramework/llama.xcframework'. (in target 'SwiftLlama' from project 'SwiftLlama')
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme SwiftLlama
(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:
SwiftLlama: /Users/admin/builder/spi-builder-workspace
llama: https://github.com/ggerganov/llama.cpp.git @ b6d6c52
resolved source packages: SwiftLlama, llama
{
"dependencies" : [
{
"identity" : "llama.cpp",
"requirement" : {
"revision" : [
"b6d6c5289f1c9c677657c380591201ddb210b649"
]
},
"type" : "sourceControl",
"url" : "https://github.com/ggerganov/llama.cpp.git"
}
],
"manifest_display_name" : "SwiftLlama",
"name" : "SwiftLlama",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "watchos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "visionos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "SwiftLlama",
"targets" : [
"SwiftLlama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLlamaTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLlamaTests",
"path" : "Tests/SwiftLlamaTests",
"sources" : [
"SwiftLlamaTests.swift"
],
"target_dependencies" : [
"SwiftLlama"
],
"type" : "test"
},
{
"c99name" : "SwiftLlama",
"module_type" : "SwiftTarget",
"name" : "SwiftLlama",
"path" : "Sources/SwiftLlama",
"product_dependencies" : [
"llama"
],
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
"LlamaModel.swift",
"Models/Batch.swift",
"Models/Chat.swift",
"Models/Configuration.swift",
"Models/Prompt.swift",
"Models/Session.swift",
"Models/StopToken.swift",
"Models/SwiftLlamaError.swift",
"Models/TypeAlias.swift",
"Swiftllama.swift",
"SwiftllamaActor.swift"
],
"target_dependencies" : [
"LlamaFramework"
],
"type" : "library"
},
{
"c99name" : "LlamaFramework",
"module_type" : "BinaryTarget",
"name" : "LlamaFramework",
"path" : "remote/archive/llama-b5046-xcframework.zip",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"SwiftLlama"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftLlama -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 SwiftLlama -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftLlama: /Users/admin/builder/spi-builder-workspace
llama: https://github.com/ggerganov/llama.cpp.git @ b6d6c52
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
Target 'SwiftLlama' in project 'SwiftLlama'
➜ Explicit dependency on target 'SwiftLlama' in project 'SwiftLlama'
➜ Explicit dependency on target 'llama' in project 'llama'
Target 'SwiftLlama' in project 'SwiftLlama'
➜ Explicit dependency on target 'llama' in project 'llama'
Target 'llama' in project 'llama'
➜ Explicit dependency on target 'llama' in project 'llama'
➜ Explicit dependency on target 'llama_llama' in project 'llama'
Target 'llama' in project 'llama'
➜ Explicit dependency on target 'llama_llama' in project 'llama'
Target 'llama_llama' in project 'llama' (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/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -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/clang -v -E -dM -arch arm64 -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
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -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/clang -v -E -dM -arch armv7k -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/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -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/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c++ -c /dev/null
Build description signature: c8bf2b7ab7d81df84b1dbfb77d8260e6
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c8bf2b7ab7d81df84b1dbfb77d8260e6.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/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/LlamaFramework/llama.xcframework'. (in target 'SwiftLlama' from project 'SwiftLlama')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/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/LlamaFramework/llama.xcframework'. (in target 'SwiftLlama' from project 'SwiftLlama')
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme SwiftLlama
(1 failure)
BUILD FAILURE 6.1 watchOS