The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWDetectDevice, reference main (025943), with Swift 6.2 for Android on 13 Aug 2026 06:07:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWDetectDevice.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/William-Weng/WWDetectDevice
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 025943a - 加上對APP的資訊取得
Cloned https://github.com/William-Weng/WWDetectDevice.git
Revision (git rev-parse @):
025943aa329b7eac5a0443a6e3d7b6586061a967
SUCCESS checkout https://github.com/William-Weng/WWDetectDevice.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/William-Weng/WWDetectDevice.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:573917aa137cc6f081a4f3d2a0330bac24553e9cd713cd758adf65046f5c6b90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/4] Write sources
[1/4] Copying Privacy
[2/4] Copying JSON
[3/4] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/15] Emitting module WWDetectDevice
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[6/16] Compiling WWDetectDevice WWDetectDevice.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[7/16] Compiling WWDetectDevice Extension.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[8/16] Compiling WWDetectDevice Protocol.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[9/16] Compiling WWDetectDevice Model.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[10/16] Compiling WWDetectDevice iPhoneType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[11/16] Compiling WWDetectDevice Constant.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[12/16] Compiling WWDetectDevice AppleTVType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[13/16] Compiling WWDetectDevice AppleWatchType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[14/16] Compiling WWDetectDevice InfoPlistKey.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[15/16] Compiling WWDetectDevice iPadType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[16/16] Compiling WWDetectDevice resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
BUILD FAILURE 6.2 android