Closed jjvillavicencio closed 5 years ago
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'?>
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.
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
)If you use
@ionic-native/google-maps
, please tell the package.json (only@ionic-native/core
and@ionic-native/google-maps
are fine mostly)Current behavior:
Screen capture or video record: