How to get latest GoogleMaps SDK using pods

那年仲夏 提交于 2019-12-04 08:28:39

Run pod update GoogleMaps. Cocoapods won't update the version of a pod you've already downloaded unless you explicitly run pod update or update the podspec to require a newer version. See https://guides.cocoapods.org/using/pod-install-vs-update.html for more details.

I checked the latest podspec

I just need to set the version to the latest

e.g

pod 'GoogleMaps', '~> 2.5.0'

In my project's podfile, I don't specify the version. The pod line just specifies: pod 'GoogleMaps'

So, if you don't include the version in the podfile, then the following command in a Terminal window will update to the latest version: pod 'GoogleMaps'

Please ensure the you are in the correct folder containing your podfile before entering this command.

It may take a while for Pod to process when you see this message: Updating local specs repositories.

Be patient - it took about 20 minutes.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!