Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set up an SCM in Xcode?

Tags:

xcode

iphone

I know Xcode can be hooked up to an SCM. But how would I set this up from scratch? How to check out / commit files into that, after setting it up?

like image 523
openfrog Avatar asked Oct 04 '10 05:10

openfrog


People also ask

How do I enable source control in Xcode?

Choose Xcode > Preferences > Accounts, click the Add button (+), select the type of account to add, and click Continue. In the dialog that appears, click the “Create a Token on [Source Control Platform]” button if you don't have a token already.

Does Xcode have version control?

Xcode 4 introduced version control into the Xcode environment. Initially, it supported only local Git repositories, but Xcode 4.2 has brought remote repositories to the environment. This is great news if you are part of a development team or if you work on multiple machines.

How do I create a new branch in Xcode?

Branching with Xcode 🙀 We can create branches from inside the Source Control Navigator. You can always navigate here by pressing “command + 2”. First, control + click the branch you want to branch from. Now you will be presented with a window that will allow you to name that branch.


1 Answers

A great guide for setting up subversion repository & configuring with XCode - http://iphonedevelopment.blogspot.com/2009/03/version-control-is-your-friend.html

Other useful resources -

1) http://developer.apple.com/tools/subversionxcode.html

2) Which SCM system for Xcode?

3) http://www.covertapps.com/development/6-setting-up-your-xcode-scm-repositories

Thanks,

Sagar

like image 138
Sagar Avatar answered Oct 19 '22 22:10

Sagar