Just recently, I started getting new console warnings from the Google Analytics static library for iOS. I only following get the following logs on an actual device, not in the simulator.
CoreData: warning: Unable to load class named 'GAIProperty' for entity 'GAIProperty'. Class not found, using default NSManagedObject instead.
CoreData: warning: Unable to load class named 'GAIHit' for entity 'GAIHit'. Class not found, using default NSManagedObject instead.
idfa class missing, won't collect idfa
Any ideas what those could mean, why they happen and how to possible resolve the issues?
Stay organized with collections Save and categorize content based on your preferences. Use our iOS sample app to see how Analytics works, or add Analytics to your existing app.
Create custom alertsSign in to Google Analytics. Navigate to your view. Open Reports. Click CUSTOMIZATION > Custom Alerts.
As more information has surfaced, it appears that Intelligent Tracking Prevention (ITP) in Safari 14 is not completely blocking Google Analytics. Instead, it's blocking third-party tracking cookies and cross-site scripting requests, which limits portions of Google Analytics.
October 5, 2021. Apple's iOS 15 is the latest operating system update that includes more privacy features, which will impact Google Analytics and marketers in some notable ways. These changes are part of Apple's ongoing commitment to data privacy.
The documentation for the latest analytics SDK isn't particularly clear.
If you add the -ObjC flag in "Other linker flags" within your XCode project, it'll fix this issue.
According to this link, it's a problem with the SDK but this does not affect the normal operation of the library. The warnings will be fixed in future updates.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With