The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWWebView_ChartJS, reference main (f49d69), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 16:28:31 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/WWWebView_ChartJS.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWWebView_ChartJS
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f49d69c - 整理程式碼
Cloned https://github.com/William-Weng/WWWebView_ChartJS.git
Revision (git rev-parse @):
f49d69c9a949cbb6f8b0175c9b68a774c245500c
SUCCESS checkout https://github.com/William-Weng/WWWebView_ChartJS.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/William-Weng/WWWebView_ChartJS.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Copying ChartJS.xib
[1/5] Write sources
[2/5] Copying Privacy
[3/5] Copying HTML
[4/5] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Emitting module WWWebView_ChartJS
/Users/admin/builder/spi-builder-workspace/Sources/WWWebView_ChartJS/ChartJS.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import WebKit
 10 |
[7/11] Compiling WWWebView_ChartJS resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWWebView_ChartJS/ChartJS.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import WebKit
 10 |
[8/11] Compiling WWWebView_ChartJS ChartJS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWWebView_ChartJS/ChartJS.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import WebKit
 10 |
[9/11] Compiling WWWebView_ChartJS Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWWebView_ChartJS/ChartJS.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import WebKit
 10 |
[10/11] Compiling WWWebView_ChartJS Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWWebView_ChartJS/ChartJS.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import WebKit
 10 |
[11/11] Compiling WWWebView_ChartJS Delegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWWebView_ChartJS/ChartJS.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import WebKit
 10 |
BUILD FAILURE 6.2 macosSpm