简体   繁体   中英

Push Xcode Project to TFS Git repository

Trying to push Xcode project to TFS (Git repository), i created local repository for my project in Xcode, then install Git Credential Manager from GitHub, then trying to connect repository from Xcode by adding remote or connect to git repository, but the error message is "Authentication failed because the authentication credentials were rejected." Would you please provide me with the correct steps. Knowing that TFS 2015 & Xcode 8.2

The easiest solution for me was to just add your local repository with command line.

git remote add origin ADRESSOFREPO

Afterwards you can use the version control in Xcode to push and pull

TFS 2017 offers you SSH access. The earlier versions, like 2015, requires to setup SSL and Basic Authentication on the server. I guess that this is not properly configured for you.

The steps to setup SSL are described in details in the docs . Here you can find what is required to configure Basic Authentication.

A couple of caveats:

  • username should be entered in domain\\user\u003c/code> format
  • do not enable Basic Authentication on the default non-SSL site

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM