XCode and TFS 2010 Part 1 – Setting up TFS 2010
There have been many cases where i heard of users wanted to get XCode working with TFS 2010.
Obviously out of the box, XCode does not work with TFS 2010. However there is a way to make both of them talk
I’m outlining the steps below on how to configure both of them to communicate properly.
For those who are lazy to download from Codeplex, you can get the required files at http://cid-895931b65435bb3d.office.live.com/self.aspx/Public/SvnBridge%20-%20Files.zip
Step 1: Download SVNBridge from Codeplex
The first step is to configure TFS to have a SVN bridge. To do that, head down to http://svnbridge.codeplex.com/ and download the source files (DO NOT USE THE DOWNLOAD OPTION).
Once you downloaded all the source files, unzip them to a directory and run the build.bat
Once the build is complete, we have are ready to deploy the SVN website.
Step 2: Create a local user with read rights to the whole TFS
Login to your TFS server and create a local user e.g svnbridge
Step 3: Create folder for SVN bridge website
Now create a folder which will store the files for the SVN bridge (e.g c:\svnbridge)
Copy the files from SvnBridgeViaIis\bin to c:\svnbridge\bin
Copy SvnBridgeViaIis\web.config to c:\svnbridge
Open port 8080 on your firewall if neccessary
Edit c:\svnbridge\web.config
Change the TFSUrl to point to your TFS Server, e.g http://localhost:8080/tfs/DefaultCollection
Change DomainIncludesProjectName to False
Change LogPath to a path for the SVNBridge Logs
Update the ReadAllUser* properties to the local user you have just created
So now your web.config should look like
Step 4: Setup IIS
Run IIS Manager and Create a new website. The source directory should point to the svnbridge folder (e.g c:\svnbridge) and the port should be 8081
Click on the authentication tab and make sure that ONLY ASP.NET impersonation and digest authentication is enabled
Now goto Configuration editor and select the system.webServer/validation section
Set validateIntegratedModeConfiguration to false
Step 5: Install the Perfmon Counters
Open the SVNBridge solution and build the SvnBridge.PerfCounter.Installer project.
Run the SvnBridge.PerfCounter.Installer.exe found inside the bin\debug folder
Step 6: iisreset the system
Trigger an iisreset to flush everything and get it ready for SVN!





Does not work with TFS 2010, it keeps asking me over and over for my login – this is just using TortoiseSVN on windows to do a checkout
Hi Jeff,
It should not be asking you for passwords over and over again, can you check your IIS logs to see if there are any wierd activity?
This is actually tested against the latest build of xcode rather than TortoiseSVN
hmm just to rule out invalid login settings, you did set IIS to use digest auth and when you entered your userid/password, its with the domain or server name right e.g server\username
also the file permissions for the folder where the files are should have read permissions for the IIS accounts
Hi,
When is part 2 of this description coming?
once i’ve ironed out most of the wierd issues with xcode and tfs i will post part 2
should be within the next few weeks as i’m terribly busy at the moment