What is the best way to integrate TFS version control

Question!

Working on implementing TFS throughout our organization. It is easy to integrate with .NET projects and any platform that uses Eclipse or a derivative of Eclipse for editing.
What's the best way to use TFS version control with Xcode (now that I find out we need to write some iPhone apps)?



Answers

Follow this links, its raeally helpful:

https://www.visualstudio.com/get-started/cross-platform/share-your-xcode-projects-vs

After that Check-in your existing xCode project code into TFS

On your Mac, download and extract www.microsoft.com/en-us/download/details.aspx?id=30474. I placed it in /users/{myuseraccount}/git-tf

Open Terminal and run the following commands

export JAVA_HOME=/Library/Java/Home
export PATH=$PATH:$JAVA_HOME/bin:/git_t
export PATH="/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/":$PATH
export PATH="/Users/{myuseraccount}//Git-Tf/":$PATH

change the working directory to your xCode project folder:

e.g.: cd “/users/{myuseraccount}/documents/xCode Projects/testproject1/”

In terminal fire commond:

- git remote add origin url//companyName.visualstudio.com/DefaultCollection/_git/xyz

and than

git push -u origin --all

It'll directly push your project into Visual studio TFS server..!!!!

By : Indra


Few week earlier announced Git-tf by codeplex could do the job.



The biggest problem with this is that Xcode only runs on OS X and TFS client tools only run on Windows. If you're host operating system in OS X and you have a Windows virtual environment running locally (like Parallels or VMFusion) then you could use Team Explorer or the command-line tools to work with the repository.

But this is a lot of work just to use a really dated version control system. If you don't have to use TFS I would probably use SVN or something else with native OS X support.



This video can help you solving your question :)
By: admin