A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/maps/documentation/ios-sdk/versions below:

Maps SDK for iOS versions

Skip to main content Maps SDK for iOS versions

Stay organized with collections Save and categorize content based on your preferences.

The Google Maps Platform team regularly updates SDKs with new features, bug fixes, and performance improvements. This page provides guidance on how to manage your dependencies on mobile SDKs.

Which version to link to?

Project Owners with monitored email addresses receive proactive notifications about changes that impact each of their projects. Stay informed about major updates, deprecations, and other changes.

Installation Swift Package Manager

The Maps SDK for iOS can be installed via Swift Package Manager. To add the SDK, ensure you have removed any existing Maps SDK for iOS dependencies.

Important: These instructions assume the use of Xcode 15 or later, but should be similar for previous versions of Xcode.

To add the SDK to a new or existing project, follow these steps:

  1. Open your Xcode project or workspace, then go to File > Add Package Dependencies.
  2. Enter https://github.com/googlemaps/ios-maps-sdk as the URL, press Enter to pull in the package, and click "Add Package".
  3. To install a specific version, set the Dependency Rule field to one of the version-based options. For new projects, we recommend specifying the latest version and using the "Exact Version" option. Once complete, click "Add Package".

To update the package for an existing project, follow these steps:

  1. If you are upgrading from a version earlier than 9.0.0, you must remove the following dependencies: GoogleMapsBase, GoogleMapsCore, and GoogleMapsM4B after upgrading. Do not remove the dependency for GoogleMaps. For more information, see the Version 9.0.0 Release Notes.

    From your Xcode project configuration settings, find Frameworks, Libraries, and Embedded Content. Use the minus sign(-) to remove the following framework:

  2. From Xcode, go to "File > Packages > Update To Latest Package Versions".
  3. To verify your installation, go to the Package Dependencies section of Project Navigator to verify the package and its version.
Important: Sometimes, artifacts cannot be resolved or errors can occur, in this case select "File > Packages > Reset Package Cache".

To remove existing Maps SDK for iOS dependencies added using CocoaPods, follow these steps:

  1. Close your Xcode workspace. Open terminal and execute the following command:
    sudo gem install cocoapods-deintegrate cocoapods-clean
    pod deintegrate
    pod cache clean --all
  2. Remove the Podfile, Podfile.resolved and the Xcode workspace if you are not using them for anything other than CocoaPods.
CocoaPods

Always specify a version number in your dependencies instead of using an optimistic operator (~>) since that can lead to unpredictable and unrepeatable builds. The Maps SDK for iOS adheres to semantic versioning, and new major version releases include breaking changes.

An example Podfile dependency using Podfile syntax:

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '16.0'

target 'YOUR_APPLICATION_TARGET_NAME_HERE' do
  pod 'GoogleMaps', '10.1.0'
end
Maintenance and upgrade

To build with the latest improvements, regularly check for newer versions and update your version specifications. If you are updating to a new major version, check the release notes for backwards-incompatible changes and how to update your code.

Swift Package Manager

To update the package for an existing project, follow these steps:

  1. To verify your installation, go to the Package Dependencies section of Project Navigator to verify the package and its version.
Important: Sometimes, artifacts cannot be resolved or errors can occur, in this case select "File > Packages > Reset Package Cache". Cocoapods
  1. Open a terminal and go to the directory containing the Podfile:

    cd <path-to-project>
  2. Run pod outdated to see if a newer version of the Maps SDK for iOS is available.
  3. If a newer version of the SDK is found, update your Podfile with this new version. See Specifying pod versions to learn how to set a specific version in your Podfile.
  4. Run pod update.
  5. Make any necessary changes as a result of the upgrade. See the Release Notes for a list of the changes in each release.
  6. Clean and rebuild your project by selecting Product > Clean and then Product > Build
Manual installation

Get the link to the latest source files at Installing the SDK.

In addition to polling for newer versions, Google Cloud project owners receive emails about backwards incompatible changes that may affect their projects. To get proactive notification about backwards incompatible changes, assign the owner role with a monitored email address for each of your projects.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-23 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-23 UTC."],[[["For critical applications, link to the latest dot release of the major Google Maps SDK for iOS version and upgrade to the new major version annually to ensure access to bug fixes and new features."],["Non-critical applications can link to any fixed version, allowing for less frequent maintenance, but requiring an update within 12 months of receiving a deprecation notice."],["The Google Maps SDK for iOS can be installed via Swift Package Manager or CocoaPods; detailed instructions for both methods, along with version management guidance, are provided."],["Regular updates to the SDK are recommended, with release notes available to guide developers through any necessary code changes for compatibility."],["Project owners with monitored email addresses receive notifications about significant updates and changes, helping to ensure their applications remain up-to-date."]]],["For app development using Google Maps SDK for iOS, link to the latest dot release for mission-critical apps and upgrade yearly, or use any fixed version for non-critical apps. To install, use Swift Package Manager or CocoaPods, adding the SDK via Xcode or specifying the version in your Podfile. Updating involves checking for newer versions, adjusting your Podfile or updating the package in Xcode. Always review release notes for compatibility and utilize provided links for the latest SDK information.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4