After some of the cases of ios xcui test execution WDA session stops with error:
After around 60-70 successful test execution … test suite execution stop unexpectedly.
WebDriverException: Message: 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”. 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
Please help me if any one have idea about this issue.