The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWOneTimePasswordView, reference 1.2.0 (bb9661), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 22:27: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/WWOneTimePasswordView.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWOneTimePasswordView
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at bb96619 - 加上底線的外形設定
Cloned https://github.com/William-Weng/WWOneTimePasswordView.git
Revision (git rev-parse @):
bb96619cac9901e5699942be04a0efc97f0c7a17
SUCCESS checkout https://github.com/William-Weng/WWOneTimePasswordView.git at 1.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/William-Weng/WWOneTimePasswordView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Privacy
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/10] Compiling WWOneTimePasswordView CodeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 常數
[5/10] Compiling WWOneTimePasswordView Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 常數
[6/10] Compiling WWOneTimePasswordView resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 常數
[7/10] Compiling WWOneTimePasswordView WWOneTimePasswordView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 常數
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Emitting module WWOneTimePasswordView
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 常數
[9/10] Compiling WWOneTimePasswordView Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 常數
[10/10] Compiling WWOneTimePasswordView Delegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 常數
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Xib/WWOneTimePasswordView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/WWOneTimePasswordView/Xib/CodeView.xib
BUILD FAILURE 6.2 macosSpm