XCode build is success, still unable to launch webdriveragent because of xcodebuild failure

XCode build is success, still unable to launch webdriveragent because of xcodebuild failure on real device, please check the below link and follow the steps to resolve your issue.