question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fatal error: 'GoogleAnalytics/GAI.h' file not found #import <GoogleAnalytics/GAI.h>

See original GitHub issue

I am building an ionic 4 application and using "cordova-plugin-google-analytics": "^1.9.0" plugin and when I try to build iOS app it throws 'GoogleAnalytics/GAI.h' file not found error. I tried downgrade plugin to version 1.8.6 but not working.

I get this issue when trying to build the app in build pipeline in azure devops. should I need to change to a specific version?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
gaurav112commented, Jul 11, 2020

Have this same issue, somehow the GoogleAnalytics dependency isn’t getting installed.

Workaround: edit config.xml and add <platform name="ios"> <pod name="GoogleAnalytics" version="3.17.0" /> </platform> hope this helps

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google/Analytics.h file not found when adding to ...
Open yourproject.xcworkspace instead of yourproject.xcodeproj; Use #import <GoogleAnalytics/GAI.h> in the bridging header file.
Read more >
Google/Analytics.h file not found" after updating pod to ...
h file no longer exist, you must import the correct file, I leave you some examples. If it does not help you please...
Read more >
Error during archiving : 'GoogleAnalytics/GAI.h' file not found
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":...
Read more >
Google/Analytics.h file not found when adding to AppDelegate
iOS : Google/Analytics. h file not found when adding to AppDelegate [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS ...
Read more >
Need Help: cannot build chromium on mac, got fatal error
Need Help: cannot build chromium on mac, got fatal error: "fatal error: 'ScreenCaptureKit/ScreenCaptureKit.h' file not found". 248 views.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found