The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWJWTAuthenticationToken, reference main (a98af3), with Swift 6.0 for macOS (SPM) on 31 May 2025 10:25:11 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWJWTAuthenticationToken.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWJWTAuthenticationToken
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a98af38 - 整理程式碼
Cloned https://github.com/William-Weng/WWJWTAuthenticationToken.git
Revision (git rev-parse @):
a98af3830134088bd216ffac34eff06f835bd535
SUCCESS checkout https://github.com/William-Weng/WWJWTAuthenticationToken.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/William-Weng/WWJWTAuthenticationToken.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Privacy
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module WWJWTAuthenticationToken
/Users/admin/builder/spi-builder-workspace/Sources/WWJWTAuthenticationToken/WWJWTAuthenticationToken.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import CryptoKit
 10 |
[5/7] Compiling WWJWTAuthenticationToken Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWJWTAuthenticationToken/WWJWTAuthenticationToken.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import CryptoKit
 10 |
[6/7] Compiling WWJWTAuthenticationToken resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWJWTAuthenticationToken/WWJWTAuthenticationToken.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import CryptoKit
 10 |
[7/7] Compiling WWJWTAuthenticationToken WWJWTAuthenticationToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWJWTAuthenticationToken/WWJWTAuthenticationToken.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import CryptoKit
 10 |
BUILD FAILURE 6.0 macosSpm