Error: 'WebDriverAgent.xcodeproj' does not exist

I am trying to deploy my flutter app to my test device and test run it for locators. As a precursor, from my apple paid Developer account, I tried to load up ‘WebDriverAgent.xcodeproj’ and build, deploy it first. What ever the places,paths mentioned about this project in the documentation are not valid any more on my appium version 2.0.0-beta.46 and mac 12.6 Montere

The exact message is
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.

Can you show the desired capability, please? Which documentation are you following?