Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Warning: New version of Google Maps SDK for iOS available - How do I update?

I was running my simulator and in my debug console, I got the following message:

New version of Google Maps SDK for iOS available

How do I update to the latest version? I tried to do sudo gem pod install, but it didn't work.

Thanks.

like image 609
Kelvin Avatar asked Oct 31 '22 01:10

Kelvin


1 Answers

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

If you previously installed the Google Maps SDK for iOS from a zip file containing a static framework:

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

If you previously installed the Google Maps SDK for iOS from the Google-Maps-iOS-SDK pod:

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

If you previously installed the Google Maps SDK for iOS from the GoogleMaps pod:

  • Check your Podfile for any version limiter, and ensure you remove or update the version to ensure you get the version you need. See the release notes for a list of version numbers.
  • Run pod update.
  • Make any necessary changes as a result of the upgrade. See the release notes for a list of the changes in each release.
  • Clean and rebuild your project by selecting Product > Clean and then Product > Build.

Note: Versions 1.9.2 and earlier of the Google 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 Google Maps SDK for iOS is available for installation only via CocoaPods.

like image 196
Android Enthusiast Avatar answered Nov 15 '22 06:11

Android Enthusiast