Appium is not recognising the Xcode beta-5 version

When trying to run appium with Xcode beta-5 getting error like Could not determine Xcode version error .

Original error:
unknown server-side error occurred while processing the command. Original error: Could not determine Xcode version: Could not get Xcode version. /Library/Developer/Info.plist does not exist on disk.