I'm submitting a ... (check one with "x")
If you choose 'problem or bug report', please select OS: (check one with "x")
cordova information: (run $> cordova plugin list)
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-googlemaps 2.4.6 "cordova-plugin-googlemaps"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 2.2.0 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)
"@ionic-native/core": "^4.15.0",
"@ionic-native/google-maps": "^4.14.0",
Current behavior:
Installing "cordova-plugin-googlemaps" for ios
--[cordova-plugin-googlemaps]------------------------
From version 2.4.5, the cordova-plugin-googlemaps uses CocoaPod.
No longer necessary com.googlemaps.ios plugin.
Automatic uninstalling com.googlemaps.ios plugin...
-----------------------------------------------------
Failed to install 'cordova-plugin-googlemaps': undefined
CordovaError: Promise rejected with non-error: 'Version should contain only numbers and dots'
at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15)
at process._tickCallback (internal/process/next_tick.js:68:7)
[ERROR] An error occurred while running subprocess cordova.
cordova platform add ios --save exited with exit code 1.
Screen capture or video record:

Can you see any characters in version definition that matches agains the rule?
<plugin id="cordova-plugin-googlemaps" version="2.4.6" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/v2.4.6/plugin.xml#L2
I guess your cocoapod is old.
I guess your cocoapod is old.
Hi thanks for response, I have the latest version
MacBook-Pro-de-Quilson:prueba qbejarano$ pod --version
1.6.0.beta.1
Can you see any characters in version definition that matches agains the rule?
<plugin id="cordova-plugin-googlemaps" version="2.4.6" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/v2.4.6/plugin.xml#L2
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-googlemaps" version="2.4.6" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-googlemaps</name>
If you can't solve by yourself, please share your project files on github.
ping
@wf9a5m75 i have the same issue
Installing "cordova-plugin-googlemaps" for ios
--[cordova-plugin-googlemaps]------------------------
From version 2.4.5, the cordova-plugin-googlemaps uses CocoaPod.
No longer necessary com.googlemaps.ios plugin.
Automatic uninstalling com.googlemaps.ios plugin...
-----------------------------------------------------
cocoa pod version 1.5.3
That's not error message.
i updated the cocoa pods and getting this error
The following build commands failed:
CompileC /Users/anspireagency/Library/Developer/Xcode/DerivedData/Doctory-cswdyztwiawywbgslbeprrywufql/Build/Intermediates.noindex/Doctory.build/Debug-iphonesimulator/Doctory.build/Objects-normal/x86_64/PluginCircle.o Doctory/Plugins/cordova-plugin-googlemaps/PluginCircle.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
(node:1928) UnhandledPromiseRejectionWarning: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/anspireagency/Desktop/ahmed f/Doctory/platforms/ios/cordova/build-debug.xcconfig,-workspace,Doctory.xcworkspace,-scheme,Doctory,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/anspireagency/Desktop/ahmed f/Doctory/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/anspireagency/Desktop/ahmed f/Doctory/platforms/ios/build/sharedpch
(node:1928) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1928) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
and this
fatal error: 'GoogleMaps/GoogleMaps.h' file not found
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ping
@wf9a5m75
Are you using Ionic 4 version?
If yes then please try below command
npm install --save @ionic-native/core@beta @ionic-native/google-maps@beta
Are you asking me, or do you giving me a hint?
Its a hint
Thank you, but I'm the author of this plugin. It means I develop this plugin and ionic-native/google-maps :)
Since there is no response for a while, I close this thread.
exactly same error here when: ionic cordova platform add ios
--[cordova-plugin-googlemaps]------------------------
From version 2.4.5, the cordova-plugin-googlemaps uses CocoaPod.
No longer necessary com.googlemaps.ios plugin.
Automatic uninstalling com.googlemaps.ios plugin...
-----------------------------------------------------
Failed to install 'cordova-plugin-googlemaps': undefined
CordovaError: Promise rejected with non-error: 'Version should contain only numbers and dots'
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-googlemaps" version="2.4.6" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-googlemaps</name>
MBP-de-Thierry:app-ionic trbr$ pod --version
1.6.0.beta.2
I was getting the exact same issue, whether it is helpful or not.
I removed the IOS platform, now previously I had to SUDO ionic cordova platform add ios
however, there was an error part way down about cocoapods not liking installing from admin.
So I tried it without SUDO, I didn't have permission, so I gave myself permission - $ sudo chown -R LOGIN /usr/local/lib/node_modules/cordova
Where LOGIN is replaced by the user you are logged in as.
Then run ionic cordova platform add ios
It doesn't seem to error anymore. This was for
plugin name="cordova-plugin-googlemaps" spec="^2.4.6"
just in case you was wondering.
Then, I changed terminal to platforms/ios
ran pod install
then opened the xcodeproj and I had no issues in the slightest with file paths, and files missing.
I hope this helps

to date the error continues
"framework" tag with type "podspec" is deprecated and will be removed. Please use the "podspec" tag.
Failed to install 'cordova-plugin-googlemaps':undefined
this error keeps coming back with no fix over a year this is some real nonsense.
I hit this error too on an ionic 4 project.
Most helpful comment
this error keeps coming back with no fix over a year this is some real nonsense.