I struggled with how to use TFS as the source code repository for iPhone development.
My boss will never let me use Subversion (or God forbid Perforce), so I'm stuck with source control of TFS.
The solution is to go buy the tools to connect your Mac to TFS, and I'm not trying to advertise here, but Teamprise Client Suite for Mac OS X is the bridge between Mac OS X and TFS.
There is no integration between Xcode and TFS for standard checks and developer workflow. You must do all this manually through the Teamprise Explorer client.
For assembly, it turns out that Automator and the Teamprise command-line client do the trick.
Is there an Xcode to TFS bridge there? What source control system do you use to develop your iPhone?
The key for me is the following bash script built into the Automator workflow.
% 1 = Local folder for code execution. % 2 = The name of the project for which to delay.
This script assumes that the Teamprise command-line client is set to ~ / Teamprise
PATH="$PATH:~/Teamprise:~/Teamprise/lib" cd "$1" mkdir "$1/logs" tf workspace -delete BuildScript -server:http://TFSServer -login: uname@domain ,password >> $1/logs/wsdelete1.log tf workspace -new BuildScript -server:http://TFSServer -login: uname@domain ,password >> $1/logs/wscreate.log tf workfold -map "$/TFSRoot" . -workspace:BuildScript -server:http://TFSServer -login: uname@domain ,password >> $1/logs/workfold.log tf get "$/TFSRoot/$2" -all -recursive -server:http://TFSServer -login: uname@domain ,password >> $1/logs/get.log tf workspace -delete BuildScript -server:http://TFSServer -login: uname@domain ,password >> $1/logs/wsdelete2.log
bash tfs iphone
Batgar
source share