2016-04-29 52 views
0

我正在嘗試獲取最新版本的GoogleMaps SDK。我用的CocoaPods,我試圖'pod update'GoogleMaps未更新至1.13

,我在podfile有莢'GoogleMaps', '~> 1.13',但我正在逐漸

無法滿足以下要求[!]:

  • GoogleMaps (~> 1.13)通過Podfile要求

我也試過只有p花邊pod GoogleMaps在我的podfile中,但我得到一箇舊版本。

使用谷歌地圖(1.10.3)

我也試過pod try GoogleMaps

,我使用rm -rf ~/.cocoapods,然後pod setup我能得到一箇舊版本

+1

http://stackoverflow.com/questions/36718468/how-to-update-google-maps-using-cocoa-pods可能存在重複。另外,請查看Google地圖IOS的官方Google文檔:http://stackoverflow.com/questions/36718468/how-to-update-google-maps-using-cocoa-pods –

+0

@ d.datul1990但爲什麼「pod嘗試GoogleMaps '也給我舊版本?和我的podfile已經有源'https://github.com/CocoaPods/Specs.git' 平臺:ios,'8.0' –

+1

試試這個http://stackoverflow.com/questions/11638711/pod-install-doesnt- update-an-existing-pod/http://stackoverflow.com/questions/11638711/pod-install-doesnt-update-an-existing-pod –

回答

0

更新的CocoaPods後gt使用pod update而不更改pod文件中的任何內容的最新版GoogleMaps。