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 QRScanner, reference master (e94bc2), with Swift 6.2 (beta) for macOS (SPM) on 4 Jul 2025 13:00:31 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/mercari/QRScanner.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mercari/QRScanner
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e94bc2a update README.md
Cloned https://github.com/mercari/QRScanner.git
Revision (git rev-parse @):
e94bc2a8a8a7ef69f10fc2a11cc763815839719b
SUCCESS checkout https://github.com/mercari/QRScanner.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mercari/QRScanner.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Images.xcassets
[2/3] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Compiling QRScanner resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[5/9] Emitting module QRScanner
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[6/9] Compiling QRScanner QRScannerError.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[7/9] Compiling QRScanner QRScannerView.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[8/9] Compiling QRScanner Bundle+Module.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[9/9] Compiling QRScanner QRScannerSwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
BUILD FAILURE 6.2 macosSpm