Error while inspector for iOS

Hi,

I have following configuration for Mac.
Mac 10.14.5 (18F203)
xCode Path: /Library/Developer/CommandLineTools
Xcode Version 10.1
ipa file location: /username/download/abc.ipa
appium version: 1.13.0
appium: 1.5

I started appium server from terminal and then started appium where I can inspect element.

When I click on Inspector I got error dialog box saying

Could Not Launch Appium Inspector
Could not start a new session

Be sure the Appium server is running with an application opened by using the “App Path” parameter in Appium.app (along with package and activity for Android) or by connecting with selenium client and supplying this in the desired capabilities object.

my iOS settings was like this
app path: /User/download/abc.ipa

I am getting following error in log
[XCUITest] Error: Could not determine Xcode version: Could not get Xcode version. /Library/Developer/Info.plist does not exist on disk.

help me pls.

Try this:
sudo xcode-select --reset
sudo xcode-select --switch /Applications/Xcode.app

Note that you should change the second command to the actual location of Xcode.app if it’s not in the path specified. After doing the above you should restart Appium if it’s still running.