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/Xcode.app 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 https://github.com/appium/appium-ios/blob/a4f8e52166e011630ef8991e6abc14aaafe1a095/packages/xcode/lib/xcode.js#L114

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/Xcode.app/Contents/Developer. Also, do not forget to restart Appium server after another path is selected, because it’s memoized.