Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UI Testing Failure - Failure getting snapshot for element Error -25201

I currently encountered this issue while running my UI Tests for iOS

Assertion Failure: UI Testing Failure - Failure getting snapshot Error Domain=XCTestManagerErrorDomain Code=9 "Error -25201 getting snapshot for element {pid=84523}" UserInfo={NSLocalizedDescription=Error -25201 getting snapshot for element {pid=84523}}

Currently using Xcode 7.3.1, Cocoapods 1.0.1.

I tried deleting DerivedData, Pods/, Podfile.lock and *.xcworkspace and running pod install afterwards. No luck. Still experiencing the error. First experienced in Xcode 7.3. Upgraded it and issue still persists.

Anybody who experienced the same thing and resolved the problem? Kindly share your solution. Thank you.

like image 714
Abs F. Avatar asked Jun 22 '16 16:06

Abs F.


1 Answers

The link https://forums.developer.apple.com/message/129839#129839 claims that this has multiple causes, all being bugs that haven't been fixed yet. There are some possible solutions in that post. You need an Apple Developer account to see it.

like image 185
mikep Avatar answered Oct 19 '22 23:10

mikep