xcode-select isn't given a reasonable default value under xcode 4.3.x

Originator:nathaniel
Number:rdar://11021428 Date Originated:Fri, 09 Mar 2012 20:26:45 GMT
Status:Closed Resolved:Original was fixed in Mac OS X 10.7.4
Product:Developer Tools Product Version:4.3.1/2307
Classification:UI/Usability Reproducible:Always
 
Summary: When installing Xcode 4.3.1 on a clean system (I'm on 10.7.3), xcode-select is never given a workable default value, even after the command-line tools are installed, and Xcode itself is successfully performing builds.

Steps to Reproduce: Install Xcode 4.3.1 on a clean system. Install the command-line tools just for good measure. Build something with xcodebuild.

Expected Results: The thing should build, or fail, as appropriate.

Actual Results: "xcode-select: Error: No Xcode folder is set. Run xcode-select -switch <xcode_folder_path> to set the path to the Xcode folder."

Regression: This hasn't been a factor for us in the past, though all of our systems had Xcode 4.2 and earlier installed, and many had made changes to xcode-select's value in the past, which 4.3 inherited. 

Notes: The error message is puzzling — my understanding is that the expected value is "Applications/Xcode.app", which fills out to "/Applications/Xcode.app/Contents/Developer", but "Xcode folder path" suggests that the expected value is "/Applications".

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!