Google Analytics Library IOS

前端 未结 11 1641
逝去的感伤
逝去的感伤 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:13

    I followed this tutorial. It says to add

    #import "GAI.h"
    #import "GAIFields.h"
    

    into the NameofTheProject-Prefix.pch file.

    And additionally to CoreData.framework and SystemConfiguration.framework add libz.dylib It solved all issues.

提交回复
热议问题