Re: Cannot Take Snapshot - SCM Inhibiting
Re: Cannot Take Snapshot - SCM Inhibiting
- Subject: Re: Cannot Take Snapshot - SCM Inhibiting
- From: email@hidden
- Date: Thu, 04 Apr 2013 21:19:32 -0400
On Apr 4, 2013, at 1:42 PM, Quincey Morris <email@hidden> wrote:
> On Apr 4, 2013, at 10:32 , Chris Tracewell <email@hidden> wrote:
>
>> That did it. For posterity, you can go to XCode->Preferences->Downloads and download and install Command Line Tools if you have not done so already.
>
> For posterity, that wasn't it.
>
> Xcode without command line tools installed *already* contains a copy of 'git'. You can run that 'git' with this command:
>
> xcrun git
>
> (which runs the copy of 'git' that's inside the Xcode most recently selected via 'xcodeselect').
>
> Perhaps your Xcode installation was damaged in some way, so that installing the command line tools gave it access to 'git' in another place.
Installing the command line tools installs git in /usr/bin which is already in your executable PATH so that's why it worked for him afterwards. xcrun git is running the version in the Xcode.app package. Most (maybe all) of the stuff the command line tools install is already in the Xcode.app, but standard Unix systems expect the compilers to already be in your PATH. We're delving into Unix skills rather than Xcode so I won't post any more about this.
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden