Google Analytics libAdIdAccess.a 不包含位码 [英] Google Analytics libAdIdAccess.a does not contain bitcode

查看:21
本文介绍了Google Analytics libAdIdAccess.a 不包含位码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xcode 7 beta 3 刚刚安装了一些附加组件"(现在版本 7.0 beta 3 (7A152u)),现在我收到了编译器错误:

Xcode 7 beta 3 just installed some "additional components" (now Version 7.0 beta 3 (7A152u)), and now I'm getting a compiler error:

ld: '/<abbreviated>/Vendor/Analytics/GoogleAnalytics/libAdIdAccess.a(TAGActualAdIdAccess.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

此 Google 代码 post 是唯一的提到我为 GA 和 bitcode 找到的.

This Google Code post is the only mention I've found for GA and bitcode.

如果我可以仅为这个库禁用它而不是完全禁用位码,那就太好了.这可能吗?

It would be nice if I could disable it for this library only rather than disable bitcode entirely. Is that possible?

答案为默认启用的位码提供了一种解决方法,这最终可能会被那个更笼统的问题骗了.

This answer provides a work around for bitcode being enabled by default, and this may ultimately be a dupe of that more generic question.

推荐答案

更新:

大家好消息!

Google Analytics 现在在 3.14 版本中支持 Bitcode.您可以从他们的下载源获取它,但是它尚未在 Cocoapods 上列出.

Google Analytics now supports Bitcode with their 3.14 release. You can grab it from their download sources, however its not listed on Cocoapods yet.

Google Analytics SDK 下载

更改日志

原文:

Google 需要将他们的分析 SDK 编译成一个位码库.但是,根据之前 Google 将其库更新到 64 位的经验,iirc 花费了半年多的时间.

Google needs to compile their analytics SDK into a bitcode library. However, from previous experience with Google updating their libraries to 64-bit it took over half a year iirc.

我的建议是,如果您不支持 watchOS,我们可以等待,必须

My advice is if you're not supporting watchOS we can just wait it out, got to

  1. 构建设置

  1. Build Settings

启用位码

设为否

如果您支持 watchOS,请暂时使用不同的分析工具.

If you are supporting watchOS, use a different analytics tool for now.

额外信息:

这里的谷歌论坛上有开发人员在谈论它:https://groups.google.com/forum/#!topic/ga-移动应用分析/d6ML4BKBBeY

There's developers talking about it on a google forum here: https://groups.google.com/forum/#!topic/ga-mobile-app-analytics/d6ML4BKBBeY

Facebook 和 Fabric.io(Crashlytics、TwitterKit)已经更新为使用 bitcode,因此从技术上讲,Google 效仿应该不会太难.我相信这种类型的阻碍是政治.损失最大的是我们的用户.

Facebook and Fabric.io (Crashlytics, TwitterKit) have already updated to use bitcode, so it technically shouldn't be too difficult for Google to follow suit. I believe this type of holdback to be politics. The ones who have the most to lose are our users.

这篇关于Google Analytics libAdIdAccess.a 不包含位码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆