Command Line Tool – Error – xcrun: error: unable to find utility “xcodebuild”, not a developer tool or in PATH

I am getting this error while building the SwiftJSON framework to the Some Xcode project through Carthage Dependency Manager. Sivaramaiahs-Mac-mini:GZipDemoApp vsoftMacmini5$ carthage update –platform iOS *** Fetching GzipSwift *** Fetching SwiftyJSON *** Checking out GzipSwift at “3.1.1” *** Downloading SwiftyJSON.framework binary at “3.1.3” *** xcodebuild output can be found in /var/folders/7m/y0r2mdhn0f16zz1nlt34ypzr0000gn/T/carthage-xcodebuild.apLXCc.log A shell task (/usr/bin/xcrun … Read more