Build Information
Failed to build AccessibilitySnapshot with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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/builder/builds/UKfvDsi8u/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.9
Building package at path: $workDir
https://github.com/cashapp/AccessibilitySnapshot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.m:32:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling UIImage+Compare.m
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.m:11:
/Users/builder/builds/UKfvDsi8u/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>
^~~~~~~~~~~~~~~
[0/16] Compiling UIImage+Snapshot.m
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/Core/ObjC/UIAccessibilityStatusUtility.m:42:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/Core/ObjC/include/UIAccessibilityStatusUtility.h:17:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/16] Compiling AccessibilitySnapshotCore-ObjC UIAccessibilityStatusUtility.m
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.m:11:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/16] Compiling UIApplication+KeyWindow.m
[0/16] Compiling AccessibilitySnapshotCore-ObjC ASAccessibilityEnabler.m
[0/16] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
[0/16] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
Fetching https://github.com/uber/ios-snapshot-test-case.git from cache
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/uber/ios-snapshot-test-case.git (0.20s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (0.24s)
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.03s)
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.52s)
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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/BUILD.bazel
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/Info.plist
[0/1] Planning build
Building for debugging...
[0/16] Copying Info.plist
[0/16] Copying Localizable.strings
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.m:32:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
1 error generated.
[2/16] Compiling UIImage+Diff.m
[2/16] Compiling UIApplication+KeyWindow.m
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.m:32:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[2/16] Compiling UIImage+Compare.m
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/ios-snapshot-test-case/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.m:11:
/Users/builder/builds/UKfvDsi8u/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>
^~~~~~~~~~~~~~~
[2/16] Compiling UIImage+Snapshot.m
/Users/builder/builds/UKfvDsi8u/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>
^~~~~~~~~~~~~~~
[2/16] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
[2/16] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
/Users/builder/builds/UKfvDsi8u/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>
^~~~~~~~~~~~~~~
[2/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/Info.plist
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AccessibilitySnapshot/SnapshotTesting/BUILD.bazel
BUILD FAILURE 5.9 macosSpm