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

nik picture nik · Jul 25, 2014 · Viewed 18.5k times · Source

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

Answer

Kostiantyn Koval picture Kostiantyn Koval · Jul 25, 2014

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'