runAppInBackground() does not work for iOS9


[Appium version: 1.4.11]

runAppInBackground() does not manage to launch the app after running it in background on iOS9.


Stack trace:
Session ID: d43a480d-a751-417d-a1ec-980854a51539
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at org.openqa.selenium.remote.ErrorHandler.createThrowable(
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(
at org.openqa.selenium.remote.RemoteWebDriver.execute(
at io.appium.java_client.AppiumDriver.execute(
at io.appium.java_client.AppiumDriver.runAppInBackground(

Thank you in advance for your help

1 Like

I’m seeing this as well. App seems to have trouble recovering and is stuck in the app transition screen.

Filed here with relevant server logs:

1 Like

some problem as well on my side , the thing is , runAppInBackground() has stopped to work completely since I’ve moved to xcode 7.0.1 (new SDK) , also while running device with ios 8.4 (the test before upgrade was passing) the application doesn’t return from background