iOS real devices - Application is crashing and all tests stop their execution

Hi, guys,
I’m new at automation with Appium and I have very serious issue with testing iOS for real devices. :frowning: I’m using:

Appium: 1.5.3
Language: Java
Xcode: Version 7.3.1
Real Device: iPhone 6 with OS version: 9.0.2

I have a set of tests and they work fine for Android. When I run the tests for iOS, they start to executing, but in some point (in random test or step) the application is crashing and all tests stop with their execution. I receive this error:

Java error:

org.openqa.selenium.NoSuchSessionException: A session is either terminated or not started (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 5 milliseconds
Build info: version: ‘3.0.0-beta3’, revision: ‘c7b525d’, time: ‘2016-09-01 14:57:03 -0700’
System info: host: ‘Georgis-iMac.local’, ip: ‘’, ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_60’
Driver info: io.appium.java_client.ios.IOSDriver
Capabilities [{networkConnectionEnabled=false, bundleId=com.wacom.bamboospark, databaseEnabled=false, deviceName=Antoaneta Stoyanova’s iPhone, platform=MAC, showIOSLog=true, nativeInstrumentsLib=true, desired={showIOSLog=true, nativeInstrumentsLib=true, newCommandTimeout=111120, platformVersion=9.0, bundleId=com.wacom.bamboospark, platformName=iOS, udid=c35e79493f50a5709ec42d21f6d9d89fbfab32ac, deviceName=Antoaneta Stoyanova’s iPhone, autoAcceptAlerts=true}, newCommandTimeout=111120, platformVersion=9.0, webStorageEnabled=false, locationContextEnabled=false, browserName=, takesScreenshot=true, javascriptEnabled=true, platformName=iOS, udid=c35e79493f50a5709ec42d21f6d9d89fbfab32ac, autoAcceptAlerts=true}]
Session ID: 6119fa28-94bb-4251-9d29-1cc55d3408de

Appium log:
Appium_Log.txt (18.3 KB)

Thanks in advance!

1 Like