Error: Unable to launch WebDriverAgent because of xcodebuild failure

I am setting up Mac for iOS application automation and I have downloaded all prerequisites.
But at the time of running my test case I am facing error.
I have attached the Appium server logs. And here is my script.

package com.test;

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;

import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.testng.annotations.Test;

import io.appium.java_client.ios.IOSDriver;

public class Testclass {
	IOSDriver driver;
	WebDriverWait wait;
	
	@Test
	public void setUP() throws MalformedURLException, InterruptedException
	{
		DesiredCapabilities caps = new DesiredCapabilities();
		caps.setCapability("deviceName", "nsingh2’s iPhone");
		caps.setCapability("platformName", "iOS");
		caps.setCapability("udid", "t6y87j7gr6ns4kloi6d3bf5d3ed15ae2c0ede220");
		caps.setCapability("platformVersion", "10.3.3");
		caps.setCapability("automationName", "XCUITest");
		caps.setCapability("xcodeOrgId", "JUTGVF****");
		caps.setCapability("xcodeSigningId", "iPhone Developer");
		//caps.setCapability("bundleId", "com.test.app");
		File file= new File("/Volumes/Data/test.ipa");
		caps.setCapability("app", file.getAbsolutePath());
		driver = new IOSDriver<>(new URL("http://127.0.0.1:4567/wd/hub/"), caps);
		Thread.sleep(10000);
	}
}

Please help to resolve it.

appium-server-logs.txt (19.4 KB)

WDA agent is not being setup on your run.go though below url

As written in the error log, follow this tutorial: