-1

I'm getting this error on the XCUITest when trying click on text field: (i'm using Xcode Version 9.4.1 )

Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)

This the unit Test:

let app = XCUIApplication()
let textField = app.secureTextFields["pass"]
textField.tap()

1 Answers1

1

It turns out, when using the simulator with iOS version 11.1 displays the below issue when using textField.tap()

Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)

this issue is not appear when using the simulator with iOS version 11.4