Build Information
Failed to build QRCode with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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.0
Building package at path: $workDir
https://github.com/dmrschmidt/QRCode.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.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 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/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 | /**
[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 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.0 macosSpm