小编Abs*_* F.的帖子

UI测试失败 - 无法获取元素错误-25201的快照

我目前在运行iOS测试时遇到此问题

Assertion Failure: UI Testing Failure - Failure getting snapshot Error Domain=XCTestManagerErrorDomain Code=9 "Error -25201 getting snapshot for element <AXUIElement 0x7faf7b4173f0> {pid=84523}" UserInfo={NSLocalizedDescription=Error -25201 getting snapshot for element <AXUIElement 0x7faf7b4173f0> {pid=84523}}
Run Code Online (Sandbox Code Playgroud)

目前使用Xcode v7.3.1,Cocoapods v1.0.1

我尝试删除DerivedData,Pods /,Podfile.lock和*.xcworkspace并随后运行pod install.没运气.仍然遇到错误.最初在Xcode 7.3中经历过.升级后,问题仍然存在.

任何经历过同样事情并解决问题的人?请分享您的解决方案.谢谢.

xcode ios xcode7 xcode-ui-testing cocoapods-1.0.1

43
推荐指数
1
解决办法
1573
查看次数

标签 统计

cocoapods-1.0.1 ×1

ios ×1

xcode ×1

xcode-ui-testing ×1

xcode7 ×1