Build Information
Failed to build iOSSnapshotTestCase, reference main (337a42), with Swift 6.2 for macOS (SPM) on 3 Dec 2025 04:49:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/uber/ios-snapshot-test-case.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/uber/ios-snapshot-test-case
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 337a423 Update LibraryVsApplicationTestBundles.md with Swift example
Cloned https://github.com/uber/ios-snapshot-test-case.git
Revision (git rev-parse @):
337a423d5245535129af274ad5198a97c4f47271
SUCCESS checkout https://github.com/uber/ios-snapshot-test-case.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "ios-snapshot-test-case",
"name": "iOSSnapshotTestCase",
"url": "https://github.com/uber/ios-snapshot-test-case.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ios-snapshot-test-case",
"dependencies": [
]
}
]
}
Fetching https://github.com/uber/ios-snapshot-test-case.git
[1/3296] Fetching ios-snapshot-test-case
Fetched https://github.com/uber/ios-snapshot-test-case.git from cache (1.16s)
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 main (337a423)
warning: '.resolve-product-dependencies': dependency 'ios-snapshot-test-case' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/uber/ios-snapshot-test-case.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Write sources
[1/11] Write swift-version-49B95AFC49DCD68C.txt
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.m:11:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
1 error generated.
[2/11] Compiling UIApplication+KeyWindow.m
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.m:32:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
31 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[2/11] Compiling UIImage+Compare.m
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.m:32:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
31 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[2/11] Compiling UIImage+Diff.m
[2/11] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/FBSnapshotTestController.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
In file included from /Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.m:11:
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[2/11] Compiling UIImage+Snapshot.m
[2/11] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
/Users/admin/builder/spi-builder-workspace/src/iOSSnapshotTestCaseCore/FBSnapshotTestCasePlatform.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[2/11] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
BUILD FAILURE 6.2 macosSpm