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 mis
GoogleAnalytics-iOS-SDK has been deprecated in favor of GoogleAnalytics
so just replace the line in your pod file to
pod 'GoogleAnalytics'
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
.
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)
Just for complete other responses. I'm using the Google Analytics SDK v3.09 which I integrated without CocoaPod within Xcode 6. In order to remove the warning, I simply added the libAdIdAccess.a static library to my project by a drag and drop.
AdSupport.framework was already included in my project.
Note: I don't know why but sometimes, Xcode is mistaken for path adding an new library by this way what is resulting into a link error. In this case just modify the path in the Library Search Path option from the Build Settings : replace $(PROJECT_DIR)/YourDirectory/GoogleAnalyticsLibrary-3.09
by "$(SRCROOT)/YourDirectory/GoogleAnalyticsLibrary-3.09"