Tutorial Sample App - Can't match anything

I am trying the tutorial with java:
With the provided UICatalog app.

I have got it running and have been trying the AutomatingASimpleActionTest class with the test case one.

It does this:
text(“Buttons, Various uses of UIButton”).click();

and it always fails.

I tried updating the client library to 5.0.0-BETA8 and using this to try an match any button:
driver.findElement(MobileBy.iOSNsPredicateString(“type == ‘XCUIElementTypeButton’”)).click()

but it also fails.

How can I match a field?