How to push xcode 9.1 project to TFS

Hello,


I created a project in xcode 9.1 with "Create Git repository on my Mac" checked. I would like to push it on our company's TFS. Is there a step-by-step tutorial to help me achieve this? I tried to create a bot, configured the remote server using the git clone URL (http://[tfs_address]:8080/tfs/[collection_name]/_git/[repo_name])of the TFS repo but when I try to push the project, xcode asks for username and password, so I enter the username and password which I usually use to log into TFS but it keeps asking for the username and password again (without telling the error).


Could anyone provide clear info or a link on how to proceed exactly in xcode and which settings I should do on TFS?


P.S. I have read that Basic Authentication should be enabled on IIS. Unfortunately, enabling it did not solve the problem.


Thanks


Patrick

Replies

I was able to get this working using a personal access token as the password for the TFS user.


https://docs.microsoft.com/en-us/vsts/accounts/use-personal-access-tokens-to-authenticate