danwilson / google-analytics-plugin

Cordova (PhoneGap) Plugin to connect to the native Google's Universal Analytics SDK 3.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error during archiving

SebasWebDev opened this issue · comments

Today I updated the version of the Cordova plugin (1.9.0) and I got the following error during archiving:

In file included from /path/to/my/app/platforms/ios/MyApp/Plugins/cordova-plugin-google-analytics/UniversalAnalyticsPlugin.m:4:
--
02-Apr-2020 14:28:38 | /path/to/my/app/platforms/ios/myApp/Plugins/cordova-plugin-google-analytics/UniversalAnalyticsPlugin.h:6:9: fatal error: 'GoogleAnalytics/GAI.h' file not found
02-Apr-2020 14:28:38 | #import <GoogleAnalytics/GAI.h>

The fix was easy: use the version 1.8.6. But I wanted to let you know. This issue happened multiple times.

I am also having the same issue.
"cordova-plugin-google-analytics": "1.8.6" for this as well

Tengo la versión 1.9.0 y tengo el mismo error:
cordova-plugin-google-analytics/UniversalAnalyticsPlugin.h:6:9: fatal error:
'GoogleAnalytics/GAI.h' file not found
#import <GoogleAnalytics/GAI.h>

Also experiencing the same issue

Anyone has an idea of what's happening with this plugin?

commented

I'm facing this same issue.
Build using last version dosen't work on IOS.
"GoogleAnalytics/GAI.h' file not found.

I am also facing the same issue. cordova-plugin-google-analytics/UniversalAnalyticsPlugin.h:6:9: fatal error: 'GoogleAnalytics/GAI.h' file not found #import <GoogleAnalytics/GAI.h> can anyone please help with this ASAP

adds GoogleAnalytics as a dependency on the Pods that work

@KAIOAVILA

adds GoogleAnalytics as a dependency on the Pods that work

what do you mean by this?

@KAIOAVILA

adds GoogleAnalytics as a dependency on the Pods that work

what do you mean by this?

I added GoogleAnalytics on the pods
config.xml
<platform name="ios"> <pod name="GoogleAnalytics" version="3.17.0" /> ....

I'm using the cordova-plugin-cocoapod-support plugin to add this dependency to pods

seems this has been an issue for quite awhile. is there a workaround or something that describes how to get beyond this?

seems this has been an issue for quite awhile. is there a workaround or something that describes how to get beyond this?

@billb037 Didn't you solve it with the solution I passed above?

seems this has been an issue for quite awhile. is there a workaround or something that describes how to get beyond this?

@billb037 Didn't you solve it with the solution I passed above?

No it didn't solve it for me

@billb037 use the version 1.8.6 for now. That's the version right before this issue was introduced.

I added GoogleAnalytics on the pods config.xml <platform name="ios"> <pod name="GoogleAnalytics" version="3.17.0" /> ....

I'm using the cordova-plugin-cocoapod-support plugin to add this dependency to pods

This will need to be documented, thanks @KAIOAVILA

PR #594 created