I stuck on the same - MAC OS - 12.5.1 |
iPhone OS - 16.0 |
Appium Version - 1.22.3 |
XCODE - 14
Test session results, code coverage, and logs:
/Users/siddhant/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2022.09.15_21-45-16--0400.xcresult
Testing failed:
Cannot link directly with dylib/framework, your binary is not an allowed client of /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework/XCTAutomationSupport for architecture arm64
Testing cancelled because the build failed.
** TEST FAILED **
The following build commands failed:
Ld /Users/siddhant/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/WebDriverAgentLib normal (in target 'WebDriverAgentLib' from project 'WebDriverAgent')
(1 failure)
Update the WebDriverAgent to latest version. Download the latest WebDriverAgent from https://github.com/appium/WebDriverAgent/releases/tag/v4.9.0 and replace the old Webdriveragent folder with the latest, from this path Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules.
This solution worked for me