Failed to install 'cordova-plugin-googlemaps': undefined CordovaError: Promise rejected with non-error ionic3?

Hi sir,
I have got below error after enter below command:
Ionic cordova add ios

ionic cordova platform  add  ios

The ERROR occurs:

> cordova platform add ios --save
Using cordova-fetch for cordova-ios@~4.5.4
Adding ios project...
iOS project created with cordova-ios@4.5.5
Installing "cordova-plugin-actionsheet" for ios
Installing "cordova-plugin-advanced-http" for ios
Plugin dependency "cordova-plugin-file@6.0.1" already fetched, using that version.
Installing "cordova-plugin-file" for ios
Installing "cordova-plugin-camera" for ios
Installing "cordova-plugin-datepicker" for ios
Installing "cordova-plugin-document-viewer" for ios
Plugin "cordova-plugin-file" already installed on ios. Making it top-level.
Installing "cordova-plugin-file-transfer" for ios
Plugin dependency "cordova-plugin-file@6.0.1" already fetched, using that version.
Dependent plugin "cordova-plugin-file" already installed on ios.
Installing "cordova-plugin-filepath" for ios
Installing "cordova-plugin-firebase" for ios
Installing "cordova-plugin-geolocation" for ios
Installing "cordova-plugin-googlemaps" for ios
Failed to install 'cordova-plugin-googlemaps': undefined
CordovaError: Promise rejected with non-error: 
    at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
[ERROR] An error occurred while running subp

I have stuck this issue last 2 day plese tell k ehow to fix this?

1 Like

how did you solve it ?

No sir…not resolve still error after add ios platform.do u have any idea sir how to fix

No one will reply! :frowning:

hi.

fix it by doing ‘pod update’ in /platforms/ios check to have permissions