-
Notifications
You must be signed in to change notification settings - Fork 918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cordova iOS 7.0.1 'cordova/CDVCommandDelegateImpl.h' file not found #2923
Comments
Same error, did you manage to solve it, I get error when installing the plugin: apple-xcode version check failed (/Users/toni/desarrollo/app/etsiam/cordova/platforms/ios/cordova/apple_xcode_version), continuing anyways. |
I could not resolved the issue. I get error when installing the plugin: apple-xcode version check failed (/Users/toni/desarrollo/app/etsiam/cordova/platforms/ios/cordova/apple_xcode_version), continuing anyways. Later i created a new project and install only one plugin. plugin installed successfully. but while doing build getting error. Cordova iOS 6.3.0 working as expected. |
The problem is that the current version of this plugin uses the I've fixed this problem with this commit on my fork of this plugin. If you want to use my fork: |
Thanks for your answers. |
Try my test project to rule out issues in your existing project:
If that works try to remove/re-add the platform in your own project: Here's the console output from my test project build: |
I have followed all the steps and it still does not build, could it be because of the emulator? I attach my log file: |
@tmwebs you need to use the Rosetta simulators. In XCode, you need to tick Then select a simulator suffixed by The fix provided by @dpa99c works perfectly, thanks a lot! I'd love to remove my fork of this project and use yours but I see I included a few bugfixes here and there (don't remember why or if they're needed though ...) |
Thank you so much for the dpa99c fork!!! It seems to fix the issue here. |
thanks @shajz, so I have been able to run it in the simulator, but I still have a problem, it opens the application, but the map is not drawn. my config.xml: |
@tmwebs I would double check that your API Keys are installed correctly (or authorized in Google Maps console). Just my previous experience with the map not showing. Hopefully that fixes your issue. |
First off. Huge thanks for the changes to this plugin. Solved a headache for me. Just want to mention one thing for those who run into a problem with Android Studio, when building an Android version of your app, you will need to add the following to the plugin file platforms/android/cordova-plugin-googlemaps/....custom.gradle just above "def PLAY_SERVICES_VERSION"
|
Thanks @taxman007, now the map works for me, but this has generated a problem in my project, when I am in a view and it opens another page, when I go backwards, either using a back button or the android backbutton, I go back to a blank view, everything has been deleted. I use framework7. No problem on iOS. Grabacion.de.pantalla.2024-02-08.a.las.11.05.52.mov |
looks like a problem with your page routing. I would check that. I like to use navigatebyUrl when navigating through pages. |
I use the Framework7 wrapper, and it works if I remove the cordova-plugin-googlemaps plugin and fails if I install it.
|
Hi, thank you very much for the fix. This fixes iOS, but produces build errors on Android, because you use the master-branch of cordova-plugin-googlemaps which contains not the latest fixes. The multiple_maps-branch contains the latest changes on android and produces no build errors (but you have to include a small AGP fix: multiple_maps...GitToTheHub:cordova-plugin-googlemaps:multiple_maps-agp-assert-fix) |
Thanks for the contribution, I have installed the multiple_mpas branch and I have modified the files you said, but I still have the same problem that I describe above with the Framework7 paths in Android, it does not do the navigation well, when I open a page, when I go backwards it remains blank. |
Hi @tmwebs, |
I have tested it and it doesn't show any error in the console, I don't understand it, it just happens when installing the plugin, I am not using it yet. Grabacion.de.pantalla.2024-06-10.a.las.11.13.47.mov |
Could you make a blank framework7 app with just googlemaps-plugin installed and test it? |
Yes, that's just what I did in the comment above, it only has the googlemaps plugin. |
Could you test my fork https://github.com/GitToTheHub/cordova-plugin-googlemaps/tree/multiple_maps-fix This is based on the multiple_maps-branch and is a merge of GitToTheHub#1 and GitToTheHub#3 |
Thank you. I have tried and it still executes the bug, it has to be an incompatibility of the plugin with framework7. |
You could debug the app wth Android Studio and see if something occurs in LogCat.
…________________________________
Von: TMWEBS CLOUD ***@***.***>
Gesendet: Monday, June 10, 2024 1:47:49 PM
An: mapsplugin/cordova-plugin-googlemaps ***@***.***>
Cc: Manuel Beck ***@***.***>; Mention ***@***.***>
Betreff: Re: [mapsplugin/cordova-plugin-googlemaps] Cordova iOS 7.0.1 'cordova/CDVCommandDelegateImpl.h' file not found (Issue #2923)
Thank you. I have tried and it still executes the bug, it has to be an incompatibility of the plugin with framework7.
—
Reply to this email directly, view it on GitHub<#2923 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADIWBXMFHNANU5EBYVWXANDZGWG6LAVCNFSM6AAAAABAK7FYZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYGEZDSOJVGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Yes, thanks, I do it that way, but I can't see it, I'm not an expert on this. |
If you want, you can make a blank Framework7 App share it Cordova ready. Then i can take a look.
…________________________________
Von: TMWEBS CLOUD ***@***.***>
Gesendet: Tuesday, June 11, 2024 7:12:17 AM
An: mapsplugin/cordova-plugin-googlemaps ***@***.***>
Cc: Manuel Beck ***@***.***>; Mention ***@***.***>
Betreff: Re: [mapsplugin/cordova-plugin-googlemaps] Cordova iOS 7.0.1 'cordova/CDVCommandDelegateImpl.h' file not found (Issue #2923)
Yes, thanks, I do it that way, but I can't see it, I'm not an expert on this.
—
Reply to this email directly, view it on GitHub<#2923 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADIWBXIKE7DZIHCRKJDYEX3ZG2BLDAVCNFSM6AAAAABAK7FYZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJZHAYDOMJVGY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thank you very much, I have created an empty Framework7 project for Android and iOS. git clone https://[email protected]/tmwebs-cloud/app-maps.git |
Hi thanks for your source, but it says |
from the root directory you must install the dependencies
and also from the root directory:
to install the plugin if you have to go to the cordova directory and do it from there
|
Ok I will try it
…________________________________
Von: TMWEBS CLOUD ***@***.***>
Gesendet: Tuesday, June 11, 2024 9:45:51 AM
An: mapsplugin/cordova-plugin-googlemaps ***@***.***>
Cc: Manuel Beck ***@***.***>; Mention ***@***.***>
Betreff: Re: [mapsplugin/cordova-plugin-googlemaps] Cordova iOS 7.0.1 'cordova/CDVCommandDelegateImpl.h' file not found (Issue #2923)
from the root directory you must install the dependencies
npm install
and also from the root directory:
npm run build-cordova-android
npm run build-cordova-ios
to install the plugin if you have to go to the cordova directory and do it from there
cd cordova
cordova plugin add ....
—
Reply to this email directly, view it on GitHub<#2923 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADIWBXKDMO4OF5LKOW2N2FTZG2TK5AVCNFSM6AAAAABAK7FYZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGAZDIMZQGA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi, i saw the same issue as you. I could reveal the blank page with the Chrome Developer Tools, by removing |
thank you very much @GitToTheHub, I have managed to solve it, I have removed that line and the map, the Marker and the application in general works fine, I have removed it from the pluginInit.js file in the path:
I thank you again because I was really stuck. |
Cool, I‘m glad I could help 🙂
…________________________________
Von: TMWEBS CLOUD ***@***.***>
Gesendet: Wednesday, June 12, 2024 1:05:50 PM
An: mapsplugin/cordova-plugin-googlemaps ***@***.***>
Cc: Manuel Beck ***@***.***>; Mention ***@***.***>
Betreff: Re: [mapsplugin/cordova-plugin-googlemaps] Cordova iOS 7.0.1 'cordova/CDVCommandDelegateImpl.h' file not found (Issue #2923)
thank you very much @GitToTheHub<https://github.com/GitToTheHub>, I have managed to solve it, I have removed that line and the map, the Marker and the application in general works fine, I have removed it from the pluginInit.js file in the path:
cordova-plugin-googlemaps/www/pluginInit.js
I thank you again because I was really stuck.
—
Reply to this email directly, view it on GitHub<#2923 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADIWBXJEIUISN3SXD3JPQI3ZHATQ5AVCNFSM6AAAAABAK7FYZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSG4ZTANJUGE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
use this:
can fix it. |
I'm submitting a ... (check one with "x")
OS: (check one with "x")
cordova information: (run
$> cordova plugin list
)cordova-plugin-googlemaps
Its working as expected Cordova iOS version 6.2.0
I have upgraded the
macOS 14 | Sonoma
xcode 15
Node|npm
Git
Cordova iOS 7.0.1 latest version
facing issue -- tried with sample application integrating only one maps plugin.
Getting Build issues "cordova/CDVCommandDelegateImpl.h file not found".
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:
Expected behavior:
Screen capture or video record:
Related code, data or error log (please format your code or data):
Support this plugin activity
I appreicate if you give me a beer 🍺 from here
macOS 14 Sonoma
The text was updated successfully, but these errors were encountered: