|ReleasedLast Release||Jun 2017|
Maintained by Google.
Simplify your iOS development, grow your user base, and monetize more effectively with Google services.
Much more information can be found at https://developers.google.com/ios/.
Google distributes several iOS specific APIs and SDKs via CocoaPods. You can install the CocoaPods tool on OS X by running the following command from the terminal. Detailed information is available in the Getting Started guide.
$ sudo gem install cocoapods
You can try any of the SDKs with
pod try. Run the following command and select
the SDK you are interested in when prompted:
$ pod try Google
Note that some SDKs may require credentials. More information is available in the SDK-specific documentation at https://developers.google.com/ios/.
CocoaPods is used to install and manage dependencies in existing Xcode projects.
Create an Xcode project, and save it to your local machine.
Create a file named
Podfile in your project directory. This file defines
your project's dependencies, and is commonly referred to as a Podspec.
Podfile, and add your dependencies. A simple Podspec is shown here:
platform :ios, '8.1' pod 'Google'
Save the file.
Open a terminal and
cd to the directory containing the Podfile.
$ cd <path-to-project>/project/
pod install command. This will install the SDKs specified in the
Podspec, along with any dependencies they may have.
$ pod install
Open your app's
.xcworkspace file to launch Xcode.
Use this file for all development on your app.
For a complete list of pods published by Google, please visit https://cocoapods.org/?q=author%3Agoogle