Getting this error when i start appium in my mac

An unknown server-side error occurred while processing the command. Original error: Sdk ‘10.12.5’ was not in list of simctl sdks category:35

What version of Appium server? What version of xCode?