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 main (5609ee), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 23:03:20 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dmrschmidt/QRCode
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5609ee0 Update README.md
Cloned https://github.com/dmrschmidt/QRCode.git
Revision (git rev-parse @):
5609ee0399b10aef20c4722c633c0fe5147b33ee
SUCCESS checkout https://github.com/dmrschmidt/QRCode.git at main
========================================
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
[3/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 | /**
[4/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 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/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 | /**
[6/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 | /**
BUILD FAILURE 6.2 macosSpm