Build Information
Failed to build AvailableHapticFeedback with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.37.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonat/AvailableHapticFeedback.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/yonat/AvailableHapticFeedback
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6921d50 bump version to 1.0.5
Cloned https://github.com/yonat/AvailableHapticFeedback.git
Revision (git rev-parse @):
6921d50a363b0f8b389f835e1a517144a25f5373
SUCCESS checkout https://github.com/yonat/AvailableHapticFeedback.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "availablehapticfeedback",
"name": "AvailableHapticFeedback",
"url": "https://github.com/yonat/AvailableHapticFeedback.git",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AvailableHapticFeedback",
"dependencies": [
]
}
]
}
Fetching https://github.com/yonat/AvailableHapticFeedback.git from cache
Fetched https://github.com/yonat/AvailableHapticFeedback.git from cache (0.21s)
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/AvailableHapticFeedback-6ff37e62 is not valid git repository for 'https://github.com/yonat/AvailableHapticFeedback.git', will fetch again.
Fetching https://github.com/yonat/AvailableHapticFeedback.git from cache
Fetched https://github.com/yonat/AvailableHapticFeedback.git from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/AvailableHapticFeedback-6ff37e62 is not valid git repository for 'https://github.com/yonat/AvailableHapticFeedback.git', will fetch again.
Fetching https://github.com/yonat/AvailableHapticFeedback.git from cache
Fetched https://github.com/yonat/AvailableHapticFeedback.git from cache (0.01s)
Creating working copy for https://github.com/yonat/AvailableHapticFeedback.git
Working copy of https://github.com/yonat/AvailableHapticFeedback.git resolved at master (6921d50)
warning: '.resolve-product-dependencies': dependency 'availablehapticfeedback' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/yonat/AvailableHapticFeedback.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module AvailableHapticFeedback
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AvailableHapticFeedback.swift:7:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling AvailableHapticFeedback AvailableHapticFeedback.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AvailableHapticFeedback.swift:7:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
warning: 'spi-builder-workspace': Invalid Resource 'PrivacyInfo.xcprivacy': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module AvailableHapticFeedback
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AvailableHapticFeedback.swift:7:8: error: no such module 'UIKit'
import UIKit
^
[3/3] Compiling AvailableHapticFeedback AvailableHapticFeedback.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AvailableHapticFeedback.swift:7:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
warning: 'spi-builder-workspace': Invalid Resource 'PrivacyInfo.xcprivacy': File not found.
BUILD FAILURE 5.10 macosSpm