Build Information
Failed to build LiveKit, reference 2.7.2 (d4c137
), with Swift 6.2 (beta) for Wasm on 29 Aug 2025 15:11:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/livekit/client-sdk-swift.git
Reference: 2.7.2
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.7.2 -> FETCH_HEAD
HEAD is now at d4c1370 2.7.2 (#772)
Cloned https://github.com/livekit/client-sdk-swift.git
Revision (git rev-parse @):
d4c1370922f7f13df1d889ad408bb2298afa638b
SUCCESS checkout https://github.com/livekit/client-sdk-swift.git at 2.7.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/livekit/client-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/livekit/webrtc-xcframework.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/vapor/jwt-kit.git
[3/288] Fetching webrtc-xcframework
[243/4185] Fetching webrtc-xcframework, swift-log
[244/6279] Fetching webrtc-xcframework, swift-log, swift-docc-plugin
Fetched https://github.com/livekit/webrtc-xcframework.git from cache (0.33s)
[4358/5991] Fetching swift-log, swift-docc-plugin
[5197/23362] Fetching swift-log, swift-docc-plugin, swift-collections
[8389/32499] Fetching swift-log, swift-docc-plugin, swift-collections, jwt-kit
[32291/72645] Fetching swift-log, swift-docc-plugin, swift-collections, jwt-kit, swift-protobuf
Fetched https://github.com/vapor/jwt-kit.git from cache (1.50s)
[26365/63508] Fetching swift-log, swift-docc-plugin, swift-collections, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (6.52s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (6.53s)
Fetched https://github.com/apple/swift-collections.git from cache (6.56s)
Fetched https://github.com/apple/swift-protobuf.git from cache (6.61s)
Computing version for https://github.com/livekit/webrtc-xcframework.git
Computed https://github.com/livekit/webrtc-xcframework.git at 137.7151.4 (7.02s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (2.27s)
Fetching https://github.com/apple/swift-crypto.git
[1/16363] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.71s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (2.10s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.43s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.5 (0.39s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3488] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.58s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.05s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.30s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.74s)
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.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 4.13.5
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.0
Creating working copy for https://github.com/livekit/webrtc-xcframework.git
Working copy of https://github.com/livekit/webrtc-xcframework.git resolved at 137.7151.4
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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloading binary artifact https://github.com/livekit/webrtc-xcframework/releases/download/137.7151.04/LiveKitWebRTC.xcframework.zip
[1397/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[279444/80018784] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip, https://github.com/livekit/webrtc-xcframework/releases/download/137.7151.04/LiveKitWebRTC.xcframework.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (2.24s)
Downloaded https://github.com/livekit/webrtc-xcframework/releases/download/137.7151.04/LiveKitWebRTC.xcframework.zip (5.71s)
warning: 'spi-builder-workspace': ignoring target 'LiveKitTestsObjC' 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/13] Write sources
[7/13] Copying PrivacyInfo.xcprivacy
[7/13] Write sources
[7/13] Copying PrivacyInfo.xcprivacy
[10/13] 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.
[11/13] Compiling LKObjCHelpers LKObjCHelpers.m
[11/13] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm