Thank you, this almost works. But I now receive this error:
“Could not generate Xcode project: error: root manifest not found”
I guess this has an origin in using the Xcode-beta (10.0). I had the normal version installed but during the Vapor installation it halted because Xcode was not up to date. I had the latest version of Xcode installed so the only version which was newer is the beta. I installed the beta and that made me install Vapor without problems.
Guys thank you for your support. It was indeed the wrong directory. I did move out of the directory looking if the path was correct, it wasn’t instead of “Xcode” it says “Xcode-beta”. Changed the command to:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
this command i am getting the same error
Akshays-MacBook-Air-2:HelloVapor akshaydevkate$ vapor xcode
Generating Xcode Project [Failed]
error: terminated(72): xcrun --sdk macosx --find xctest output:
xcrun: error: unable to find utility “xctest”, not a developer tool or in PATH
Error: Could not generate Xcode project: error: terminated(72): xcrun --sdk macosx --find xctest output:
xcrun: error: unable to find utility “xctest”, not a developer tool or in PATH