The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SessionReplaySDK, reference main (4028db), with Swift 6.2 for macOS (SPM) on 23 Feb 2026 08:17:56 UTC.

Build Command

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

Build 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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "sessionreplaysdk",
      "name": "SessionReplaySDK",
      "url": "https://github.com/AlmoutasemNabil/SessionReplaySDK.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SessionReplaySDK",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AlmoutasemNabil/SessionReplaySDK.git
[1/142] Fetching sessionreplaysdk
Fetched https://github.com/AlmoutasemNabil/SessionReplaySDK.git from cache (0.77s)
Creating working copy for https://github.com/AlmoutasemNabil/SessionReplaySDK.git
Working copy of https://github.com/AlmoutasemNabil/SessionReplaySDK.git resolved at main (4028db0)
warning: '.resolve-product-dependencies': dependency 'sessionreplaysdk' is not used by any target
Found 0 product dependencies
========================================
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.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
[3/12] Compiling SessionReplaySDK VideoWriter.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 SessionReplaySDK.swift
[6/12] Compiling SessionReplaySDK SessionLogger.swift
[7/12] Compiling SessionReplaySDK NetworkInterceptor.swift
[8/12] Compiling SessionReplaySDK UIKitIntegration.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Compiling SessionReplaySDK SessionReplayManager.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