The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CallDetector, reference 1.1.0 (877a2c), with Swift 6.2 for macOS (SPM) on 24 Jun 2026 21:28:55 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NugiNurGhani/CallDetector.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NugiNurGhani/CallDetector
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 877a2c8 feat: add setBlockingView API with UIViewController, UIView, and SwiftUI overloads (v1.1.0)
Cloned https://github.com/NugiNurGhani/CallDetector.git
Revision (git rev-parse @):
877a2c803715b148c86508e186f6bcd6aeeb923d
SUCCESS checkout https://github.com/NugiNurGhani/CallDetector.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/NugiNurGhani/CallDetector.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module CallDetector
/Users/admin/builder/spi-builder-workspace/Sources/CallDetector/CallDetector.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import SwiftUI
 10 | import CallKit
[4/4] Compiling CallDetector CallDetector.swift
/Users/admin/builder/spi-builder-workspace/Sources/CallDetector/CallDetector.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import SwiftUI
 10 | import CallKit
BUILD FAILURE 6.2 macosSpm