I\'ve upgraded OSX Lion to Mountain Lion and reinstalled the Command Line Tools (as the upgrade deleted them). From then xcrun does not work anymore. The xcode-select is set
The only fix is hack apparently. I tried the script mentioned and it worked
OSX 10.8 xcrun (No such file or directory)