Attempting:
xcrun simctl
in terminal
yields:
xcrun: error: unable to find utility \"simctl\", not a de
adding xcode in preference-> locations works fine
If you are interested in command line "approach", please try: installer -pkg /Applications/Xcode.app/Contents/Resources/Packages/XcodeSystemResources.pkg -target /
. In addition, please make sure that xcode-select -s
selected right Xcode installation path.
I solved this problem by entering
Xcode > Preferences > Locations
And assigning the Command Line Tools
This is in Xcode Version 7.2 beta (7C46t)
In Terminal, try this.
sudo xcode-select -s /Applications/Xcode.app
/Applications/Xcode.app is your Xcode.app path.
if U still get error in terminal.
try sudo xcodebuild -license
to agree license.
While running Xcode, open the Xcode menu, go to Preferences…, then select Locations
In Locations, "Command Line Tools", choose your version of Xcode.
It should be fine. This worked for me.
[Got similar issue on executing command ./Scripts/bootstrap.sh -d.This helped me Xcode > Preferences > Locations,Set Command line Tools