Build Information
Failed to build WWWebSocket with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWWebSocket.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWWebSocket
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7fe1520 - 加上WWWebSocketDelegate說明
Cloned https://github.com/William-Weng/WWWebSocket.git
Revision (git rev-parse @):
7fe1520796e5296d50444f3ef0bfe659050fecbe
SUCCESS checkout https://github.com/William-Weng/WWWebSocket.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/William-Weng/WWWebSocket.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying Privacy
[2/5] Compiling WWWebSocket WebSocket.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module WWWebSocket
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/5] Compiling WWWebSocket resource_bundle_accessor.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/5] Compiling WWWebSocket Constant.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module WWWebSocket
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[2/4] Compiling WWWebSocket Constant.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[3/4] Compiling WWWebSocket WebSocket.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling WWWebSocket resource_bundle_accessor.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
BUILD FAILURE 5.8 macosSpm