'new' is unavailable: Use XCUIElementQuery to create XCUIElement instances

Hi ,

Recently i install xcode 9.0 beta 5 , on the Mac OS Sierra version 10.12.6 and using appium 1.6.5 with IOS 11 Real Device,
so getting build failed for “webdriverAgentRunner” under xcode 9.0 beta 5 with following error message under the file XCUIElement+FBClassChain.m
‘new’ is unavailable: Use XCUIElementQuery to create XCUIElement instances.

is any solution for this issue.