i made it 

http://blog.justus-beyer.de/2012/02/after-xcode-update-to-4-3-xcodebuild-fails/ 


when i installer xcode via mac app store,there are no /Developer dir.


although i lost origin file /usr/bin/xcodebuild , i runned sudo 
/usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer


$cd /usr/bin , 
$sudo rm xcodebuild 
$ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild xcodebuild 


it works ha ,cheers
 
 
------------------ ???????? ------------------
??????: "Ryan Schmidt"; 
????????: 2012??4??19??(??????) ????2:16
??????: "????"; 
????: "macports-users"; 
????: Re: Xcode 4.3.2 macports requirement

 

On Apr 18, 2012, at 13:03, ???? wrote:

> first of all,i'm a chinese guy from mainland china,and please forgive my poor 
> english.
> 
> i've installed the newest version of macports,and i use a hactonish.here is 
> someinformation about my pc.
> 
> mac os x lion 10.7.3
> xcode 4.3.? installed from mac app store
> 
> i've installed openvpn via macports ,but when i tried to install wine,error 
> returned from command line
> 
> Error: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild 
> -version').
> Error: Target org.macports.extract returned: unable to find Xcode
> Error: Failed to install cairo
> 
> i runned xcodebuild
> 
> nanimac:~ xunan$ /usr/bin/xcodebuild -version
> Error: No developer directory found at /Developer. Run /usr/bin/xcode-select 
> to update the developer directory path.
> 
> then 
> nanimac:~ xunan$ /usr/bin/xcode-select -version
> xcode-select version 2307.
> 
> so i replaced xcodebuild with xcode-select

Maybe I'm misunderstanding you, but if you're saying that you replaced the 
xcodebuild program with a copy of the xcode-select program, meaning both 
programs are now the same program, then you shouldn't have done that. 
xcodebuild and xcode-select are two different programs; you need both of them. 
So if that's what you did, then you should restore from your backups or 
reinstall Xcode.

Once that's done, use xcode-select to select the proper developer directory. 
See:

https://trac.macports.org/wiki/ProblemHotlist#xcode-select
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to