0

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.

2 Answers 2

1

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).

Sign up to request clarification or add additional context in comments.

Comments

1

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.

1 Comment

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.