Hi Sireesha,
I followed all the above mentioned and it is working properly in happy flow.
But it case the program was stopped in middle or an exception occurred, then the next time onwards there are multiple issue coming through.
The 'port is in use' issue has been resolved by the command 'lsof -P | grep ':8100' | awk '{print $2}' | xargs kill -9
'.
But the other prevailing issue is,'WebDriverAgent' app in the physical device opens and hangs there. It never goes to background and opens my app. I even tried uninstalling WebDriverAgent still no use.I need to restart the device in order to resolve this issue.
Any solution for this??
I think below is the corresponding log.
"[debug] [WebDriverAgent] Device: Dec 14 12:07:05 Rafis-iPad XCTRunner[211] : Enqueue Failure: UI Testing Failure - Unable to update application state promptly. 0 1"