The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Scanner, reference main (3c5eee), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 00:57:22 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/IBM/ios-scanner.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/IBM/ios-scanner
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3c5eee0 Merge branch 'main' of github.com:IBM/ios-scanner
Cloned https://github.com/IBM/ios-scanner.git
Revision (git rev-parse @):
3c5eee0ce439b6ceb389c6c358061a24f1cac0f4
SUCCESS checkout https://github.com/IBM/ios-scanner.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/IBM/ios-scanner.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module Scanner
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[4/9] Compiling Scanner ScannerCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[5/9] Compiling Scanner ScannerViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[6/9] Compiling Scanner ScanMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[7/9] Compiling Scanner ScannerDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[8/9] Compiling Scanner ScanError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
[9/9] Compiling Scanner Scanner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
  8 | import AVFoundation
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | #if targetEnvironment(simulator)
BUILD FAILURE 6.2 macosSpm