
Next, head over to “Locations” and choose the desired Command Line Tools.After that, pull down the Xcode menu and select Preferences.To get going, launch the Xcode package on your Mac.Bother not, you can get the full Xcode package from Apple.
#APPLE XCODE COMMAND LINE TOOLS INSTALL#
Install Xcode and Tweaking Location for Command Line ToolsĪ good number of users who had run into the same problem reported that installing Xcode and changing the location for command line tools help in getting rid of the issue. sudo xcode-select -s /Applications/Xcode.app/Contents/Developer 4. Once the Xcode has been successfully installed on the Mac, launch Terminal and then input the below-mentioned path. Install Xcode into /ApplicationsĪnother viable solution that has rescued many Mac users is installing Xcode from the Mac App Store into the /Applications/ directory on the Mac. Hopefully, it will troubleshoot the “xcode-select error xcodebuild requires Xcode” error on your Mac for good. If prompted, make sure to confirm the installation of the command line tools. Simply, press the CMD+Space to reveal the Spotlight Search and enter the following command to kickstart the installation of Command Line Tools xcode-select -install

Notably, you can also resolve this frustrating issue by just installing command line tools on your Mac from the command line.įirst off, open the Terminal app on your Mac. To do so, enter the below-given command in Terminal: sudo xcode-select -switch /Library/Developer/CommandLineTools 2. It’s worth pointing out that if you installed Xcode and Command Line Tools separately, make sure to re-specify the directory which is currently in use for command line tools. Besides, there are also other reliable workarounds to troubleshoot it. We can use Xcode package to get rid of the problem. Fortunately, fixing this issue is not rocket science. This might be because the Command Line tools are not pre-downloaded in the system and therefore it needs to be downloaded separately.

#APPLE XCODE COMMAND LINE TOOLS UPDATE#
Many Mac command line users often face this error while running codes when they update their systems. 2 Wrapping up…! Fix “Xcode-select: Error Active Developer Directory on Mac
