Google Analytics Library IOS

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

    I followed all suggestions and I was still getting an error on XCODE 5.1.1.

    For me the error was in target > Build Setting > Architecture > Architectures.

    I replaced the value with ARCHS_STANDARD_32_BIT and the error was gone.

    Maybe the libGoogleAnalytics lib was not compiled for 64 BIT architecture.

    Hope this will help someone. Or get latest lib which is compiled for 64 Bit.

提交回复
热议问题