Google Analytics Library IOS

前端 未结 11 1742
后悔当初
后悔当初 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:22

    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.

提交回复
热议问题