How to enable Source Control in existing iOS project?
As in the topic – i have a project that doesn’t have Source Control enabled, so how (and if) can i enable it now? I use Snapshots but the project became a big one, and now i need some more “pro” tools. I’m still rather an xcode beginner, so please explain it like i was a cow.
- How access an uiview subview partially outside of his parent uiview?
- Programmatically change height of navigation bar in swift
- Timestamp function that has been working reliably just caused EXC_BAD_INSTRUCTION
- Attribute Unavailable warning on iOS versions prior to 8.0
- Example of NSTextContainer with non regular shape?
- What Needs To Be on Main Thread?
3 Solutions Collect From Internet About “How to enable Source Control in existing iOS project?”
First off you’ll have to install the command line tools for github. You can do so from this link http://mac.github.com/, then either during setup it will ask you to install command line tools, or if it doesn’t, you can do it from the preferences menu. Once this is completed, you will be able to follow the instructions on this website to convert your project: conversion tutorial. After all that is done, this website explains everything you could possibly want to know about Source Control and all you can do with it.
If you do not want to install github for the command line tools, you can install Homebrew, which is a package manager (macs equivalent to apt-get), then run
brew install git for the latest version of git.
After doing a
git init,go you the projects tab in the Organizer (top right corner in xcode) There remove the reference to your project and restart xcode to update the changes. Removing the project from Organizer will not delete any files, it will only clear the caches.
I am not sure how to do this from within XCode, but if you are on OSX you can easily initialize git from the command line (within Terminal). From the base directory of the project invoke
Once the project is associated with a git repository, XCode should recognize that and you will see the project listed among the repositories in XCode’s Organizer (available from the Window -> Organizer menu)
To upload the project into github, look at the directions here: https://help.github.com/articles/create-a-repo
- XCODE Swift Replacing HTTP-Get App-ID with a space
- “Unknown class BarChartView in Interface Builder file” error when using a custom framework
- UISegmentedControl change event not firing in iOS5
- Correct way to create button in Sprite Kit?
- UITableView insertRowsAtIndexPaths throwing __NSArrayM insertObject:atIndex:'object cannot be nil' error
- UITableView space between row and sections
- Getting OSStatus error 100021 when trying to ad hoc distribute ios app
- power on events in iphone
- numberOfRowsInSection is called before Alamofire connection
- Can't update Xcode 4.2. Error: please consult var/log/install.log for more details?
- Removing iOS permission alert for local notifications when running app in simulator
- UITextField border color
- iOS Chrome detection
- Can I wrap PHP code from my website in C to build an iOS app?
- xcodebuild exportArchive: no applicable devices found