Create a New Xcode Project

  1. Open Xcode and select New Project in the File > New > Project… menu to create a new project for your application:

create-new-project

  1. Choose the App template for your project:

app-template

  1. When prompted, choose your app name (HRDemo) and use the default options:

app-options

  1. Click on the Next button and select the location to save the project.

  2. Click on the Create button to finish.

  3. Close the Xcode project for now.

Create the Podfile

  1. Open the terminal and go to the directory containing your Xcode project: cd path/to/HRDemo.

  2. Run pod init. This will create a new Podfile next to your .xcodeproj file:

podfile-created

  1. Open the newly created Podfile in a text editor open path/to/HRDemo/Podfile.

  2. Now that you configured your project for CocoaPods, continue with the Installation instructions here.