Build Information
Failed to build SessionReplaySDK, reference main (4028db), with Swift 6.0 for macOS (SPM) on 23 Feb 2026 08:19:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlmoutasemNabil/SessionReplaySDK.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AlmoutasemNabil/SessionReplaySDK
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4028db0 Add async/completion-based stopSession API
Cloned https://github.com/AlmoutasemNabil/SessionReplaySDK.git
Revision (git rev-parse @):
4028db00fb504452e2e94dc51566a9d26a7b851b
SUCCESS checkout https://github.com/AlmoutasemNabil/SessionReplaySDK.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/AlmoutasemNabil/SessionReplaySDK.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/12] Compiling SessionReplaySDK SessionReplayManager.swift
[4/12] Compiling SessionReplaySDK SessionLogger.swift
[5/12] Compiling SessionReplaySDK UIKitIntegration.swift
[6/12] Compiling SessionReplaySDK NetworkInterceptor.swift
[7/12] Compiling SessionReplaySDK SessionReplaySDK.swift
[8/12] Compiling SessionReplaySDK VideoWriter.swift
[9/12] Compiling SessionReplaySDK SessionUploader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:194:19: warning: value 'config' was defined but never used; consider replacing with boolean test
192 | completion: @escaping (Result<SessionUploadResponse, Error>) -> Void
193 | ) {
194 | guard let config = config else {
| `- warning: value 'config' was defined but never used; consider replacing with boolean test
195 | completion(.failure(SessionUploadError.notConfigured))
196 | return
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/12] Compiling SessionReplaySDK SwiftUIIntegration.swift
[11/12] Emitting module SessionReplaySDK
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift:55:40: error: cannot find type 'UIColor' in scope
53 |
54 | /// Color used to mask sensitive content
55 | public var sensitiveViewMaskColor: UIColor = .gray
| `- error: cannot find type 'UIColor' in scope
56 |
57 | /// Whether to automatically mask text input fields
[12/12] Compiling SessionReplaySDK Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift:55:40: error: cannot find type 'UIColor' in scope
53 |
54 | /// Color used to mask sensitive content
55 | public var sensitiveViewMaskColor: UIColor = .gray
| `- error: cannot find type 'UIColor' in scope
56 |
57 | /// Whether to automatically mask text input fields
BUILD FAILURE 6.0 macosSpm