How to fix the error when installing GoogleMaps 2.1.1 Unrecognized iOS archive format Target C?

I am new to iOS and I am trying to install GoolgeMaps on a pod. But show me this error:

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 use Objective-C and iOS 8. Please help me how to fix this.

0
source share
2 answers

Download it manually from the Google developer toolbar or using this link: Google map IOS SDK

0
source

You may need to use a VPN in your country to connect to Google Developer.

0
source

All Articles