08 Mag

Build Cordova on OSX High Sierra fail when buifl iOS platform

hi i write this post because when i try to build my ionic / cordova project with command cordova build ios i get this error

tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

After search differente fix i found this that for for me:

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