tns setup issue. Solved.

You have Xcode installed but you still get the error:

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Xcode is not installed or not configured properly. Download, install, set it up and run this script again.

Here is how I solved the issue:

  • open Xcode
  • Preferences > Locations
  • Select a Command Line Tools from the dropdown

for more info check this stackoverflow question.

I got this issue working on a NativeScript-Vue project. I couldn’t run
npm run watch:
because I was missing the nativescript-cloud extension. So I had to run tns setup …

tiuscia

Leave a Reply

Your email address will not be published. Required fields are marked *