Google Analytics Library IOS

前端 未结 11 1644
逝去的感伤
逝去的感伤 2021-02-12 17:39

When i add google analytics library, i have this warning

Undefined symbols for architecture armv7:
  \"_OBJC_CLASS_$_NSAttributeDescription\", referenced from:
          


        
11条回答
  •  借酒劲吻你
    2021-02-12 18:17

    Add libGoogleAnalytics.a to your target setting [Build phases]-[Link Binary with Libraries]. Also check if libsqlite3.0dylib (where GA stores tracking data) and CFNetwork.framework are added there as they are required for Google Analytics/iOS (version 2.0 beta 3).

    P.S. For Google Analytics/iOS version 3.0 CoreData framework is required instead.

提交回复
热议问题