Telling Git to Ignore Files in Xcode Projects

February 28th, 2018

Filed under: Version Control, Xcode | Be the first to comment!

When you create a project in Xcode and create a git repository, git initially tracks every file in the project, but this behavior isn’t what you want. Xcode projects contain a lot of files. Some of these files shouldn’t be tracked by git because they change every time you build your project. Having files you […]


Xcode 9: Adding Your Project to GitHub

February 21st, 2018

Filed under: Version Control, Xcode | Be the first to comment!

Before Xcode 9, setting up your project to work on GitHub involved a lot of work. You had to login to GitHub, create a repository, go back to your Mac, launch the Terminal application, navigate to your project directory, and run multiple git commands. Xcode 9 makes working with GitHub much easier. You can add […]


Creating a Git Repository for an Existing Xcode Project

February 12th, 2018

Filed under: Version Control, Xcode | Be the first to comment!

When you create a new Xcode project, Xcode gives you the option to create a git repository on your Mac. How do you create a git repository for a project after the project has been created? Choose Source Control > Create Git Repositories. A sheet opens. Click the Create button and Xcode will create a […]


Xcode 9: Ignore Files

September 25th, 2017

Filed under: Version Control, Xcode | Be the first to comment!

Xcode 9’s Source Control preferences let you specify files to ignore so the version control system won’t track them.


Xcode 9: Improved GitHub Support

September 15th, 2017

Filed under: Version Control, Xcode | Be the first to comment!

Xcode 9 makes it easier to work with GitHub. Start by adding your GitHub account to Xcode. Go to Xcode’s Accounts preferences, click the Add button, and choose GitHub to add your GitHub account. Once you add your GitHub account to Xcode, you can go to any GitHub repository and clone the project in Xcode […]


Xcode 9: Source Control Navigator

September 13th, 2017

Filed under: Version Control, Xcode | Be the first to comment!

Xcode moved the branching version control operations to the source control navigator, whose button is next to the project navigator. The source control navigator shows your local branches, tags, and remote branches. Selecting a branch shows the commit history for the branch. Double-clicking a commit shows the changes you made in that commit. Select a […]


Xcode 9: Subversion Support Deprecated

August 1st, 2017

Filed under: Version Control, Xcode | Be the first to comment!

The Xcode 9 beta release notes say that Xcode’s Subversion integration will be deprecated in a future release. I expect Xcode’s Subversion support to go away in Xcode 10. If you use Xcode’s version control tools with Subversion, your options are to either switch to git or use another Subversion GUI tool.


Xcode 7: No More Snapshots

October 26th, 2015

Filed under: Version Control, Xcode | 2 comments

You can no longer take snapshots of your projects in Xcode 7. Use version control to track changes in your projects. The easiest way to start with version control is to create a new Xcode project. When you are asked where to save the project, there is a checkbox to create a local git repository. […]


Creating an Xcode Project to Work with GitHub or Bitbucket

September 30th, 2015

Filed under: Version Control, Xcode | Be the first to comment!

GitHub and Bitbucket are two of the most popular sites for storing git repositories online. In this article you’ll learn how to create an Xcode project and have it hosted on GitHub or Bitbucket. NOTE It may sound obvious, but you must first sign up for an account on GitHub or Bitbucket. Hosting an Xcode […]


Xcode 5: Blame for Line

October 8th, 2013

Filed under: Version Control, Xcode | Be the first to comment!

Xcode 5 adds a new blame for line feature that lets you see who changed a line of code without having to switch to the version editor. Click on a line of code in the standard editor or one of the editors in the assistant editor. Right-click and choose Show Blame for Line. A popover […]