The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWSlider, reference main (86d91d), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 06:33:45 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/William-Weng/WWSlider.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWSlider
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 86d91d4 - 加上PrivacyInfo.xcprivacy - 更新ReadMe
Cloned https://github.com/William-Weng/WWSlider.git
Revision (git rev-parse @):
86d91d4235b6fdd03d93a14dbedf959cdc247662
SUCCESS checkout https://github.com/William-Weng/WWSlider.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/William-Weng/WWSlider.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[1/5] Copying WWSlider.xib
[2/5] Copying no-pictures.png
[3/5] Copying Privacy
[4/5] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module WWSlider
/Users/admin/builder/spi-builder-workspace/Sources/WWSlider/WWSlider.swift:9:8: error: no such module 'UIKit'
  7 | /// [Swift packages: Resources and localization - WWDC20 - Videos - Apple Developer](https://developer.apple.com/videos/play/wwdc2020/10169/)
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public protocol SliderDeleagte: AnyObject {
[7/8] Compiling WWSlider resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWSlider/WWSlider.swift:9:8: error: no such module 'UIKit'
  7 | /// [Swift packages: Resources and localization - WWDC20 - Videos - Apple Developer](https://developer.apple.com/videos/play/wwdc2020/10169/)
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public protocol SliderDeleagte: AnyObject {
[8/8] Compiling WWSlider WWSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWSlider/WWSlider.swift:9:8: error: no such module 'UIKit'
  7 | /// [Swift packages: Resources and localization - WWDC20 - Videos - Apple Developer](https://developer.apple.com/videos/play/wwdc2020/10169/)
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public protocol SliderDeleagte: AnyObject {
BUILD FAILURE 6.2 macosSpm