"Can't exec '/usr/bin/make'"... when compiling a framework project

cocoa, compiler-errors, frameworks, xcode4

Solution

You may need to install the command-line tools from inside Xcode.

If that doesn't fix it, also try doing this in a Terminal:

sudo xcode-select -switch /Applications/Xcode.app

Problem

I am trying to compile a framework (that came as a project folder). When I click Build, I get this: ``` error: can't exec '/usr/bin/make' (No such file or directory) ``` ... and sure enough it's not there. How do I resolve this? I am using XCode 4.3.2

Original source