runAppInBackground() does not work for iOS9

Hi,

[Appium version: 1.4.11]

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

Result: http://oi62.tinypic.com/5me0jm.jpg.

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

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