Build Information
Failed to build WebDriverAgent, reference master (291832), with Swift 6.0 for macOS (SPM) on 2 Apr 2026 21:45:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/qawolf/WebDriverAgent.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/qawolf/WebDriverAgent
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2918324 Merge pull request #12 from qawolf/gen-1098-update-wda-fork
Cloned https://github.com/qawolf/WebDriverAgent.git
Revision (git rev-parse @):
2918324fee416cc275a148402f026d3550c76022
SUCCESS checkout https://github.com/qawolf/WebDriverAgent.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/qawolf/WebDriverAgent.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/131] Compiling RoutingHTTPServer RoutingHTTPServer.m
[1/131] Compiling RoutingHTTPServer RoutingConnection.m
[2/131] Compiling RoutingHTTPServer RouteResponse.m
[3/131] Compiling XCUIApplicationProcessDelay.m
[4/131] Compiling CocoaHTTPServer HTTPConnection.m
[5/131] Compiling RoutingHTTPServer Route.m
[6/131] Compiling LRUCacheNode.m
[7/131] Compiling CocoaHTTPServer HTTPMessage.m
[8/131] Compiling LRUCache.m
[9/131] Compiling FBXMLGenerationOptions.m
[10/131] Compiling RoutingHTTPServer RouteRequest.m
[11/131] Compiling DDRange.m
[12/131] Compiling FBWebServerParams.m
[13/131] Compiling NSPredicate+FBFormat.m
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Categories/FBXCElementSnapshotWrapper+Helpers.m:16:
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/FBXCTestDaemonsProxy.h:15:
/Users/admin/builder/spi-builder-workspace/PrivateHeaders/XCTest/XCSynthesizedEventRecord.h:14:5: error: unknown type name 'UIInterfaceOrientation'
14 | UIInterfaceOrientation _interfaceOrientation;
| ^
/Users/admin/builder/spi-builder-workspace/PrivateHeaders/XCTest/XCSynthesizedEventRecord.h:18:21: error: unknown type name 'UIInterfaceOrientation'
18 | @property(readonly) UIInterfaceOrientation interfaceOrientation; // @synthesize interfaceOrientation=_interfaceOrientation;
| ^
/Users/admin/builder/spi-builder-workspace/PrivateHeaders/XCTest/XCSynthesizedEventRecord.h:26:59: error: expected a type
26 | - (id)initWithName:(NSString *)arg1 interfaceOrientation:(UIInterfaceOrientation)arg2;
| ^
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Categories/FBXCElementSnapshotWrapper+Helpers.m:18:
In file included from /Users/admin/builder/spi-builder-workspace/PrivateHeaders/XCTest/XCTestDriver.h:13:
/Users/admin/builder/spi-builder-workspace/PrivateHeaders/XCTest/XCTestManager_ManagerInterface-Protocol.h:7:9: fatal error: 'UIKit/UIKit.h' file not found
7 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
4 errors generated.
[14/131] Compiling FBXCElementSnapshotWrapper+Helpers.m
[14/131] Compiling FBUnattachedAppLauncher.m
[14/131] Compiling FBW3CActionsSynthesizer.m
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/XCTestPrivateSymbols.m:14:
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/FBXCodeCompatibility.h:9:
/Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/include/WebDriverAgentLib/WebDriverAgentLib.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
9 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[14/131] Compiling XCTestPrivateSymbols.m
[14/131] Compiling XCUIElementQuery+FBHelpers.m
[14/131] Compiling FBXCAXClientProxy.m
[14/131] Compiling FBXCTestDaemonsProxy.m
[14/131] Compiling FBW3CActionsHelpers.m
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/FBXCodeCompatibility.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/FBXCodeCompatibility.h:9:
/Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/include/WebDriverAgentLib/WebDriverAgentLib.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
9 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[14/131] Compiling FBXCodeCompatibility.m
[14/131] Compiling FBXPath.m
BUILD FAILURE 6.0 macosSpm