Is the installation of Xcode from App Store enough for having the developer tools?

today I attempted to install the new variation of Xcode. Prior to that I got rid of the programmer devices with the adhering to command:

sudo /Library/Developer/Shared/uninstall-devtools --mode=all

I additionally had various other folder in /Library/Developer such as 4.2 4.2.1

After that I mounted the new Xcode and also I saw that the folder /Library/Developer has just the Shared folder, which does not have the command uninstall-devtools.

Did I install the programmer devices or do I need to do something extra?

An additional relevant trouble is that when I attempt to install Flann via Homebrew it reports the adhering to mistake:

xcode - select: Error: No Xcode folder is set. Run xcode-select -switch <xcode_folder_path> to set the course to the Xcode folder.

Just how can I repair it?

2022-06-07 14:36:43
Source Share
Answers: 4

xcode-select -select "/Applications/" repaired this trouble for me. Every little thing is peachy currently.

2022-06-08 02:05:35

Apple is giving these command line programmer devices as a stand alone plan currently, so you might desire to get a free programmer account if you do not intend to wait for homebrew to change and locate / link to the new directory structure.

A wonderful recap of the state of events on Xcode 4.3.x and also older along with the forthcoming adjustments and also advantages of having the command line devices packaged by Apple formally with headers is on Kenneth Reitz's blog.

2022-06-07 15:04:19

When you download and install Xcode from the App Store, you are in fact downloading and install an application called Install Xcode. You require to run that if you have not ; I'm unclear on whether you executed this action. As soon as you do that, you will certainly have


and also various other parts (thinking you install to the default area), yet seek first.

2022-06-07 15:03:53

Installing Xcode 4.3 does install the programmer devices, yet except command line accessibility. With this variation, every little thing has actually been relocated right into the application package, which suggests there is no demand for a uninstaller, given that you can simply delete the application. If you intend to install the command line devices, open Xcode and also most likely to Xcode > Preferences > Downloads, select the Components tab, and also click the switch alongside Command Line Tools. (This could add an uninstaller someplace, yet I'm not exactly sure.)

When it comes to Homebrew, you could need to await an upgrade prior to it sustains Xcode 4.3, given that every little thing was relocated. I would certainly recommend attempting /Applications/ as the <xcode_folder_path>, given that a lot of the power structure seems the very same.

The homebrew programmers are tracking these adjustments in their bug data source so, you might intend to monitor this thread for workarounds and notification of when the homebrew system will easily collaborate with the new adjustments for Xcode 4.3.

2022-06-07 15:02:59