Hi all,
I managed to solve numerous troubles with Appium setup, and basically now I can run tests, but the system is extremely unstable. Would someone share their experience regarding the following issues:
1) Appium server is unstable. It often exits with the message:
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] killing xcodebuild process: 0
Terminated: 15
Perhaps, the easiest way to reproduce this behavior is to abort tests without driver.quit(), and to restart them.
BTW, I wish there was an easy way at least to restart the server.
2) Device connection is unstable. Sometimes (to often...) when I start the next session the device (iPad) asks "Trust this computer?" question. Of course, I cannot just sit there and tap "yes" all the time
It might be an issue of the iPad itself, but I must say that this problem is limited to Appium -- when I simply attach the device to my Mac, there are no questions of trust asked. Even if I say "yes", it does not help -- the application simply will not run. To run it, I have to restart both the server and the tests.