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 QRCode, reference 1.1.0 (a23c2d), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 23:04:30 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/dmrschmidt/QRCode.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dmrschmidt/QRCode
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at a23c2d2 import UIKit
Cloned https://github.com/dmrschmidt/QRCode.git
Revision (git rev-parse @):
a23c2d2b77483c5ce20ffaf4e68fef2d1a0bbca9
SUCCESS checkout https://github.com/dmrschmidt/QRCode.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dmrschmidt/QRCode.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/6] Emitting module QRCode
/Users/admin/builder/spi-builder-workspace/QRCode/QRCode.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /**
[4/6] Compiling QRCode QRCode.swift
/Users/admin/builder/spi-builder-workspace/QRCode/QRCode.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /**
[5/6] Compiling QRCode QRCodeImageGenerator.swift
/Users/admin/builder/spi-builder-workspace/QRCode/QRCode.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /**
[6/6] Compiling QRCode QRCodeView.swift
/Users/admin/builder/spi-builder-workspace/QRCode/QRCode.swift:2:8: error: no such module 'UIKit'
  1 | import Foundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /**
BUILD FAILURE 6.2 macosSpm