The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyUI, reference 2.1.0 (c6eabd), with Swift 6.1 for macOS (SPM) on 3 Aug 2026 07:51:42 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/haoking/SwiftyUI.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/haoking/SwiftyUI
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at c6eabd9 docs: 更正两处过强的陈述(复审 N1/N2)
Cloned https://github.com/haoking/SwiftyUI.git
Revision (git rev-parse @):
c6eabd9ae9a4d2b4e0c3c82e2b4a2a0baec7c9fe
SUCCESS checkout https://github.com/haoking/SwiftyUI.git at 2.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/haoking/SwiftyUI.git
https://github.com/haoking/SwiftyUI.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyUI",
  "name" : "SwiftyUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyUI",
      "targets" : [
        "SwiftyUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyUITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyUITests",
      "path" : "Tests/SwiftyUITests",
      "sources" : [
        "ImageCachePoolTests.swift",
        "SmokeTests.swift",
        "SwiftyAlertViewTests.swift",
        "SwiftyButtonTests.swift",
        "SwiftyColorTests.swift",
        "SwiftyGlobalTests.swift",
        "SwiftyImageTests.swift",
        "SwiftyImageViewTests.swift",
        "SwiftyLabelTests.swift",
        "SwiftyPromiseTests.swift",
        "SwiftyThreadPoolTests.swift",
        "SwiftyToastTests.swift",
        "SwiftyViewTests.swift",
        "TestSupport.swift"
      ],
      "target_dependencies" : [
        "SwiftyUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyUI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyUI",
      "path" : "Sources",
      "product_memberships" : [
        "SwiftyUI"
      ],
      "sources" : [
        "ImageCacheable.swift",
        "ImageSettable.swift",
        "SwiftyAlertIcons.swift",
        "SwiftyAlertStyle.swift",
        "SwiftyAlertView.swift",
        "SwiftyButton.swift",
        "SwiftyColor.swift",
        "SwiftyGlobal.swift",
        "SwiftyImage.swift",
        "SwiftyImageView.swift",
        "SwiftyLabel.swift",
        "SwiftyPromise.swift",
        "SwiftyThreadPool.swift",
        "SwiftyTimer.swift",
        "SwiftyToast.swift",
        "SwiftyView.swift",
        "TextEditable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/19] Emitting module SwiftyUI
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[4/19] Compiling SwiftyUI SwiftyImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[5/19] Compiling SwiftyUI SwiftyImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[6/19] Compiling SwiftyUI ImageCacheable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[7/19] Compiling SwiftyUI ImageSettable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[8/19] Compiling SwiftyUI SwiftyAlertIcons.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[9/19] Compiling SwiftyUI SwiftyAlertStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[10/20] Compiling SwiftyUI SwiftyView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[11/20] Compiling SwiftyUI SwiftyToast.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[12/20] Compiling SwiftyUI SwiftyLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[13/20] Compiling SwiftyUI SwiftyPromise.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[14/20] Compiling SwiftyUI SwiftyAlertView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[15/20] Compiling SwiftyUI SwiftyButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[16/20] Compiling SwiftyUI SwiftyThreadPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[17/20] Compiling SwiftyUI SwiftyTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[18/20] Compiling SwiftyUI SwiftyColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[19/20] Compiling SwiftyUI SwiftyGlobal.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[20/20] Compiling SwiftyUI TextEditable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/18] Compiling SwiftyUI SwiftyToast.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[3/18] Compiling SwiftyUI SwiftyLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[4/18] Compiling SwiftyUI SwiftyPromise.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[5/18] Compiling SwiftyUI SwiftyThreadPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[6/18] Compiling SwiftyUI SwiftyTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[7/18] Compiling SwiftyUI SwiftyColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[8/18] Compiling SwiftyUI SwiftyGlobal.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[9/19] Compiling SwiftyUI SwiftyView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[10/19] Compiling SwiftyUI SwiftyImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[11/19] Compiling SwiftyUI SwiftyImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[12/19] Compiling SwiftyUI TextEditable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/19] Emitting module SwiftyUI
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[14/19] Compiling SwiftyUI SwiftyAlertView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[15/19] Compiling SwiftyUI SwiftyButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[16/19] Compiling SwiftyUI SwiftyAlertIcons.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[17/19] Compiling SwiftyUI SwiftyAlertStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[18/19] Compiling SwiftyUI ImageCacheable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
[19/19] Compiling SwiftyUI ImageSettable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | /// 内存图片缓存的接口。
BUILD FAILURE 6.1 macosSpm