error message: Couldn't determine your Xcode version

Jeremy Lavergne jeremy at lavergne.gotdns.org
Sun Apr 29 08:02:54 PDT 2012


> 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

-------------- 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/2a58a02b/attachment.bin>


More information about the macports-users mailing list