Oddity using Xcode 4.4 on OS 10.7.

Daniel Ericsson deric at macports.org
Fri Jul 27 15:48:00 PDT 2012


On 26 jul 2012, at 23:57, Adam Mercer wrote:

> On Thu, Jul 26, 2012 at 11:31 AM, Jeremy Huddleston Sequoia
> <jeremyhu at macports.org> wrote:
> 
>> I'd be interested in hearing "me too"s or "works for me"s from others on 10.7 installing through XCode (as opposed to ML users or those going to connect.apple.com) to find out if this is a 1-off issue or something others are seeing.
> 
> Just encountered this on another Lion machine, updating from
> Xcode-4.3.3. One thing I noticed is that the installation of the
> command line tools started at 70% complete, as if it didn't download
> the tools and just used the previous installer.

Noticing this as well I solved it as described below:

1.
~/Library/Caches/com.apple.dt.Xcode/Downloads
deric at cyclone> ls -l                                                                                                                        total 2313840
-rw-r--r--  1 deric  staff       8069 Mar  8 18:10 58b716ff5428f7961e1403e6d969e605d0f27eaf.dvtdownloadableindex
-rw-r--r--@ 1 deric  staff  171668418 Feb 29 14:01 Xcode.CLTools.10.7-1.1.dmg
-rw-r--r--@ 1 deric  staff  180040642 Mar 16 22:12 Xcode.CLTools.10.7-1.2.dmg
-rw-r--r--@ 1 deric  staff  154619824 Jun 16 19:05 Xcode.CLTools.10.7-1.3.1.dmg
-rw-r--r--@ 1 deric  staff  180040642 Apr 16 14:18 Xcode.CLTools.10.7-1.3.dmg
-rw-r--r--@ 1 deric  staff     416569 Mar 18 23:55 Xcode.SDK.iPhoneSimulator.4.3-4.3.1.dmg
-rw-r--r--@ 1 deric  staff  497845832 Mar 18 23:53 Xcode.SDK.iPhoneSimulator.4.3-4.3.dmg
-rw-r--r--  1 deric  staff      11349 Jul 27 23:42 eded78df8bfabaf6560841d10cf8e53766f74f28.dvtdownloadableindex
-rw-r--r--  1 deric  staff       8486 Jul 22 16:14 f7133e82a08bdb4ebf724f16beed2bbac2a265cf.dvtdownloadableindex
-rw-r--r--  1 deric  staff       7930 Jul 27 16:12 f9556a99100ac5200138e50480d2471b6bdc4adc.dvtdownloadableindex
~/Library/Caches/com.apple.dt.Xcode/Downloads
deric at cyclone> rm Xcode.CLTools.10.7-1*

2.
Used left-over (from Xcode 4.2 installs) /Library/Developer/Shared/uninstall-devtools to uninstall CLT, this script uninstalls itself as well when it's done.
deric at cyclone> sudo /Library/Developer/Shared/uninstall-devtools --mode=unixdev

3.
Reinstalled CLT from Xcode Preferences.

4.
deric at cyclone> /usr/bin/clang --version                                                                                                     
Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix

-- Daniel


More information about the macports-users mailing list