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

Step_01: Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Step_02: Add bundle identifier ,valid certificate (p.12) & install WebDriver Agent
Step_03: Open Webdriver Agent Runner in Xcode & Select Target as iPhone
(Targets)
-WebDriverAgentLib (Add bundle Identifier)
-WebDriverAgentRunner(Add bundle Identifier)
-Unit Tests(Add bundle Identifier)
-IntegrationTets_1(Add bundle Identifier & Target App as “IntegrationApp”)
-IntegrationTets_2(Add bundle Identifier & Target App as “IntegrationApp”)
-IntegrationTets_3Add bundle Identifier & Target App as “IntegrationApp”)
-IntegrationApp(Add bundleIdentiifire)

For more info…