Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65

Hi Facing this issue for ios 16, xcode 14 build. tried above suggestions still facing the same and this is happening while trying to inspect on simulator

{

“platformName”: “iOS”,
“appium:platformVersion”: “16.0”,
“appium:automationName”: “XCUITest”,
“appium:bundleId”: “com.sap.epm.**”,
“appium:deviceName”: “iPhone 14 Pro Max”
}
Device cap

appium version 1.22.3
xcode version 14.0

appium inspector 2022.8.1