error message: Couldn't determine your Xcode version

Marcelo Chiapparini marcelo.chiapparini at gmail.com
Sun Apr 29 11:25:27 PDT 2012


2012/4/29 Jeremy Lavergne <jeremy at lavergne.gotdns.org>

> > 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
>
>
Before implementing your advice:

Yggdrasill3:~ marcelo$ sudo xcode-select -print-path
Password:
/Applications/Xcode.app

After your advice:

Yggdrasill3:~ marcelo$ sudo xcode-select -switch
/Applications/Xcode.app/Contents/Developer
Yggdrasill3:~ marcelo$ sudo xcodebuild -version
Xcode 4.3.2
Build version 4E2002

Now port is running fine. The problem was fixed! Thanks a lot t Jeremy

Regards,

Marcelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120429/28c85658/attachment.html>


More information about the macports-users mailing list