Build Information
Failed to build Pin with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mezhevikin/Pin.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/mezhevikin/Pin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 33b3d36 Fix mistake in README
Cloned https://github.com/mezhevikin/Pin.git
Revision (git rev-parse @):
33b3d364c344f2dbb712f02198cb54561b77d554
SUCCESS checkout https://github.com/mezhevikin/Pin.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD/checkout
https://github.com/mezhevikin/Pin.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module Pin
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Pin/Pin.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[2/2] Compiling Pin Pin.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Pin/Pin.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module Pin
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Pin/Pin.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[2/2] Compiling Pin Pin.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Pin/Pin.swift:3:8: error: no such module 'UIKit'
import UIKit
^
BUILD FAILURE 5.8 macosSpm