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?
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With