Build Information
Failed to build WWWebSocket with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.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: 1.1.3
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWWebSocket
* tag 1.1.3 -> FETCH_HEAD
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 1.1.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "wwwebsocket",
"name": "WWWebSocket",
"url": "https://github.com/William-Weng/WWWebSocket.git",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWWebSocket",
"dependencies": [
]
}
]
}
Fetching https://github.com/William-Weng/WWWebSocket.git from cache
Fetched https://github.com/William-Weng/WWWebSocket.git from cache (0.26s)
Creating working copy for https://github.com/William-Weng/WWWebSocket.git
Working copy of https://github.com/William-Weng/WWWebSocket.git resolved at 1.1.3 (7fe1520)
warning: '.resolve-product-dependencies': dependency 'wwwebsocket' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/William-Weng/WWWebSocket.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Copying Privacy
[0/3] Write sources
[2/3] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module WWWebSocket
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/7] Compiling WWWebSocket WebSocket.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/7] Compiling WWWebSocket Constant.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[7/7] Compiling WWWebSocket resource_bundle_accessor.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
[2/5] Compiling WWWebSocket WebSocket.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[3/5] Compiling WWWebSocket resource_bundle_accessor.swift
/Users/builder/builds/UKfvDsi8u/0/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)
[4/5] Emitting module WWWebSocket
/Users/builder/builds/UKfvDsi8u/0/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/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/WWWebSocket/Constant.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 macosSpm