How to fix error for installing GoogleMaps 2.1.1 Unrecognized archive format iOS Objective C?

心不动则不痛 提交于 2019-11-28 11:44:37

问题


I am rookie in iOS and i am trying to install GoolgeMaps by pod. But show me error like this:

pod install
Analyzing dependencies
Installing GoogleMaps (2.1.1)

[!] Error installing GoogleMaps
[!] /usr/bin/tar xfz /var/folders/mf/60_klly5641fb71xqlp7xjc40000gn/T/d20170121-42827-ord5gk/file.tgz -C /var/folders/mf/60_klly5641fb71xqlp7xjc40000gn/T/d20170121-42827-ord5gk

tar: Unrecognized archive format
tar: Error exit delayed from previous errors.   

and this is my podfile:

target "ProjectName" do
    platform :ios, '8.0'

pod 'GoogleMaps'

end

And i am using Objective C and iOS 8. Please help me how to fix this.


回答1:


Download it manually from google developer dashboard or using that link :Google map SDK IOS




回答2:


Perhaps in your country you need to use VPN to connect to Google Developer.



来源:https://stackoverflow.com/questions/41780091/how-to-fix-error-for-installing-googlemaps-2-1-1-unrecognized-archive-format-ios

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