How to get the latest GoogleMaps SDK using containers

  • I am trying to try the sdk sample. I installed it using

try googlemaps

  1. I installed GoogleMaps (1.10.5) using cocoapods

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

platform: ios, '8.1'

pod 'googlemaps'

checking GoogleMaps in both steps, then example (1) contains more headers such as GMSAutocompleteTableDataSource.h

enter image description here

Why are they different? One example seems to be the best version, but the one that the pods set is not the latest? Its not even in changelog

+5
source share
3 answers

Run pod update GoogleMaps . Cocoapods will not update the version of the module you downloaded unless you explicitly perform pod update or update podspec to require a newer version. See https://guides.cocoapods.org/using/pod-install-vs-update.html for more details.

+9
source

I checked the last podspec

I just need to install the version to the latest version

eg

pod 'GoogleMaps', '~> 2.5.0'

+3
source

In my podfile project, I am not specifying a version. The pod line simply indicates: pod 'GoogleMaps'

So, if you did not include the version in the podfile, the following command in the terminal window will be updated to the latest version: pod 'GoogleMaps'

Before entering this command, make sure that you are in the correct folder containing your file.

It may take some time to process the Pod when you see this message: Updating local specification repositories.

Be patient - it took about 20 minutes.

0
source

Source: https://habr.com/ru/post/1239980/


All Articles