Reputation: 431
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.
Upvotes: 43
Views: 2967
Reputation: 3905
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.
Upvotes: 2