zalando / SwiftMonkey

A framework for doing randomised UI testing of iOS apps
MIT License
1.95k stars 174 forks source link

assertion failure #36

Closed Le-Le-LeapFrog closed 7 years ago

Le-Le-LeapFrog commented 7 years ago

Assertion Failure: :0: Failure getting snapshot Error Domain=XCTestManagerErrorDomain Code=9 "Error -25204 getting snapshot for element <AXUIElement 0x1004357f0> {pid=6595}" UserInfo={NSLocalizedDescription=Error -25204 getting snapshot for element <AXUIElement 0x1004357f0> {pid=6595}}

wojciechczerski commented 7 years ago

Hey, thanks for your feedback! Does this assertion appear in your app or in the sample app? In case it's the sample, it should have already been solved by https://github.com/zalando/SwiftMonkey/pull/31.

DagAgren commented 7 years ago

This is basically a bug in Xcode. There is no general fix for it, just very random workarounds like the one mentioned by @wojciechczerski.

wojciechczerski commented 7 years ago

This issue has been fixed in iOS 11 (15A372).