I am trying to build a ionic app for iOS with azure devops build pipeline. I am using latest version of plugin "cordova-plugin-google-analytics": "^1.9.0"
I also tried to downgrade the plugin to version 1.8.6
but not working.
cordova-plugin-google-analytics/UniversalAnalyticsPlugin.h:6:9: fatal error: 'GoogleAnalytics/GAI.h' file not found
Open issue on github for this still no solution yet
can anyone help with this? do I need to change a specific version?
This solved my problem
ionic cordova plugin rm cordova-plugin-google-analytics
npm uninstall @ionic-native/google-analytics
ionic cordova plugin add [email protected]
npm install @ionic-native/google-analytics
ionic cordova platform rm ios
ionic cordova platform add ios
add this line "cordova-plugin-google-analytics": "1.8.6"
in package.json and run it. it will fix the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With