Get Started

This document explains how to start developing with the Nearby Messages API on
iOS.

Step 1: Get the latest version of Xcode

To build a project using the Google Nearby Messages API for iOS, you need
version 6.3 or later of Xcode.

Step 2: Get CocoaPods

The Google Nearby Messages API for iOS is available as a
CocoaPods pod. CocoaPods is an open source dependency
manager for Swift and Objective-C Cocoa projects.

If you don't already have the CocoaPods tool, install it on OS X by running the
following command from the terminal. For details, see the CocoaPods Getting
Started guide.

$ sudo gem install cocoapods

Step 3: Install the API using CocoaPods

Create a Podfile for the Google Nearby Messages API for iOS and use it to
install the API and its dependencies.

If you don't have an Xcode project yet, create one now and save it to your
local machine. (If you're new to iOS development, create a Single View
Application, and ensure that Use Automatic Reference Counting is turned on.)