Xcode build failed due to Tests did not run

I am having trouble building WebDriverAgent on MacOS Sonoma with Xcode 15 and iOS SDK 17.0. The build always fails with the following error.: Parameter of overriding method should be annotated with __attribute__((noescape))

Showing Recent Messages
/Users/.nvm/versions/node/v14.18.0/lib/node_modules/appium/node_modules/appium-webdriveragent/PrivateHeaders/XCTest/XCTestCase.h:54:42: 
Parameter of overriding method should be annotated with __attribute__((noescape)) 

I am also having the same issue with Xcode 15 and iOS SDK 17.0.2. Do we have any solution for this?

Hi, I have the same problem. My workaround was to install the latest version from github.com/appium/WebDriverAgent. Build and execution was okay now

Thanks @SpaceTrucking

@Pa303m

I tried below solution : Earlier i had opened WebDriverAgent.xcodeproj from the location "/usr/local/lib/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj". Now changed it to the path returned by below command echo "$(dirname "$(find "$HOME/.appium" -name WebDriverAgent.xcodeproj)")"

Build is succeeded for WebdriverAgentRunner and WebdriverAgentLib

I had just commented the line and rebuilt the project and it worked.

Xcode build failed due to Tests did not run
 
 
Q