-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ARAnalytics with GoogleAnalytics #218
Comments
I saw this has been raised before: #145 and @orta recommends using Google's static frameworks. So I downloaded it, integrated it manually (eeew), left the Podfile unchanged. But then running So I did this: But now ARAnalytics isn't installed at all! How does one use ARAnalytics with Google Analytics?? |
So until Google supports Dynamic Frameworks, you have to do the integration manually; I had to do this for Intercom in one of my apps.
|
Is there a place we can see if/when Google updates to Dynamic Frameworks? |
@orta adding GoogleAnalyticsProvider manually inside the app leading to lots of compilation errors inside the ARAnalyticalProvider.h file inside the pod. Here is what I did - Here is the two lines inside my podfile. pod 'Google/Analytics' Update :- Quite weird thought but I fixed it by adding |
Cool, might be worth sending a PR adding the Foundation import? |
@kidsid49 Did you do anything else? (or can you go into more detail on step 3?) AR_GOOGLEANALYTICS_EXISTS doesn't hold true when I try your approach: Thanks |
whoops. nevermind. Didn't read Orta's step 3 clearly enough |
@orta are there any updates on this? As far as I understand, Google is offering Google Analytics as a dynamic framework, but I am not sure how to fix this.. I have currently copied the provider in my project and set it up manually, but this is not a very clean solution.. |
Nothing from my side, I don't use Google Analytics etc, you're welcome to fix it upstream 👍 |
@orta I really tried to fix this and I have a strange issue right now. In an example project I created an podspec and just copied the content of ARAnalytics.podspec to it. (I changed 'GoogleAnalytics' to 'Google/Analytics' since this is the dynamic framework from Google). |
any fixes about it? |
I've added this to my podfile (Cocoapods 0.39.0):
But I get this error when running
pod install
:The text was updated successfully, but these errors were encountered: