Can you fix this check xcodeVersion for this server fault - https://github.com/appium/appium/issues/1442 ?
Before split this needs check if this.xcodeVersion is not null or undefined.