16

I'm confused. I just downloaded 6 supplementary packages using Xcode > Open Developer Tool > More Developer Tools... and I thought the .dmg files would contain .pkg files, but instead they contain programs. Where am I supposed to install these programs?

I suspect the answer might be "Anywhere you want." — But I don't like that idea. I want to put them in some standard or conventional location.

Oddly, there is no README file saying where these should go.

For now, I'm putting them in /Applications/Xcode Tools, but that seems kludgey.

Also odd: There was a .dmg file for the the Command Line tools, which I installed, but that actually was a .pkg inside the .dmg, which is different from the other 6. I'm not sure why Apple is providing a .dmg for the Command Line Tools when they are installable via Xcode > Preferences... > Downloads > Components. I think it's just confusing.

And finally: The "Audio Tools" image contains a directory called "CoreAudio", which contains a whole bunch of source code and include files. Where are these supposed to go? I don't want them under Applications.

The packaging of the supplemental tools seems a bit slapdash to me.

  • If they're just *.app folders then you can place them under /Applications and launch them with $open -a tool-name – rubixibuc Feb 17 '12 at 0:29
18
  1. Find Xcode.app and open it by 'Show package content'
  2. Drag and drop new development tool from downloaded .dmg to /Applications inside Xcode
  3. Add yourself to 'Sharing & Permissions' of /Resources with rights to read/write
  4. Repeat step 3 for file

     /Resources/IDEHelperApps.plist
    
  5. Open file IDEHelperApps.plist in TextEdit.app

  6. Add string with name of added tool to first array. For example:

    <string>Contents/Applications/PackageMaker.app</string>
    
  7. Save .plist and restart Xcode.

  • Brilliant, brilliant, brilliant. This is exactly the kind of answer I was hoping for. So is this typically where these things went before? (I never noticed in 4.2.) Do you know why Apple is making it such a pain in the butt for these in 4.3? – Todd Lehman Feb 18 '12 at 7:57
  • 1
    @ToddLehman they wanted to make Xcode not have to be a multi-gigabyte download for every update. So they split off all the tools you want. I think they make this so difficult because this is really a workaround. I would hope soon they do something more like this automatically – jmlumpkin Mar 29 '12 at 12:18
  • 3
    Will this remain in effect over an update? – Timothy Mueller-Harder Mar 29 '12 at 20:08
  • Hopefully they will include them in the Downloads section of Preferences in the near future! – Jowie Jun 21 '12 at 14:36
  • It seems to me that any new Xcode update might wipe out the additional tools copied into Xcode.app and then you'll have to download them again and reinstall. – Phil May 18 '17 at 7:43
3

Put them wherever you want. Unix and Mac OS do not care where your executable files are.

  • 1
    Of course. :) But where are we intended to put them? Where makes the most sense? Where did they used to go with older versions? – Todd Lehman Feb 17 '12 at 0:42
  • /Applications is the major directory for *.app folders, any location within that folder or sub-directory of that folder is logical. The location where you have them now is perfectly expected. :-) – rubixibuc Feb 17 '12 at 0:54
  • @ToddLehman I don't think theres an outright default location for them. They used to be under /Developer/Applications, so you could put them there again if you want. But I would recommend just placing them in /Applications. – jmlumpkin Feb 17 '12 at 0:55
  • There is nowhere you are "intended" to put them. There isn't anywhere that makes more sense than anywhere else. Put them wherever you want. Many people use /Applications or ~/Applications or /Developer/Applications but there's no reason for that, it's a personal preference. With older versions they went somewhere in /Developer/Applications, but there is no reason to choose that over anywhere else. You can even leave them on the DMG if you want. – Abhi Beckert Feb 17 '12 at 6:59
  • /Developer/* seems to have fallen out of use, XCode 4.3 even offers to delete the whole directory during installation. – nohillside Feb 17 '12 at 14:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .