How to configure SCM in Xcode?

I know that Xcode can be connected to SCM. But how to do it from scratch? How to check / commit files in this after setup?

+6
iphone xcode
source share
3 answers

Great guide on setting up a subversion repository and setting up 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) What is the SCM system for Xcode?

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

Thanks,

Sagar

+4
source share

Once it is configured, several new menu items appear in the SCM menu. You can right-click on specific file names and perform some SCM actions this way.

You can also right-click on “groups and files” and enable “SCM” there, which will show which files are new or changed.

I never used the Xcode SCM features for anything more than viewing the files I modified, which helped me find the code that I was fixing. For all updates and commits, I would use the command line, but this is a personal preference. I am a longtime user of CVS and SVN with command line. This is faster for me on the command line.

+3
source share

I highly recommend starting with git - while I once preferred perforce, I don't like paying for it, and the lack of Xcode integration makes it tedious. Git is supported in Xcode 4. Using it without integration for a month or two would be invaluable, since then you will understand more about what is happening ... SCM, like backing up data, is only good when you understand it and use it correctly.

I like Git because it can be used as a local SCM with replication / synchronization with a central repository. It is widely used and actively supported. This is free and open source, and I used it as part of a team providing a very sophisticated and successful iPhone app.

I really like Git Tower as a GUI.

+3
source share

All Articles