cordova-plugin-googlemaps icon indicating copy to clipboard operation
cordova-plugin-googlemaps copied to clipboard

ios plugin downloading forever

Open dcpenteado opened this issue 10 years ago • 7 comments

Hi!

When I try to install this plugin for iOS the download never ends.

Command: cordova plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="real_key_android" --variable API_KEY_FOR_IOS="real_key_ios"

Response: Installing "plugin.google.maps" for ios Fetching plugin "https://bitbucket.org/nightstomp/cordova-plugin-googlemaps-sdk.git" via git clone

but never ends...

Can someone help me?

Tks!

dcpenteado avatar Mar 26 '16 01:03 dcpenteado

Did you install git command? If no, install it, and try again.

wf9a5m75 avatar Mar 26 '16 01:03 wf9a5m75

a problem that happens sometimes. we can't do anything against that

hirbod avatar Mar 30 '16 15:03 hirbod

Was a solution ever found for this? My iOS builds take a really long time because this plugin's dependency (cordova-plugin-googlemaps-sdk) takes several minutes to complete.

JeffreyJamesAttenti avatar Mar 28 '17 16:03 JeffreyJamesAttenti

Download zip file from github page. https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk

Then try to install the sdk plugin from local path

ghost avatar Mar 28 '17 22:03 ghost

So then there's no solution then? It's the only plugin that hangs for a long time and I don't want to update out of band with how plugins are installed for my build process. Thanks for replying anyways.

JeffreyJamesAttenti avatar Mar 29 '17 15:03 JeffreyJamesAttenti

Or reinstall the latest git command. This works sometimes.

wf9a5m75 avatar Mar 29 '17 18:03 wf9a5m75

@JeffreyJamesAttenti , I tried @masashiGMS 's method, didn't work. Then I tried @wf9a5m75 's method, installed the recent version of git. It worked. The system I'm using is Mac OS Sierra. Used to be default git installed by Xcode packages (this one didn't work). Then installed the git v2.15.1 from Git-SCM.com (note, the 2.15.0 version had a bit of issue opening in Mac OS) After installing git 2.15.1, you probably need to run export PATH="/usr/local/bin:/usr/bin/git:/usr/bin:/usr/local/sbin:$PATH" to replace the xcode git in shell path. Hope this helps

r-h36 avatar Jan 20 '18 00:01 r-h36