The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWSimpleAI_Ollama, reference 1.2.1 (518685), with Swift 6.1 for macOS (SPM) on 26 Feb 2026 13:19:42 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWSimpleAI_Ollama.git
Reference: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWSimpleAI_Ollama
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at 518685c - 將基本參數獨立設定
Cloned https://github.com/William-Weng/WWSimpleAI_Ollama.git
Revision (git rev-parse @):
518685c72e6fba7ae182466e3776ad564d24d068
SUCCESS checkout https://github.com/William-Weng/WWSimpleAI_Ollama.git at 1.2.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/William-Weng/WWSimpleAI_Ollama.git
https://github.com/William-Weng/WWSimpleAI_Ollama.git
{
  "dependencies" : [
    {
      "identity" : "wwnetworking",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.13",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/William-Weng/WWNetworking.git"
    }
  ],
  "manifest_display_name" : "WWSimpleAI_Ollama",
  "name" : "WWSimpleAI_Ollama",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "WWSimpleAI_Ollama",
      "targets" : [
        "WWSimpleAI_Ollama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WWSimpleAI_Ollama",
      "module_type" : "SwiftTarget",
      "name" : "WWSimpleAI_Ollama",
      "path" : "Sources/WWSimpleAI_Ollama",
      "product_dependencies" : [
        "WWNetworking"
      ],
      "product_memberships" : [
        "WWSimpleAI_Ollama"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/WWSimpleAI_Ollama/Privacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Utility/Constant.swift",
        "Utility/Extension.swift",
        "Utility/Model.swift",
        "WWSimpleAI.swift",
        "WWSimpleAI_Ollama.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/5] Write sources
[2/5] Copying Privacy
[4/5] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Compiling WWNetworking resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[7/11] Emitting module WWNetworking
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[8/11] Compiling WWNetworking Model.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[9/11] Compiling WWNetworking Extension.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[10/11] Compiling WWNetworking Networking.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[11/11] Compiling WWNetworking Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
Fetching https://github.com/William-Weng/WWNetworking.git
[1/828] Fetching wwnetworking
Fetched https://github.com/William-Weng/WWNetworking.git from cache (1.18s)
Computing version for https://github.com/William-Weng/WWNetworking.git
Computed https://github.com/William-Weng/WWNetworking.git at 1.9.0 (1.92s)
Creating working copy for https://github.com/William-Weng/WWNetworking.git
Working copy of https://github.com/William-Weng/WWNetworking.git resolved at 1.9.0
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module WWNetworking
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[3/7] Compiling WWNetworking Model.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[4/7] Compiling WWNetworking Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[5/7] Compiling WWNetworking Extension.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[6/7] Compiling WWNetworking Networking.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[7/7] Compiling WWNetworking resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
BUILD FAILURE 6.1 macosSpm