The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MyLibrary, reference master (fbfcde), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 12:28:23 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kxyaaad/MyLibrary-demo.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kxyaaad/MyLibrary-demo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fbfcdeb debug
Cloned https://github.com/Kxyaaad/MyLibrary-demo.git
Revision (git rev-parse @):
fbfcdebd6fb1247e5ab0f970d3e807b3f2cbd932
SUCCESS checkout https://github.com/Kxyaaad/MyLibrary-demo.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "mylibrary-demo",
      "name": "MyLibrary",
      "url": "https://github.com/Kxyaaad/MyLibrary-demo.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MyLibrary-demo",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Kxyaaad/MyLibrary-demo.git
[1/27] Fetching mylibrary-demo
Fetched https://github.com/Kxyaaad/MyLibrary-demo.git from cache (0.55s)
Creating working copy for https://github.com/Kxyaaad/MyLibrary-demo.git
Working copy of https://github.com/Kxyaaad/MyLibrary-demo.git resolved at master (fbfcdeb)
warning: '.resolve-product-dependencies': dependency 'mylibrary-demo' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Kxyaaad/MyLibrary-demo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module MyLibrary
/Users/admin/builder/spi-builder-workspace/Sources/MyLibrary/AnimateViewController.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | @available(iOS 10.0, *)
[4/5] Compiling MyLibrary MyLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/MyLibrary/AnimateViewController.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | @available(iOS 10.0, *)
[5/5] Compiling MyLibrary AnimateViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/MyLibrary/AnimateViewController.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | @available(iOS 10.0, *)
BUILD FAILURE 6.3 macosSpm