Build Information
Failed to build SwiftLlama, reference main (792181
), with Swift 6.2 (beta) for visionOS using Xcode 26.0 on 26 Aug 2025 09:41:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftLlama -destination generic/platform=xrOS
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: visionOS
Swift version: 6.2
Building package at path: $PWD
https://github.com/ShenghaiWang/SwiftLlama.git
Command line invocation:
/Applications/Xcode-26.0.0-Beta.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-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftLlama -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-26.0.0-Beta.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=xrOS
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
llama: https://github.com/ggerganov/llama.cpp.git @ b6d6c52
SwiftLlama: /Users/admin/builder/spi-builder-workspace
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-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -x c++ -c /dev/null
Build description signature: 0a61e282c755d9e6820eb70ee5c15816
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/0a61e282c755d9e6820eb70ee5c15816.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros26.0-23M5263k-63777232b7fc5220f33897c1cc69dbf5.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros26.0-23M5263k-63777232b7fc5220f33897c1cc69dbf5.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/llama.modulemap (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/llama.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/llama.DependencyStaticMetadataFileList (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/llama.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/llama.DependencyMetadataFileList (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/llama.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources/resource_bundle_accessor.h (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources/resource_bundle_accessor.h
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources/resource_bundle_accessor.m (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources/resource_bundle_accessor.m
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/Objects-normal/arm64/llama.LinkFileList (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/Objects-normal/arm64/llama.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp
-target arm64-apple-xros1.0 -fmodules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=llama' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' -DGGML_USE_ACCELERATE -DGGML_USE_METAL -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -g -fprofile-instr-generate -fcoverage-mapping -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/spm-headers -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk/Developer/Library/Frameworks -DXcode -O3 -DNDEBUG -fno-objc-arc
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp
-target arm64-apple-xros1.0 '-std=c++11' -fmodules -fno-cxx-modules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=llama' '-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' -DGGML_USE_ACCELERATE -DGGML_USE_METAL -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -g -fvisibility-inlines-hidden -fprofile-instr-generate -fcoverage-mapping -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/spm-headers -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk/Developer/Library/Frameworks -DXcode -O3 -DNDEBUG -fno-objc-arc
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
-target arm64-apple-xros1.0 -fobjc-arc -fmodules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=llama' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' -DGGML_USE_ACCELERATE -DGGML_USE_METAL '-DOBJC_OLD_DISPATCH_PROTOTYPES=1' -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -g -fprofile-instr-generate -fcoverage-mapping -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/spm-headers -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk/Developer/Library/Frameworks -DXcode -O3 -DNDEBUG -fno-objc-arc
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/llama_llama.bundle (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
/bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/llama_llama.bundle
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/empty-llama_llama.plist (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/empty-llama_llama.plist
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/llama_llama.DependencyStaticMetadataFileList (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/llama_llama.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/llama_llama.DependencyMetadataFileList (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/llama_llama.DependencyMetadataFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/llama.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/llama.modulemap (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama.build/llama.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
ProcessXCFramework /Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/llama.xcframework /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/llama.framework xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-process-xcframework --xcframework /Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/llama.xcframework --platform xros --target-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/llama_llama.bundle/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/empty-llama_llama.plist (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
builtin-infoPlistUtility /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/empty-llama_llama.plist -producttype com.apple.product-type.bundle -expandbuildsettings -format binary -platform xros -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/llama_llama.bundle/Info.plist
CompileMetalFile /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal -c -target air64-apple-xros1.0 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -fmetal-math-mode\=fast -fmetal-math-fp32-functions\=fast -serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/Metal/ggml-metal.dia -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/Metal/ggml-metal.air -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/Metal/ggml-metal.dat /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/Metal/ggml-metal.dia:1:1: warning: Could not read serialized diagnostics file: error("Failed to open diagnostics file") (in target 'llama_llama' from project 'llama')
error: error: cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain
** BUILD FAILED **
The following build commands failed:
CompileMetalFile /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal (in target 'llama_llama' from project 'llama')
Building workspace spi-builder-workspace with scheme SwiftLlama
(2 failures)
Command line invocation:
/Applications/Xcode-26.0.0-Beta.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-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftLlama -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-26.0.0-Beta.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=xrOS
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
ClangStatCache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros26.0-23M5263k-63777232b7fc5220f33897c1cc69dbf5.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros26.0-23M5263k-63777232b7fc5220f33897c1cc69dbf5.sdkstatcache
ProcessXCFramework /Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/llama.xcframework /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/llama.framework xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-process-xcframework --xcframework /Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/llama.xcframework --platform xros --target-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/llama_llama.bundle/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/empty-llama_llama.plist (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
builtin-infoPlistUtility /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/empty-llama_llama.plist -producttype com.apple.product-type.bundle -expandbuildsettings -format binary -platform xros -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/llama_llama.bundle/Info.plist
CompileMetalFile /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal -c -target air64-apple-xros1.0 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -fmetal-math-mode\=fast -fmetal-math-fp32-functions\=fast -serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/Metal/ggml-metal.dia -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/Metal/ggml-metal.air -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/Metal/ggml-metal.dat /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-xros/llama_llama.build/Metal/ggml-metal.dia:1:1: warning: Could not read serialized diagnostics file: error("Failed to open diagnostics file") (in target 'llama_llama' from project 'llama')
error: error: cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain
** BUILD FAILED **
The following build commands failed:
CompileMetalFile /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal (in target 'llama_llama' from project 'llama')
Building workspace spi-builder-workspace with scheme SwiftLlama
(2 failures)
BUILD FAILURE 6.2 visionOS