The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWPrivateView, reference main (6963a9), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 00:35:34 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/WWPrivateView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWPrivateView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6963a9d - update ReadMe / Example
Cloned https://github.com/William-Weng/WWPrivateView.git
Revision (git rev-parse @):
6963a9df04c637402ef336e6dc687590400af234
SUCCESS checkout https://github.com/William-Weng/WWPrivateView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/William-Weng/WWPrivateView.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module WWPrivateView
/Users/admin/builder/spi-builder-workspace/Sources/WWPrivateView/WWPrivateTextField.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 利用UITextField密碼內文不會被擷圖的特色
[5/7] Compiling WWPrivateView WWPrivateView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPrivateView/WWPrivateTextField.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 利用UITextField密碼內文不會被擷圖的特色
[6/7] Compiling WWPrivateView WWPrivateTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPrivateView/WWPrivateTextField.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 利用UITextField密碼內文不會被擷圖的特色
[7/7] Compiling WWPrivateView resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWPrivateView/WWPrivateTextField.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - 利用UITextField密碼內文不會被擷圖的特色
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/WWPrivateView/Xib/WWPrivateView.xib
BUILD FAILURE 6.2 macosSpm