WDA gets installed and deleted on Iphone while creating session using appium desktop

Web driver agent gets installed and deleted on the iphone real device after successful build of integration app and web driver agent on Xcode. Using the latest IOS 14.2 on iphone and Xcode12 and appium desktop version 1.18. While trying to install Web driver agent on iphone with Appium desktop and launch the application the Web driver agent app gets installed and deleted with the below error:

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.

Please help if anyone has found a solution for this problem

I had similar problem, try to manually build WebDriverAgentRunner and WebDriverAgentLib into your device and add ‘usePrebuiltWDA’: true into your config.53

Hi,

I am still facing this he issue even after using all the desired capabilities can you suggest any other way to resolve the issue.