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

Originator:kevin
Number:rdar://24524204 Date Originated:5 February 2016
Status:Resolved Resolved:Since Xcode 7.3 beta 3 (7D141l)
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!