Google Analytics Library IOS

前端 未结 11 1754
后悔当初
后悔当初 2021-02-12 17:44

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:27

    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.

提交回复
热议问题