XCUITest handing alerts in iOS

I have upgraded to Appium 1.6.0 and Xcode 8. When I try to run my test, if an alert is thrown I am now getting this error:

 Selenium::WebDriver::Error::NoSuchAlertError:
       An attempt was made to operate on a modal dialog when one was not open.

I am using appium_lib ruby bindings and this was working until the change. Was using driver.alert_accept.Is there a new api call I need to make to dismiss?

Thank you in advance.