Build Information
Failed to build LiveKit, reference 2.13.0 (f70911), with Swift 6.1 for Wasm on 15 Apr 2026 10:50:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/livekit/client-sdk-swift.git
Reference: 2.13.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/livekit/client-sdk-swift
* tag 2.13.0 -> FETCH_HEAD
HEAD is now at f709111 v2.13.0 (#953)
Submodule path 'protocol': checked out '765a80e4298e376593859c3f11cf748c725f68f9'
Submodule 'protocol' (https://github.com/livekit/protocol.git) registered for path 'protocol'
Cloning into '/host/spi-builder-workspace/protocol'...
Cloned https://github.com/livekit/client-sdk-swift.git
Revision (git rev-parse @):
f70911172031fe40042266ed3bc35171224c2ef0
SUCCESS checkout https://github.com/livekit/client-sdk-swift.git at 2.13.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/livekit/client-sdk-swift.git
https://github.com/livekit/client-sdk-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/livekit/livekit-uniffi-xcframework.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/livekit/webrtc-xcframework.git
[1/360] Fetching webrtc-xcframework
[361/2637] Fetching webrtc-xcframework, swift-docc-plugin
Fetched https://github.com/livekit/webrtc-xcframework.git from cache (0.26s)
[251/2277] Fetching swift-docc-plugin
[2278/48825] Fetching swift-docc-plugin, swift-protobuf
[3677/48877] Fetching swift-docc-plugin, swift-protobuf, livekit-uniffi-xcframework
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.47s)
[3311/46600] Fetching swift-protobuf, livekit-uniffi-xcframework
Fetched https://github.com/livekit/livekit-uniffi-xcframework.git from cache (7.25s)
Fetched https://github.com/apple/swift-protobuf.git from cache (7.38s)
Computing version for https://github.com/livekit/livekit-uniffi-xcframework.git
Computed https://github.com/livekit/livekit-uniffi-xcframework.git at 0.0.5 (8.26s)
Computing version for https://github.com/livekit/webrtc-xcframework.git
Computed https://github.com/livekit/webrtc-xcframework.git at 144.7559.3 (0.85s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.6 (4.03s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.96s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.12s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (1.12s)
Creating working copy for https://github.com/livekit/livekit-uniffi-xcframework.git
Working copy of https://github.com/livekit/livekit-uniffi-xcframework.git resolved at 0.0.5
Creating working copy for https://github.com/livekit/webrtc-xcframework.git
Working copy of https://github.com/livekit/webrtc-xcframework.git resolved at 144.7559.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.6
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.36.1
Downloading binary artifact https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.5/RustLiveKitUniFFI.xcframework.zip
Downloading binary artifact https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.03/LiveKitWebRTC.xcframework.zip
[1369/149953004] Downloading https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.5/RustLiveKitUniFFI.xcframework.zip
[10966/216291961] Downloading https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.5/RustLiveKitUniFFI.xcframework.zip, https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.03/LiveKitWebRTC.xcframework.zip
Downloaded https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.03/LiveKitWebRTC.xcframework.zip (8.57s)
Downloaded https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.5/RustLiveKitUniFFI.xcframework.zip (18.57s)
warning: 'spi-builder-workspace': ignoring target 'LiveKitObjCTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/10] Write sources
[5/10] Copying PrivacyInfo.xcprivacy
[7/10] Write sources
In file included from /host/spi-builder-workspace/Sources/LKObjCHelpers/LKObjCHelpers.m:1:
/host/spi-builder-workspace/Sources/LKObjCHelpers/include/LKObjCHelpers.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
1 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/10] Compiling LKObjCHelpers LKObjCHelpers.m
[8/10] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': ignoring target 'LiveKitObjCTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/LKObjCHelpers/LKObjCHelpers.m:1:
/host/spi-builder-workspace/Sources/LKObjCHelpers/include/LKObjCHelpers.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
1 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/5] Compiling LKObjCHelpers LKObjCHelpers.m
[3/5] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm