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

Hey guys,

I’m new here, I’m using the Appium inspector and appium server (2.0.1), and when trying to load the app using an iPhone 14 Pro simulator I’m getting this 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:”

The thing is, the seems to be installed on the simulator and then Im getting this error

This is my Setup: