AppFlow build crashes with @mauron85/cordova-plugin-background-geolocation plugin

If I try and add in the @mauron85/cordova-plugin-background-geolocation Cordova plugin, my build fails with the error message:

/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 how to fix this error?