Build Information
Failed to build WebDriverAgent, reference v9.10.1+qaw.0 (4f4b98), with Swift 6.1 for macOS (SPM) on 31 May 2025 21:27:55 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/qawolf/WebDriverAgent.git
Reference: v9.10.1+qaw.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/qawolf/WebDriverAgent
* tag v9.10.1+qaw.0 -> FETCH_HEAD
HEAD is now at 4f4b986 spm: add initial support for SPM together with headers.sh to generate symlinks
Cloned https://github.com/qawolf/WebDriverAgent.git
Revision (git rev-parse @):
4f4b986b0ae578165ccc884ddb496d2a118b0e6f
SUCCESS checkout https://github.com/qawolf/WebDriverAgent.git at v9.10.1+qaw.0
========================================
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": "webdriveragent",
"name": "WebDriverAgent",
"url": "https://github.com/qawolf/WebDriverAgent.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WebDriverAgent",
"dependencies": [
]
}
]
}
Fetching https://github.com/qawolf/WebDriverAgent.git
[1/26824] Fetching webdriveragent
Fetched https://github.com/qawolf/WebDriverAgent.git from cache (1.81s)
Creating working copy for https://github.com/qawolf/WebDriverAgent.git
Working copy of https://github.com/qawolf/WebDriverAgent.git resolved at v9.10.1+qaw.0 (4f4b986)
warning: '.resolve-product-dependencies': dependency 'webdriveragent' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/qawolf/WebDriverAgent.git
https://github.com/qawolf/WebDriverAgent.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "WebDriverAgent",
"name" : "WebDriverAgent",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
}
],
"products" : [
{
"name" : "WebDriverAgentLib",
"targets" : [
"WebDriverAgentLib"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebDriverAgentLibTests",
"module_type" : "ClangTarget",
"name" : "WebDriverAgentLibTests",
"path" : "WebDriverAgentTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/WebDriverAgentTests/IntegrationApp/Resources/Base.lproj/Main.storyboard",
"rule" : {
"process" : {
"localization" : "Base"
}
}
}
],
"sources" : [
"IntegrationApp/Classes/AppDelegate.m",
"IntegrationApp/Classes/FBAlertViewController.m",
"IntegrationApp/Classes/FBNavigationController.m",
"IntegrationApp/Classes/FBScrollViewController.m",
"IntegrationApp/Classes/FBTableDataSource.m",
"IntegrationApp/Classes/TouchSpotView.m",
"IntegrationApp/Classes/TouchViewController.m",
"IntegrationApp/Classes/TouchableView.m",
"IntegrationApp/Classes/ViewController.m",
"IntegrationApp/main.m",
"IntegrationTests/FBAlertTests.m",
"IntegrationTests/FBAutoAlertsHandlerTests.m",
"IntegrationTests/FBConfigurationTests.m",
"IntegrationTests/FBElementAttributeTests.m",
"IntegrationTests/FBElementSwipingTests.m",
"IntegrationTests/FBElementVisibilityTests.m",
"IntegrationTests/FBFailureProofTestCaseTests.m",
"IntegrationTests/FBForceTouchTests.m",
"IntegrationTests/FBImageProcessorTests.m",
"IntegrationTests/FBIntegrationTestCase.m",
"IntegrationTests/FBKeyboardTests.m",
"IntegrationTests/FBPasteboardTests.m",
"IntegrationTests/FBPickerWheelSelectTests.m",
"IntegrationTests/FBSafariAlertTests.m",
"IntegrationTests/FBScreenTests.m",
"IntegrationTests/FBScrollingTests.m",
"IntegrationTests/FBSessionIntegrationTests.m",
"IntegrationTests/FBTapTest.m",
"IntegrationTests/FBTypingTest.m",
"IntegrationTests/FBVideoRecordingTests.m",
"IntegrationTests/FBW3CMultiTouchActionsIntegrationTests.m",
"IntegrationTests/FBW3CTouchActionsIntegrationTests.m",
"IntegrationTests/FBW3CTypeActionsTests.m",
"IntegrationTests/FBXPathIntegrationTests.m",
"IntegrationTests/XCElementSnapshotHelperTests.m",
"IntegrationTests/XCElementSnapshotHitPointTests.m",
"IntegrationTests/XCUIApplicationHelperTests.m",
"IntegrationTests/XCUIDeviceHealthCheckTests.m",
"IntegrationTests/XCUIDeviceHelperTests.m",
"IntegrationTests/XCUIDeviceRotationTests.m",
"IntegrationTests/XCUIElementAttributesTests.m",
"IntegrationTests/XCUIElementFBFindTests.m",
"IntegrationTests/XCUIElementHelperIntegrationTests.m",
"UnitTests/Doubles/XCElementSnapshotDouble.m",
"UnitTests/Doubles/XCUIApplicationDouble.m",
"UnitTests/Doubles/XCUIElementDouble.m",
"UnitTests/FBClassChainTests.m",
"UnitTests/FBConfigurationTests.m",
"UnitTests/FBElementCacheTests.m",
"UnitTests/FBElementTypeTransformerTests.m",
"UnitTests/FBElementUtilitiesTests.m",
"UnitTests/FBErrorBuilderTests.m",
"UnitTests/FBExceptionHandlerTests.m",
"UnitTests/FBLRUCacheTests.m",
"UnitTests/FBMathUtilsTests.m",
"UnitTests/FBProtocolHelpersTests.m",
"UnitTests/FBRouteTests.m",
"UnitTests/FBRunLoopSpinnerTests.m",
"UnitTests/FBRuntimeUtilsTests.m",
"UnitTests/FBSDKVersionTests.m",
"UnitTests/FBSessionTests.m",
"UnitTests/FBXMLSafeStringTests.m",
"UnitTests/FBXPathTests.m",
"UnitTests/NSDictionaryFBUtf8SafeTests.m",
"UnitTests/NSExpressionFBFormatTests.m",
"UnitTests/NSPredicateFBFormatTests.m",
"UnitTests/XCUIElementHelpersTests.m",
"UnitTests_tvOS/Doubles/XCUIElementDouble.m",
"UnitTests_tvOS/FBTVNavigationTrackerTests.m"
],
"target_dependencies" : [
"WebDriverAgentLib"
],
"type" : "test"
},
{
"c99name" : "WebDriverAgentLib",
"module_type" : "ClangTarget",
"name" : "WebDriverAgentLib",
"path" : "WebDriverAgentLib",
"product_memberships" : [
"WebDriverAgentLib"
],
"sources" : [
"Categories/FBXCElementSnapshotWrapper+Helpers.m",
"Categories/NSDictionary+FBUtf8SafeDictionary.m",
"Categories/NSExpression+FBFormat.m",
"Categories/NSString+FBVisualLength.m",
"Categories/NSString+FBXMLSafeString.m",
"Categories/XCAXClient_iOS+FBSnapshotReqParams.m",
"Categories/XCTIssue+FBPatcher.m",
"Categories/XCUIApplication+FBAlert.m",
"Categories/XCUIApplication+FBHelpers.m",
"Categories/XCUIApplication+FBQuiescence.m",
"Categories/XCUIApplication+FBTouchAction.m",
"Categories/XCUIApplication+FBUIInterruptions.m",
"Categories/XCUIApplicationProcess+FBQuiescence.m",
"Categories/XCUIDevice+FBHealthCheck.m",
"Categories/XCUIDevice+FBHelpers.m",
"Categories/XCUIDevice+FBRotation.m",
"Categories/XCUIElement+FBAccessibility.m",
"Categories/XCUIElement+FBCaching.m",
"Categories/XCUIElement+FBClassChain.m",
"Categories/XCUIElement+FBFind.m",
"Categories/XCUIElement+FBForceTouch.m",
"Categories/XCUIElement+FBIsVisible.m",
"Categories/XCUIElement+FBPickerWheel.m",
"Categories/XCUIElement+FBResolve.m",
"Categories/XCUIElement+FBScrolling.m",
"Categories/XCUIElement+FBSwiping.m",
"Categories/XCUIElement+FBTVFocuse.m",
"Categories/XCUIElement+FBTyping.m",
"Categories/XCUIElement+FBUID.m",
"Categories/XCUIElement+FBUtilities.m",
"Categories/XCUIElement+FBVisibleFrame.m",
"Categories/XCUIElement+FBWebDriverAttributes.m",
"Categories/XCUIElementQuery+FBHelpers.m",
"Commands/FBAlertViewCommands.m",
"Commands/FBCustomCommands.m",
"Commands/FBDebugCommands.m",
"Commands/FBElementCommands.m",
"Commands/FBFindElementCommands.m",
"Commands/FBOrientationCommands.m",
"Commands/FBScreenshotCommands.m",
"Commands/FBSessionCommands.m",
"Commands/FBTouchActionCommands.m",
"Commands/FBTouchIDCommands.m",
"Commands/FBUnknownCommands.m",
"Commands/FBVideoCommands.m",
"FBAlert.m",
"Routing/FBCommandStatus.m",
"Routing/FBElementCache.m",
"Routing/FBElementUtils.m",
"Routing/FBExceptionHandler.m",
"Routing/FBExceptions.m",
"Routing/FBResponseJSONPayload.m",
"Routing/FBResponsePayload.m",
"Routing/FBRoute.m",
"Routing/FBRouteRequest.m",
"Routing/FBScreenRecordingContainer.m",
"Routing/FBScreenRecordingPromise.m",
"Routing/FBScreenRecordingRequest.m",
"Routing/FBSession.m",
"Routing/FBTCPSocket.m",
"Routing/FBWebServer.m",
"Routing/FBXCAccessibilityElement.m",
"Routing/FBXCDeviceEvent.m",
"Routing/FBXCElementSnapshot.m",
"Routing/FBXCElementSnapshotWrapper.m",
"Utilities/FBAccessibilityTraits.m",
"Utilities/FBActiveAppDetectionPoint.m",
"Utilities/FBAlertsMonitor.m",
"Utilities/FBBaseActionsSynthesizer.m",
"Utilities/FBCapabilities.m",
"Utilities/FBClassChainQueryParser.m",
"Utilities/FBConfiguration.m",
"Utilities/FBDebugLogDelegateDecorator.m",
"Utilities/FBElementHelpers.m",
"Utilities/FBElementTypeTransformer.m",
"Utilities/FBErrorBuilder.m",
"Utilities/FBFailureProofTestCase.m",
"Utilities/FBImageProcessor.m",
"Utilities/FBImageUtils.m",
"Utilities/FBKeyboard.m",
"Utilities/FBLogger.m",
"Utilities/FBMathUtils.m",
"Utilities/FBMjpegServer.m",
"Utilities/FBNotificationsHelper.m",
"Utilities/FBPasteboard.m",
"Utilities/FBProtocolHelpers.m",
"Utilities/FBReflectionUtils.m",
"Utilities/FBRunLoopSpinner.m",
"Utilities/FBRuntimeUtils.m",
"Utilities/FBScreen.m",
"Utilities/FBScreenshot.m",
"Utilities/FBSettings.m",
"Utilities/FBTVNavigationTracker.m",
"Utilities/FBUnattachedAppLauncher.m",
"Utilities/FBW3CActionsHelpers.m",
"Utilities/FBW3CActionsSynthesizer.m",
"Utilities/FBWebServerParams.m",
"Utilities/FBXCAXClientProxy.m",
"Utilities/FBXCTestDaemonsProxy.m",
"Utilities/FBXCodeCompatibility.m",
"Utilities/FBXMLGenerationOptions.m",
"Utilities/FBXPath.m",
"Utilities/LRUCache/LRUCache.m",
"Utilities/LRUCache/LRUCacheNode.m",
"Utilities/NSPredicate+FBFormat.m",
"Utilities/XCTestPrivateSymbols.m",
"Utilities/XCUIApplicationProcessDelay.m"
],
"target_dependencies" : [
"RoutingHTTPServer"
],
"type" : "library"
},
{
"c99name" : "RoutingHTTPServer",
"module_type" : "ClangTarget",
"name" : "RoutingHTTPServer",
"path" : "WebDriverAgentLib/Vendor/RoutingHTTPServer",
"product_memberships" : [
"WebDriverAgentLib"
],
"sources" : [
"HTTPResponseProxy.m",
"Route.m",
"RouteRequest.m",
"RouteResponse.m",
"RoutingConnection.m",
"RoutingHTTPServer.m"
],
"target_dependencies" : [
"CocoaHTTPServer"
],
"type" : "library"
},
{
"c99name" : "CocoaHTTPServer",
"module_type" : "ClangTarget",
"name" : "CocoaHTTPServer",
"path" : "WebDriverAgentLib/Vendor/CocoaHTTPServer",
"product_memberships" : [
"WebDriverAgentLib"
],
"sources" : [
"Categories/DDNumber.m",
"Categories/DDRange.m",
"HTTPConnection.m",
"HTTPMessage.m",
"HTTPServer.m",
"Responses/HTTPDataResponse.m",
"Responses/HTTPErrorResponse.m"
],
"target_dependencies" : [
"CocoaAsyncSocket"
],
"type" : "library"
},
{
"c99name" : "CocoaAsyncSocket",
"module_type" : "ClangTarget",
"name" : "CocoaAsyncSocket",
"path" : "WebDriverAgentLib/Vendor/CocoaAsyncSocket",
"product_memberships" : [
"WebDriverAgentLib"
],
"sources" : [
"GCDAsyncSocket.m",
"GCDAsyncUdpSocket.m"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/122] Compiling CocoaHTTPServer HTTPServer.m
[1/122] Compiling HTTPErrorResponse.m
[2/122] Compiling XCUIApplicationProcessDelay.m
[3/122] Compiling CocoaHTTPServer HTTPConnection.m
[4/122] Compiling CocoaHTTPServer HTTPMessage.m
[5/122] Compiling LRUCacheNode.m
[6/122] Compiling LRUCache.m
[7/122] Compiling FBXMLGenerationOptions.m
[8/122] Compiling RoutingHTTPServer HTTPResponseProxy.m
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Categories/XCUIDevice+FBHealthCheck.m:12:
/Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Categories/XCUIDevice+FBRotation.h:23:43: error: expected a type
23 | - (BOOL)fb_setDeviceInterfaceOrientation:(UIDeviceOrientation)orientation;
| ^
/Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Categories/XCUIDevice+FBHealthCheck.m:44:9: error: no visible @interface for 'XCUIDevice' declares the selector 'pressButton:'
44 | [self pressButton:XCUIDeviceButtonHome];
| ~~~~ ^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Categories/XCUIDevice+FBHealthCheck.m:44:21: error: use of undeclared identifier 'XCUIDeviceButtonHome'
44 | [self pressButton:XCUIDeviceButtonHome];
| ^
3 errors generated.
[9/122] Compiling XCUIDevice+FBHealthCheck.m
[9/122] Compiling FBXPath.m
[9/122] Compiling XCUIElement+FBClassChain.m
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/FBXCodeCompatibility.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/FBXCodeCompatibility.h:10:
/Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/include/WebDriverAgentLib/WebDriverAgentLib.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[9/122] Compiling FBXCodeCompatibility.m
[9/122] Compiling XCUIDevice+FBHelpers.m
[9/122] Compiling XCUIElement+FBFind.m
[9/122] Compiling NSPredicate+FBFormat.m
[9/122] Compiling FBXCTestDaemonsProxy.m
[9/122] Compiling XCUIElement+FBCaching.m
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/XCTestPrivateSymbols.m:15:
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/FBXCodeCompatibility.h:10:
/Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/include/WebDriverAgentLib/WebDriverAgentLib.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[9/122] Compiling XCTestPrivateSymbols.m
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/113] Compiling FBWebServerParams.m
/Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/FBUnattachedAppLauncher.m:12:9: fatal error: 'MobileCoreServices/MobileCoreServices.h' file not found
12 | #import <MobileCoreServices/MobileCoreServices.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/113] Compiling FBUnattachedAppLauncher.m
[1/113] Compiling FBTVNavigationTracker.m
[1/113] Compiling NSPredicate+FBFormat.m
[1/113] Compiling FBW3CActionsSynthesizer.m
[1/113] Compiling FBXPath.m
[1/113] Compiling FBW3CActionsHelpers.m
[1/113] Compiling FBXCTestDaemonsProxy.m
[1/113] Compiling FBXCAXClientProxy.m
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/XCTestPrivateSymbols.m:15:
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/FBXCodeCompatibility.h:10:
/Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/include/WebDriverAgentLib/WebDriverAgentLib.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[1/113] Compiling XCTestPrivateSymbols.m
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/FBXCodeCompatibility.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/Utilities/FBXCodeCompatibility.h:10:
/Users/admin/builder/spi-builder-workspace/WebDriverAgentLib/include/WebDriverAgentLib/WebDriverAgentLib.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[1/113] Compiling FBXCodeCompatibility.m
BUILD FAILURE 6.1 macosSpm