Xcode 4.3 and command line tools version mismatches

Daniel Ericsson deric at macports.org
Fri Mar 23 07:23:49 PDT 2012


On 22 mar 2012, at 12:04, Ryan Schmidt wrote:

> But this fails if the user has installed Xcode 4.3 but not Xcode 4.3's command line tools.
> 
> Is there a way we can discover the version of Xcode that the installed command line tools belong to? If so, we should modify base to verify that it matches the installed version of Xcode, and if it doesn't, tell the user to update the command line tools (and tell them how to do so).

I'm a bit uncertain on how the new Xcode distribution works but I got notified of a command line update when starting Xcode 4.3.1 ($99 account), which I assume is the new command line tools for 4.3.2? So just so the requirements for this might be clarified, I think you can also end up in a situation reverse to the one above. Ie. your command line tools are newer than your version of Xcode.

-- Daniel



More information about the macports-dev mailing list