Setting up Git in Xcode

Now that we have some theory under our belts, let's put it to good use. In this section, we are going to learn several ways to get an Xcode project set up with version control. Let's launch Xcode and get to work!

Creating a local repository

To begin, create a new project in Xcode. Choose a Single View Application, and give it any name you like. Make sure your settings look like mine do in Figure 5.5:

Creating a local repository

Figure 5.5: Our project settings

Once that's done, click Next, and choose a folder to save your project. Before you finish creating your project though, take notice of the checkbox at the bottom of the dialog box (see Figure 5.6 ...

Get Learning Xcode 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.