Xamarin Components for Google APIs for iOS

Xamarin creates and maintains Xamarin.iOS bindings for the Google APIs for iOS Libraries, including:

Name Component Store NuGet
Google.Analytics googleiosanalytics Xamarin.Google.iOS.Analytics
Google.AppIndexing googleiosappindexing Xamarin.Google.iOS.AppIndexing
Google.AppInvite googleiosappinvite Xamarin.Google.iOS.AppInvite
Google.Cast googleioscast Xamarin.Google.iOS.Cast
Google.Core NA Xamarin.Google.iOS.Core
Google.GoogleCloudMessaging googleiosgcm Xamarin.Google.iOS.GoogleCloudMessaging
Google.InstanceID googleiosinstanceid Xamarin.Google.iOS.InstanceID
Google.Maps googleiosmaps Xamarin.Google.iOS.Maps
Google.MobileAds googleiosmobileads Xamarin.Google.iOS.MobileAds
Google.PlayGames googleiosplaygames Xamarin.Google.iOS.PlayGames
Google.SignIn googleiossignin Xamarin.Google.iOS.SignIn
Google.TagManager googleiostagmanager Xamarin.Google.iOS.TagManager

Building

Before building you will need to have CocoaPods installed on your OS X system.

The build script for this project uses Cake. To run the build, you can use the bootstrapper file for OS X:

Mac:

cd Google.Core
sh ../build.sh --target libs

The bootstrapper script will automatically download Cake.exe and all the required tools and files into the ./tools/ folder.

The following targets can be specified:

  • libs builds the class library bindings (depends on externals)
  • externals downloads and builds the external dependencies
  • samples builds all of the samples (depends on libs)
  • nuget builds the nuget packages (depends on libs)
  • component builds the xamarin components (depends on samples and nuget)
  • clean cleans up everything

Working in Xamarin Studio

Before the .sln files will compile in Xamarin Studio, the external dependencies need to be downloaded. This can be done by running the build.sh or build.ps1 with the target externals. After the externals are setup, the .sln files should compile in an IDE.

License

The license for this repository is specified in License.md

Contribution Guidelines

You will need to complete a Contribution License Agreement before your pull request can be accepted. You can complete the CLA by going through the steps at https://cla2.dotnetfoundation.org/.

.NET Foundation

This project is part of the .NET Foundation