Xcode fails to authenticate with Subversion 1.5
Xcode fails to authenticate with Subversion 1.5
- Subject: Xcode fails to authenticate with Subversion 1.5
- From: Kai <email@hidden>
- Date: Fri, 31 Oct 2008 19:35:49 +0100
I am accessing a Subversion repository using svn+ssh. The server runs
with Subversion 1.5.
With Xcode 3.1.2 (the current iPhone 2.2 SDK seed) I can access the
repository with svn+ssh and public/private key authentication.
After switching to Subversion 1.5 on the local machine (using
Collabnet’s Universal Subversion 1.5.4 Binaries for MAC OS X (32 and
64 bit)) and changing the Xcode plugin to use Subversion 1.5 using
install_name_tool (see script below), I can no longer connect to the
repository. The error message is:
Error: 210007 (Cannot negotiate authentication mechanism)
Description: (null)
Connecting to the same respository using the same scheme and key from
the command line or from SmartSVN 4.0.8 (which has Subversion 1.5
build in) works just fine.
Any cure? Should I file a bug against Xcode?
Thanks
Kai
The script I used to switch the Xcode Subversion plugin to use the
Subversion version in /opt/subversion:
#!/bin/sh
install_name_tool -change /usr/lib/libapr-1.0.dylib /opt/subversion/
lib/libapr-1.0.dylib $1
install_name_tool -change /usr/lib/libaprutil-1.0.dylib /opt/
subversion/lib/libaprutil-1.0.dylib $1
install_name_tool -change /usr/lib/libsvn_client-1.0.dylib /opt/
subversion/lib/libsvn_client-1.0.dylib $1
install_name_tool -change /usr/lib/libsvn_delta-1.0.dylib /opt/
subversion/lib/libsvn_delta-1.0.dylib $1
install_name_tool -change /usr/lib/libsvn_diff-1.0.dylib /opt/
subversion/lib/libsvn_diff-1.0.dylib $1
install_name_tool -change /usr/lib/libsvn_fs_fs-1.0.dylib /opt/
subversion/lib/libsvn_fs_fs-1.0.dylib $1
install_name_tool -change /usr/lib/libsvn_fs-1.0.dylib /opt/subversion/
lib/libsvn_fs-1.0.dylib $1
install_name_tool -change /usr/lib/libsvn_ra_local-1.0.dylib /opt/
subversion/lib/libsvn_ra_local-1.0.dylib $1
install_name_tool -change /usr/lib/libsvn_ra_svn-1.0.dylib /opt/
subversion/lib/libsvn_ra_svn-1.0.dylib $1
install_name_tool -change /usr/lib/libsvn_ra-1.0.dylib /opt/subversion/
lib/libsvn_ra-1.0.dylib $1
install_name_tool -change /usr/lib/libsvn_repos-1.0.dylib /opt/
subversion/lib/libsvn_repos-1.0.dylib $1
install_name_tool -change /usr/lib/libsvn_subr-1.0.dylib /opt/
subversion/lib/libsvn_subr-1.0.dylib $1
install_name_tool -change /usr/lib/libsvn_wc-1.0.dylib /opt/subversion/
lib/libsvn_wc-1.0.dylib $1 _______________________________________________
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