我正在运行接近30个Xcode 7 UI测试脚本,我的测试失败了10 - 15个脚本,并出现此错误:
Assertion Failure: UI Testing Failure - Timeout waiting to launch Target Application 0x1004c5400
<unknown>:0: error: -[Name_Tests test_FormName] : UI Testing Failure - Timeout waiting to launch Target Application 0x1004c5400
t = 30.59s Tear Down
Test Case '-[Name_Tests test_FormName]' failed (30.599 seconds).
然后,此失败后的所有脚本都会出现此错误消息:
Assertion Failure: UI Testing Failure - App state is still not terminated
<unknown>:0: error: -[Name_Tests test_VideoName] : UI Testing Failure - App state is still not terminated
单个脚本没有问题,因为它们可以自行运行。关于修复的任何想法?
编辑:我正在测试的设备是iOS 9.1上的iPad Mini,它在测试启动时崩溃