mauron85 / cordova-plugin-background-geolocation-example

51 stars 54 forks source link

Building in Ionic AppFlow gives error #31

Open scottieslg opened 4 years ago

scottieslg commented 4 years ago

I have an Ionic 4 Cordova app and I'm trying to build in AppFlow, but it fails with the error:

/Users/ionic/builds/project-0/platforms/ios/MyApp/Plugins/cordova-plugin-background-geolocation/CDVBackgroundGeoLocation.m:8:9: fatal error: 'Cordova/CDVJSON.h' file not found

Any ideas why it wouldn't be able to find this file?

texarr commented 4 years ago

Anyone found some solutions for this issue?

wnabil commented 4 years ago

Changing it manually to Cordova/CDVPlugin.h works for me, seems like a deprecated import is used Edit: you can comment out the import as well and it should work too

boblepepeur commented 3 years ago

works for me too, need to add that in a PR

andersonrosilva commented 3 years ago

Changing it manually to Cordova/CDVPlugin.h works for me, seems like a deprecated import is used

Works for me!