Linker errors when trying to install new Google Analytics 3.0 Beta

前端 未结 6 1201
说谎
说谎 2020-12-07 22:08

I believe just today Google released a new update to their iOS Analytics frame work (version 3.0). When I follow the instructions and try to run the code, I get:

6条回答
  •  余生分开走
    2020-12-07 22:44

    I had libz.dylib and AdSupport.framework as per instruction from Google, it worked fine.

    Then I had to add -all_load in other linker flags for some other library dependency, then google analytics started failing build with linker error.

    I had to add libsqlite3.0.dylib framework to get it to work.

    So there is something to do with -all_load linker flag

提交回复
热议问题