The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ShareKit, reference main (b66527), with Swift 6.1 for macOS (SPM) on 22 Jan 2026 10:29:00 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/markbattistella/ShareKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markbattistella/ShareKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b665274 2026-01-22
Cloned https://github.com/markbattistella/ShareKit.git
Revision (git rev-parse @):
b665274c6a151566ec84ca4dcbcc5e2df3cb5c30
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/ShareKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/markbattistella/ShareKit.git
https://github.com/markbattistella/ShareKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ShareKit",
  "name" : "ShareKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "ShareKit",
      "targets" : [
        "ShareKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShareKit",
      "module_type" : "SwiftTarget",
      "name" : "ShareKit",
      "path" : "Sources/ShareKit",
      "product_memberships" : [
        "ShareKit"
      ],
      "sources" : [
        "Shareable.swift",
        "UIActivityVC.swift",
        "UIShareLink.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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/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/6] Emitting module ShareKit
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
[4/6] Compiling ShareKit Shareable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
[5/6] Compiling ShareKit UIActivityVC.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
[6/6] Compiling ShareKit UIShareLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
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/5] Emitting module ShareKit
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
[3/5] Compiling ShareKit Shareable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
[4/5] Compiling ShareKit UIActivityVC.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
[5/5] Compiling ShareKit UIShareLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShareKit/Shareable.swift:7:8: error: no such module 'UIKit'
 5 | //
 6 |
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | /// A type that supplies content for a share sheet.
BUILD FAILURE 6.1 macosSpm