The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SessionReplaySDK, reference 1.0.0 (2a599b), with Swift 6.2 for macOS (SPM) on 19 Aug 2026 17:05:53 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlmoutasemNabil/SessionReplaySDK.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AlmoutasemNabil/SessionReplaySDK
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 2a599b5 Merge pull request #1 from AlmoutasemNabil/dev
Cloned https://github.com/AlmoutasemNabil/SessionReplaySDK.git
Revision (git rev-parse @):
2a599b52255bd6b5fcbd23c5724c7b614c909c63
SUCCESS checkout https://github.com/AlmoutasemNabil/SessionReplaySDK.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AlmoutasemNabil/SessionReplaySDK.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/12] Compiling SessionReplaySDK SessionReplaySDK.swift
[4/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 [#no-usage]
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 [#no-usage]
195 |             completion(.failure(SessionUploadError.notConfigured))
196 |             return
[5/12] Compiling SessionReplaySDK NetworkInterceptor.swift
[6/12] Compiling SessionReplaySDK SessionLogger.swift
[7/12] Compiling SessionReplaySDK VideoWriter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Compiling SessionReplaySDK SessionReplayManager.swift
[9/12] Compiling SessionReplaySDK UIKitIntegration.swift
[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.2 macosSpm