Upgrading from an earlier version

Follow these instructions to upgrade an existing project to the most recent version of the Maps SDK for iOS.

Note: Versions 1.9.2 and earlier of the Maps SDK for iOS were available as a zip file containing a static framework. There was also the option to install recent versions from a CocoaPods pod. From version 1.10.0 onwards, the Maps SDK for iOS is available for installation via CocoaPods or Carthage.

Previously installed the Maps SDK for iOS from the GoogleMaps pod

  1. Run pod outdated to see if a newer version of the Maps SDK for iOS is available. You can also refer to the release notes.
  2. 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.
  3. Run pod update.
  4. Make any necessary changes as a result of the upgrade. See the release notes for a list of the changes in each release.
  5. Clean and rebuild your project by selecting Product > Clean and then Product > Build.

Previously installed the Maps SDK for iOS using Carthage

  1. Run carthage outdated to see if a newer version of the Maps SDK for iOS is available. You can also refer to the release notes.
  2. If a newer version of the SDK is found, update your Cartfile with this new version. See Version requirements to learn how to set a specific version in your Cartfile.
  3. Run carthage update.
  4. Make any necessary changes as a result of the upgrade. See the release notes for a list of the changes in each release.
  5. Clean and rebuild your project by selecting Product > Clean and then Product > Build.

Previously installed the Maps SDK for iOS from a zip file containing a static framework

  1. Remove all references to the previous framework from your Xcode project.
  2. Follow the instructions in the note above to install the Maps SDK for iOS using CocoaPods.
  3. Make any necessary changes as a result of the upgrade. See the release notes for a list of the changes in each release.
  4. Clean and rebuild your project by selecting Product > Clean and then Product > Build.

Previously installed the Maps SDK for iOS from the Google-Maps-iOS-SDK pod

  1. Change your pod name to GoogleMaps.
  2. Run pod install.
  3. Make any necessary changes as a result of the upgrade. See the release notes for a list of the changes in each release.
  4. Clean and rebuild your project by selecting Product > Clean and then Product > Build.