tags:

views:

338

answers:

3

Does anyone know how to change the location of the svn tool used in the Xcode IDE?

I've installed a newer version in /opt/subversion/bin and updated my $PATH so that it works from the command line but can't get Xcode to recognize this.

+1  A: 

As far as I know, Xcode hardcodes its Subversion paths to the /usr/lib/ prefix. You can either symlink them (as described over here) or copy them (cf. here).

Sören Kuklau
A: 

thanks! worked great.

mwahab
Don't do this. Instead, comment upon the answer directly.
Chris Hanson
+1  A: 

Applications in Mac OS X aren't run from a shell, so they won't have any knowledge of shell variables. Just adding something to your $PATH in your .bashrc or .cshrc or whatever won't tell applications about it at all.

Furthermore, Xcode 3.0 and later support Subversion directly, rather than by calling through its command-line binary; this means that it will use the Subversion libraries in /usr/lib rather than any you've installed elsewhere.

Chris Hanson
hi, how can you link to the libarries that you installed from source? (i installed svn with macports)
Werner