error message: Couldn't determine your Xcode version

Jeremy Lavergne jeremy at lavergne.gotdns.org
Sun Apr 29 08:38:12 PDT 2012


> Hi Jeremy, thanks for the reply. Here is the result of the command:
> 
> marcelo$ sudo xcodebuild -version
> Password:
> error: can't exec '/Applications/Xcode.app/usr/bin/xcodebuild' (No such file or directory)
> 
> May be a problem with a path?

Yes, looks like Xcode has its path wrong.

See what it is, just in case:
sudo xcode-select -print-path

Then switch it to the expected one again:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120429/93cb949b/attachment.bin>


More information about the macports-users mailing list