Xcode 7 UI 测试 - 断言失败:UI 测试失败 - 等待启动目标应用程序超时
Xcode 7 UI Testing - Assertion Failure: UI Testing Failure - Timeout waiting to launch Target Application
我 运行 接近 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
单独的脚本没有问题,因为它们 运行 自己没问题。关于修复有什么想法吗?
编辑:我正在测试的设备是 iPad Mini iOS 9.1,它在测试启动时崩溃
可能是 XCode 错误。您的 XCode 版本是什么?你见过https://forums.developer.apple.com/thread/13234吗?
我 运行 接近 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
单独的脚本没有问题,因为它们 运行 自己没问题。关于修复有什么想法吗?
编辑:我正在测试的设备是 iPad Mini iOS 9.1,它在测试启动时崩溃
可能是 XCode 错误。您的 XCode 版本是什么?你见过https://forums.developer.apple.com/thread/13234吗?