Build Information
Failed to build ImageScrollView 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/huynguyencong/ImageScrollView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/huynguyencong/ImageScrollView
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3b5bf7e Update podspec
Cloned https://github.com/huynguyencong/ImageScrollView.git
Revision (git rev-parse @):
3b5bf7e1bf719facb736e43bda9403c0c661fae6
SUCCESS checkout https://github.com/huynguyencong/ImageScrollView.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/huynguyencong/ImageScrollView.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ImageScrollView
/Users/admin/builder/spi-builder-workspace/Sources/ImageScrollView.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | @objc public protocol ImageScrollViewDelegate: UIScrollViewDelegate {
[4/4] Compiling ImageScrollView ImageScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageScrollView.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | @objc public protocol ImageScrollViewDelegate: UIScrollViewDelegate {
BUILD FAILURE 6.0 macosSpm