Today I have to fix a bugged program developed with Apple Xcode. Fixing broken code and replacing deprecated functions is a very energy consuming job and having a version control service can relieve the pain.

Luckily Apple Xcode can natively work with GIT but this feature is not simple to enable.
If you have a working installation of Xcode, you can:

  1. install the commad line tools for github (install the tools from the install wizard or from the preferences menu)
  2. install the Xcode Command Line Tools (under Xcode Preferences > Downlaods > Components)
  3. open the terminal app and go to your project folder
  4. run these 3 commands
    git init
    git add .
    git commit -m "initial APP NAME commit"
  5. open Xcode, choose Xcode > Preferences, and select Source Control (enable all flags)
  6. restart Xcode and check under the Source Control menu the new options available

After these steps you have added an existing project to a source control repository. When you create a new project you can enable the source control during the create project setup wizard.


Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

2 cent tip

MenuMeters on El Capitan? Sure!

The new OSX version, El Captain is a faster new OS. But, after the update, my trusted MenuMeters application stopped working. 🙁 I have found a solution! Here you can download a new unofficial version Read more…

2 cent tip

Optimize VDI disk, recover disk space and change UUID

Virtualbox VDI disk grow when you use it. I have many virtual machines and sometimes optimizing VDI free space can recover some precious gigabytes… I have some Virtual Machines that I usually don’t use, but Read more…

2 cent tip

Kubuntu 15.04 and Pidgin notification tray icon

Kubuntu 15.04 comes with the new Plasma 5 desktop from KDE. I like Plasma 5, but the tray icon of many non KDE applications is not supported. Someone suggest to install wmsystemtray and use an Read more…