Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google analytics 3.08 IOS idfa class missing, won't collect idfa

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.

Screenshot for console message

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?

enter image description here

enter image description here

like image 479
nik Avatar asked Jul 25 '14 11:07

nik


2 Answers

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'

like image 166
Kostiantyn Koval Avatar answered Oct 22 '22 13:10

Kostiantyn Koval


I am using 3.0.9. I was able to remove the warning by linking in the libAdIdAccess.a library provided with the GoogleAnalytics SDK and the AdSupport.framework.

like image 26
GrindItOut Avatar answered Oct 22 '22 14:10

GrindItOut