The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LHxHub, reference master (f10194), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 22:33:59 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/laohanme/LHxHub.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/laohanme/LHxHub
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f101945 Bump to version 1.0.11
Cloned https://github.com/laohanme/LHxHub.git
Revision (git rev-parse @):
f1019455939fedcf77bf8b35283e0e323cb94854
SUCCESS checkout https://github.com/laohanme/LHxHub.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/laohanme/LHxHub.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/14] Compiling LHxHub LHTableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[4/14] Compiling LHxHub LHService.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[5/14] Compiling LHxHub LHString.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[6/15] Compiling LHxHub LHView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/15] Compiling LHxHub LHColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[8/15] Compiling LHxHub LHDateTime.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[9/15] Compiling LHxHub LHLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[10/15] Compiling LHxHub LHNotificaion.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[11/15] Emitting module LHxHub
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[12/15] Compiling LHxHub LHAppStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[13/15] Compiling LHxHub LHBadgeButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[14/15] Compiling LHxHub LHAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[15/15] Compiling LHxHub LHApp.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
BUILD FAILURE 6.2 macosSpm