如何使用pod获取最新的GoogleMaps SDK [英] How to get latest GoogleMaps SDK using pods

查看:134
本文介绍了如何使用pod获取最新的GoogleMaps SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  1. 我正在尝试Google地方的sdk示例。我使用




pod尝试GoogleMaps





  1. 我使用cocoapods安装GoogleMaps(1.10.5)




来源'



他们为什么不同?样本中的一个似乎是一个更好的版本,但由豆荚给出的不是最新版本?它甚至不在更新日志

解决方案

运行 pod更新GoogleMaps 。除非明确运行 pod update 或更新podspec以要求更新版本,否则Cocoapods不会更新您已下载的pod版本。请参阅 https://guides.cocoapods.org/using/pod-install- vs-update.html 了解更多详情。


  1. I'm trying out the google places sdk sample. I installed it using

pod 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 the GoogleMaps in both steps, the one in the sample (1) contains more headers like GMSAutocompleteTableDataSource.h

Why are they different? The one in the sample seems to be a better version but the one given by pods is not the latest? Its not even in the changelog

解决方案

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.

这篇关于如何使用pod获取最新的GoogleMaps SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆