Can't find Info.pLlist

Having issues connecting to my appium server. The error I’m getting is

OneTimeSetUp: OpenQA.Selenium.WebDriverException : An unknown server-side error occurred while processing the command. Original error: Could not determine iOS SDK version: Could not get Xcode version. /Library/Developer/Info.plist does not exist on disk.
  Exception doesn't have a stacktrace

I’ve tried sudo xcode-select --switch /Applications/ but that’s not fixing it. From the logs it is using /Library/Developer/Info.plist when it should be using ~/Library/Developer/Info.plist but I’m not sure how to fix that.

This logic lives in

Basically, the call to xcode-select --print-path is used to find the path to the plist file. On my macOS the output of this command looks like /Applications/ Also, do not forget to restart Appium server after another path is selected, because it’s memoized.