Appium WebDriverAgentError

Xcode got upgraded to 14.1 and tried the to build the WedDriverAgent and got the following error “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” and build got failed.

I tried to download the Xcode 13.4.1 but its not supported in my MAC version as it is updated to MACOS ventura 13.0. Please help!!! Iam currently blocked for automation and any help would be appreciated. Please