The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenshotableView with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rushairer/ScreenshotableView.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/rushairer/ScreenshotableView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module ScreenshotableView
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[4/5] Compiling ScreenshotableView ScreenshotableView.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[5/5] Compiling ScreenshotableView View+Snapshot.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.18s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.8.1 (0.61s)
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module ScreenshotableView
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[3/4] Compiling ScreenshotableView View+Snapshot.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[4/4] Compiling ScreenshotableView ScreenshotableView.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm