Xcodebuild failed with code 65 on Appium Inspector

Appium Server site error: Failed to create session. An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message: . Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.

Appium Inspector site error: POST /md/hub/session 500

Xcode: 14.0.1(14A400) IPhone11: 16.0.3 Appium Inspector: App Version 2022.9.1 Electron: 13.6.9 Node.js: 14.16.0

Xcodebuild failed with code 65 on Appium Inspector
 
 
Q