error message: Couldn't determine your Xcode version

Marcelo Chiapparini marcelo.chiapparini at gmail.com
Sun Apr 29 08:33:06 PDT 2012


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

> > When I try to run "port upgrade outdated" I get the output below. How
> can I fix the problem? Thanks in advance!
> >
> > - I do have installed Xcode 4.3.2 (4E2002)
> > - I do have installed Command Line Tools
> > - I ran "xcode-select -switch /Applications/Xcode.app"
> >
> > Here is the error message:
> >
> > Yggdrasill3:~ marcelo$ sudo port upgrade outdated
> > Warning: xcodebuild exists but failed to execute
> > Warning: Xcode appears to be installed but xcodebuild is unusable; some
> ports will likely fail to build.
> > Warning: You may need to run `sudo xcode-select -switch
> /Applications/Xcode.app`
> > --->  Extracting libunwind-headers
> > Error: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild
> -version').
> > Error:
> > Error: If you have not installed Xcode, install it now; see:
> > Error: http://guide.macports.org/chunked/installing.xcode.html
>
> What happens when you run xcodebuild?
> sudo xcodebuild -version
>
> My guess is the license hasn't been accepted:
> sudo xcodebuild -license
>
>
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?

thanks

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


More information about the macports-users mailing list