This repository contains the Swift package for the Maps SDK for iOS. For additional methods of installing the Maps SDK for iOS including CocoaPods, see the Maps SDK for iOS documentation.
- Xcode version 15.0 or later
- An app targeting iOS 15 or later
- A Google Maps Platform project with the Maps SDK for iOS enabled.
- An API key associated with the project above.
-
Follow the instructions for adding package dependencies to your app in Xcode.
-
In the "Enter Package URL" field, enter this GitHub repository:
https://github.com/googlemaps/ios-maps-sdk
-
Select the version of the Maps SDK for iOS that you want to use. For new projects, we recommend specifying the latest version and using the "Exact Version" option.
-
Follow the instructions to add your API key to your app.
See samples demonstrating use of the Maps SDK for iOS on developers.google.com or on GitHub.
Documentation for the Maps SDK for iOS is available as guides and reference documentation.
External contributions are not accepted for this repository, per the Contributing guide.
This package uses Google Maps Platform services, and any use of Google Maps Platform is subject to the Terms of Service.
This repository is offered via an open source license. It is not governed by the Google Maps Platform Support Technical Support Services Guidelines, the SLA, or the Deprecation Policy (however, any Google Maps Platform services used by the library remain subject to the Google Maps Platform Terms of Service).
This repository adheres to semantic versioning to indicate when backwards-incompatible changes are introduced. Accordingly, while the library is in version 0.x, backwards-incompatible changes may be introduced at any time.
- For issues with the Maps SDK for iOS, file an issue on the Maps SDK for iOS issue tracker or open a support case.
- If you find a bug with the Swift package, please file an issue on GitHub.
If you would like to get answers to technical questions from other Google Maps Platform developers, ask through one of our developer community channels. You can also discuss on the Google Maps Platform Discord server.