The apps in this folder are designed to provide examples of the basic workings of the Google Client Library. They should not be used in production. Eg you should not ask for a Client key as it should be embedded within the codebase of your app.
In order to use the example projects in this folder, you will need to use CocoaPods to install their dependencies. For help with installing CocoaPods, see their getting started guide
To fetch/update the dependencies:
cd Examples/[sample_to_build]
pod install
These example apps need an oAuth2 Client key, which you can obtain from the Google Developer Console.
- Visit the Google Developer Console
- Click Credentials on the left hand navigation pane
- Click the
Create Credentials Button
and selectoAuth Client id
from the resulting dropdown menu. - Select the
IOS
radio button - Enter a memorable name for this key to help you identify it easily in the future.
- Copy the Bundle Identifier from your IOS App. This is found in your main project target under the
General
tab - Click the
Create
Button and your are complete.