The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenshotableView, reference master (080eed), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 12:54:20 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/rushairer/ScreenshotableView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rushairer/ScreenshotableView
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 080eedd [Fixed]Fix bug of example.
Cloned https://github.com/rushairer/ScreenshotableView.git
Revision (git rev-parse @):
080eeddbfa68c0681d708f28c2d642a2b8e99455
SUCCESS checkout https://github.com/rushairer/ScreenshotableView.git at master
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/16046] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.57s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.8.1 (4.29s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.8.1
========================================
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": "screenshotableview",
      "name": "ScreenshotableView",
      "url": "https://github.com/rushairer/ScreenshotableView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ScreenshotableView",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rushairer/ScreenshotableView.git
[1/102] Fetching screenshotableview
Fetched https://github.com/rushairer/ScreenshotableView.git from cache (0.62s)
Creating working copy for https://github.com/rushairer/ScreenshotableView.git
Working copy of https://github.com/rushairer/ScreenshotableView.git resolved at master (080eedd)
warning: '.resolve-product-dependencies': dependency 'screenshotableview' 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/rushairer/ScreenshotableView.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 ScreenshotableView
/Users/admin/builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
 1 |
 2 | import SwiftUI
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | public struct ScreenshotableView<Content: View>: View {
[4/5] Compiling ScreenshotableView View+Snapshot.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
 1 |
 2 | import SwiftUI
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | public struct ScreenshotableView<Content: View>: View {
[5/5] Compiling ScreenshotableView ScreenshotableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
 1 |
 2 | import SwiftUI
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | public struct ScreenshotableView<Content: View>: View {
BUILD FAILURE 6.3 macosSpm