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: v0.2.0
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/rushairer/ScreenshotableView
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at 6b02a8d [Fixed]Fix bugs
Cloned https://github.com/rushairer/ScreenshotableView.git
Revision (git rev-parse @):
6b02a8d5ec73ccbd05b0be76d1c24f7b87c891a5
SUCCESS checkout https://github.com/rushairer/ScreenshotableView.git at v0.2.0
========================================
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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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.17s)
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.06s)
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
[2/4] Compiling ScreenshotableView View+Snapshot.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ScreenshotableView
/Users/admin/builds/J1XnyXFH/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/admin/builds/J1XnyXFH/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