Xcode version: Not installed?

I can’t run ios build or emulate. I get this error : Error: xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance

Can someone explain what i’m doing wrong ?

My system info.

macOS Sierra
ver. 10.12
Xcode : Version 8.0 (8A218a)

Your system information:

Cordova CLI: 6.3.1
Ionic Framework Version: 1.2.4
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X Sierra
Node Version: v4.6.0
Xcode version: Not installed

1 Like

Try this command and rebuild:

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

Found here: https://www.npmjs.com/package/dbr


Thank you did the trick !

1 Like

Thanksss VRM, working in 2019