Xcode 7.2 is causing every other UI Test case to fail - is XCApplicationStateRunningActive (3), still not XCApplicationStateNotRunning (1)

Originator:richard.yeh
Number:rdar://23964052 Date Originated:18-Dec-2015
Status:Duplicate of 23920068 (Closed) Resolved:
Product:Developer Tools Product Version:Xcode 7.2, iOS 9.2, OS X 10.11.2 (15C50)
Classification:Serious Bug Reproducible:Always
 
Summary:
After updating to Xcode 7.2, every other UI Test fails spontaneously with the following error message:

UI Testing Failure - App state for <XCUIApplicationProcess: 0x13ded1930 (null) (1267)> is XCApplicationStateRunningActive (3), still not XCApplicationStateNotRunning (1)

The test reports cite this error as happening in the Set Up method.

See also:
http://stackoverflow.com/questions/34325297/xcode-ui-tests-are-failing-because-of-xcapplicationstaterunningactive-on-physica

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!