Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have Xcode installed, and have used the SetFile command (installed with Xcode) for some time. I just upgraded to Mountain Lion, though, and find that it is suddenly unavailable. I verified that the upgrade did not wipe out Xcode—it's still there, and it runs fine—so I'm baffled as to why I suddenly cannot use SetFile. All I can find by Googling points to installing Xcode (for people who don't have it). What could be the problem for me?

Also, all my dot files seem to be unharmed, and my PATH looks normal, so I'm at a loss. What can I do?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

You might need to install the command line tools from within Xcode.

Launch Xcode, go to Preferences, and from the Downloads tab, install the Command Line Tools if not installed yet.

enter image description here

share|improve this answer
    
Very strange that upgrading from Lion to Mt. Lion would remove the command line tools, but this solution worked! Thanks! –  iconoclast Apr 1 '13 at 15:56
    
@iconoclast, maybe you upgraded Xcode with the OS upgrade? –  Gerry Apr 1 '13 at 16:36
    
Yes, now that you mention it I think you're right. –  iconoclast Apr 2 '13 at 2:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.