I downloaded google analytics and i followed their instructions how to implement analytics in application. But whatever i tried i get this log in xcode: idfa class missing, won't collect idfa
.
So i google it and found that apple will reject apps that have this warning. I also discovered that google fixed this issue with 3.03c release, and that we don't have to import library that uses ads. I have also run their example and i get same log in their example.
So my question is, will Apple approve my application, how can I fix it?
pod 'GoogleIDFASupport'
That will let cocoapods get what you need. I havent had to do the force_load of it either.
Installing GoogleIDFASupport (3.14.0) Using GoogleTagManager (3.15.0)
I am using
3.0.9
. I was able to remove the warning by linking in thelibAdIdAccess.a
library provided with theGoogleAnalytics SDK
and theAdSupport.framework
.All you have to do is to add
libAdIdAccess.a
to your project. It is part ofGoogleAnalyticsServicesiOS_3.09
delivery.I am using 3.0.9. Per Google documentation you need to set tracker.allowIDFACollection to NO on each tracker.
This will remove the warning.
I'm using 3.0.3c and not using IDFA,.
Howerer, "idfa class missing" is still logged.
I solved the problem by trying to delete the line above.
I have the same issue. It seams that 3.08 lib is linked with iAd.Framework Here is what I did - I've rolled back to the version 3.03c. You can download it here "https://dl.google.com/googleanalyticsservices/GoogleAnalyticsServicesiOS_3.03c.zip
The best way is to use Cocopoads for managing libraries with
pod 'GoogleAnalytics-iOS-SDK', '3.0.3c'