The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WebDriverAgent, reference v9.10.1+qaw.0 (4f4b98), with Swift 6.0 for macOS (SPM) on 31 May 2025 21:18:55 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build 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
========================================
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/122] Compiling CocoaHTTPServer HTTPServer.m
[1/122] Compiling CocoaHTTPServer HTTPMessage.m
[2/122] Compiling XCUIApplicationProcessDelay.m
[3/122] Compiling CocoaHTTPServer HTTPConnection.m
[4/122] Compiling LRUCacheNode.m
[5/122] Compiling LRUCache.m
[6/122] Compiling DDRange.m
[7/122] Compiling DDNumber.m
[8/122] Compiling CocoaAsyncSocket GCDAsyncSocket.m
[9/122] Compiling FBXMLGenerationOptions.m
[10/122] Compiling HTTPErrorResponse.m
[11/122] Compiling CocoaAsyncSocket GCDAsyncUdpSocket.m
[12/122] 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.
[13/122] Compiling FBUnattachedAppLauncher.m
[13/122] Compiling FBXCAXClientProxy.m
[13/122] Compiling FBXCTestDaemonsProxy.m
[13/122] Compiling FBW3CActionsHelpers.m
[13/122] Compiling FBW3CActionsSynthesizer.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>
      |         ^~~~~~~~~~~~~~~
[13/122] Compiling FBXPath.m
[13/122] Compiling FBXCodeCompatibility.m
[13/122] Compiling NSPredicate+FBFormat.m
[13/122] Compiling HTTPDataResponse.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>
      |         ^~~~~~~~~~~~~~~
[13/122] Compiling XCTestPrivateSymbols.m
BUILD FAILURE 6.0 macosSpm