iOS app runs smooth in manual testing but crashes in Appium 1.9.1 Automation


#1

Appium Version : 1.9.1
iOS Version : 12.0
Xcode Version : 10.0
App compiled using xcode version : 10.1
Framework : Hybrid (Maven+Testng+Apache poi+Java)
Java version : 1.8.1

Applications runs smoothly while testing manually but it starts crashing when running automation with above configuration in some specific screens.

Automation is working fine with appium 1.7.2 and 1.8.0

I dont know what is wrong with Appium version 1.9.1

Xcode device logs shows critical memory error and app crashes.

Crash Logs in appium

[debug] [MJSONWP] Matched JSONWP error code 889 to UnknownError
[debug] [BaseDriver] Waited for 90 ms so far
[debug] [JSONWP Proxy] Matched ‘/elements’ to command name ‘findElements’
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/C68B02B5-3501-40CF-8F30-5C7F7167FEC0/elements] with body: {“using”:“id”,“value”:“UILabel_lvLabel”}
[debug] [JSONWP Proxy] Got response with status 200: {“value”:“The application under test with bundle id ‘here is my app bundle id’ is not running, possibly crashed”,“sessionId”:“C68B02B5-3501-40CF-8F30-5C7F7167FEC0”,“status”:889}