Build Information
Failed to build AccessibilitySnapshot 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.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/AccessibilitySnapshot.git
Reference: 0.7.0
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/cashapp/AccessibilitySnapshot
* tag 0.7.0 -> FETCH_HEAD
HEAD is now at ef2cf60 Merge pull request #214 from ZevEisenberg/patch-1
Cloned https://github.com/cashapp/AccessibilitySnapshot.git
Revision (git rev-parse @):
ef2cf6015ad00c791fe3ff60f836b1fcc50f970c
SUCCESS checkout https://github.com/cashapp/AccessibilitySnapshot.git at 0.7.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/cashapp/AccessibilitySnapshot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
In file included from /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.m:11:
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling UIImage+Snapshot.m
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/FBSnapshotTestCasePlatform.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/16] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/FBSnapshotTestController.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/16] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
[0/16] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetching https://github.com/uber/ios-snapshot-test-case.git from cache
Fetched https://github.com/uber/ios-snapshot-test-case.git (0.28s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (0.49s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.8.2 (0.08s)
Computing version for https://github.com/uber/ios-snapshot-test-case.git
Computed https://github.com/uber/ios-snapshot-test-case.git at 8.0.0 (0.05s)
Creating working copy for https://github.com/uber/ios-snapshot-test-case.git
Working copy of https://github.com/uber/ios-snapshot-test-case.git resolved at 8.0.0
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.2
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/BUILD.bazel
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/Info.plist
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.m:11:
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling UIImage+Snapshot.m
[0/16] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/FBSnapshotTestController.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/16] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/FBSnapshotTestCasePlatform.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/16] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/Info.plist
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/BUILD.bazel
BUILD FAILURE 5.8 macosSpm