id summary reporter owner description type status priority milestone component version resolution keywords cc port 26391 xcodeversion not set correctly when xcodebuild fails to print the Xcode version ralph@… macports-tickets@… "I have Xcode 4.0 developer prerelease 3 installed in /Developer. Now, when I try to install any port, I get the following message Error: The installed version of Xcode (2.0orlower) is too old to use on the installed OS version. Version 3.2.2 or later is recommended on Mac OS X 10.6. Clearly, however it is working out the version of Xcode is getting the wrong answer. (The Finder clearly shows Xcode as being Version 4.0). This is a serious bug which makes macports unusable for me." defect closed Normal MacPorts 2.0.0 base 1.9.1 fixed simon.bugzilla@… arritjenof@…