The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoreProtocolLibrary, reference 1.0.1 (ea93f5), with Swift 6.0 for macOS (SPM) on 25 Sep 2025 19:11:04 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tommysima163/CoreProtocolLibrary.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tommysima163/CoreProtocolLibrary
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at ea93f53 fix a issue
Cloned https://github.com/tommysima163/CoreProtocolLibrary.git
Revision (git rev-parse @):
ea93f534db7a7c0b8d6ba5b6db7b1ddd3b917301
SUCCESS checkout https://github.com/tommysima163/CoreProtocolLibrary.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tommysima163/CoreProtocolLibrary.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module CoreProtocolLibrary
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
[4/6] Compiling CoreProtocolLibrary CoreProtocolLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
[5/6] Compiling CoreProtocolLibrary LoginModuleProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
[6/6] Compiling CoreProtocolLibrary ModuleRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
BUILD FAILURE 6.0 macosSpm