I have configured the system as per latest XCUITest configuration. Only I got hold on Webdriver Agent configuration , this configuration was fine on the sample app.
Do I need to re-build the WedDriver agent using the Apple Developer credentials used for Real Native App which is under test?
I have used my own personal credentials to build the Webdriver agent and kept Agent runner on. When app launched through automation , Webdriver agent runner got disconnected and execution was very slow.
It seems there is some disconnect with Webdriver agent configuration. Request your support here.
Agree that the logs will provide a clearer path for help. There are quite a few extra moving pieces to worry about once you get into running against a physical iOS device and, in my experience, its not a super stable arrangement even when it does work. It gets easier with a little experience but, things will get stuck or end up on the wrong version and suddenly automating iOS feels more like trying to get the chevrons to lock on a StarGate.
Without the logs to identify your unique situation, I can make a couple of stabs in the dark:
Uninstalling WDA from the device, rebooting, and reinstalling WDA from XCode has cleared up some unexplained issues for me in the past.
I was having what looked like WDA issues after a certain Appium version upgrade. It turned out to be a problem with auto-launching ios-web-debugging-proxy (IWDP) on startup. Manually launching IWDP with a specified port and feeding that port to Appium cleared it up for me.
@Smitty, Thanks for response. I will apply your steps.
Can you let me know which credentials you have used to build WDA? Personal or your dev team developer account with which your actual app build
Thanks , Is it Dev Teams credentials mandatory to build and deploy WDA?
Do you see any issues in using Personal credentials like above what i mentioned?
I am not sure if it matters which credentials you use since I have always just had a single developer account to work with while using Appium. Whenever I add a device to be tested, I open the WDA XCode project, set the project credentials, and then do a run against the device. I assume that if you can deploy WDA in this way, your credentials are setup correctly. If the deployment fails, I would start looking at the provisioning profile you have setup with your developer account