Having issues trying to build WDA manually

xcode version 14.3

cannot link directly with dylib/framework, your binary is not an allowed client of /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework/XCTAutomationSupport for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

left to write about your appium driver xcuitest version