Open pixelscriptro opened 6 years ago
I am also getting same error. Any fix?
The plugin is incompatible with cordova 8.0.0
Until it is fixed you will have to downgrade to Cordova version 7.1.0.
@pixelscriptro I've downgraded my system to cordova 7.1.0
and it could get it building again. Please remove the plugin and add it again after downgrading.
Let me know if this helps.
1) Remove the plugin
cordova plugin remove cordova-plugin-geofence
2) Install manually cordova-plugin-add-swift-support
cordova plugin add cordova-plugin-add-swift-support --save
https://github.com/akofman/cordova-plugin-add-swift-support
3) Install geofence again
cordova plugin add cordova-plugin-geofence
4) Enjoy!
(The latest swift-support works fine with cordova 8)
Thanks @kitolog I will try it later today!
I tried to get it running today on macOs mojave/Xcode 10.1, and neither downgrading to 7.1.0 nor installing the cordova-plugin-add-swift-support
plugin helped. It seems to be a problem that the swift code of this repo is version 2.3.
Is this a recognised issue?
@robbash I have the same issue, have you found a solution?
Hi I am having the same issue. plugin is not working with cordova 8. Please fix
I`m getting this error:
(node:15952) UnhandledPromiseRejectionWarning: Error: Cannot find module '../cordova/platform_metadata'
I`ve also downgrade the cordova to 7.0.1, same error.
Cordova version: 8.0.0 (same with 7.0.1) Ionic version: 3.20.0 NodeJS version: 8.11.1 NPM version: 5.6.0 XCode version: 9.2.0